Skip to content

Commit 2a59433

Browse files
authored
Merge pull request #200 from snitch-org/fix_snitch_main_hpp_CE
Fix CE due to missing snitch_main.hpp
2 parents f40e2df + d11ca82 commit 2a59433

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

CMakeLists.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
cmake_minimum_required(VERSION 3.14)
22

3-
project(snitch LANGUAGES CXX VERSION 1.3.0)
3+
project(snitch LANGUAGES CXX VERSION 1.3.1)
44

55
# Maximum lengths.
66
set(SNITCH_MAX_TEST_CASES 5000 CACHE STRING "Maximum number of test cases in a test application.")
@@ -83,6 +83,7 @@ set(SNITCH_INCLUDES
8383
${PROJECT_SOURCE_DIR}/include/snitch/snitch_macros_test_case.hpp
8484
${PROJECT_SOURCE_DIR}/include/snitch/snitch_macros_utility.hpp
8585
${PROJECT_SOURCE_DIR}/include/snitch/snitch_macros_warnings.hpp
86+
${PROJECT_SOURCE_DIR}/include/snitch/snitch_main.hpp
8687
${PROJECT_SOURCE_DIR}/include/snitch/snitch_matcher.hpp
8788
${PROJECT_SOURCE_DIR}/include/snitch/snitch_registry.hpp
8889
${PROJECT_SOURCE_DIR}/include/snitch/snitch_reporter_catch2_xml.hpp

meson.build

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
project('snitch', 'cpp',
22
default_options: ['cpp_std=c++20', 'default_library=static'],
3-
version: '1.3.0'
3+
version: '1.3.1'
44
)
55

66
cpp_arguments = []

tests/install_tests/standalone.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,7 @@
22
# define SNITCH_IMPLEMENTATION
33
# include <snitch/snitch_all.hpp>
44
#else
5-
# include <snitch/snitch_macros_check.hpp>
6-
# include <snitch/snitch_macros_test_case.hpp>
5+
# include <snitch/snitch.hpp>
76
#endif
87

98
TEST_CASE("compiles and runs") {

0 commit comments

Comments
 (0)