Skip to content

Commit

Permalink
Merge pull request #200 from snitch-org/fix_snitch_main_hpp_CE
Browse files Browse the repository at this point in the history
Fix CE due to missing snitch_main.hpp
  • Loading branch information
tocic authored Dec 2, 2024
2 parents f40e2df + d11ca82 commit 2a59433
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
3 changes: 2 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
cmake_minimum_required(VERSION 3.14)

project(snitch LANGUAGES CXX VERSION 1.3.0)
project(snitch LANGUAGES CXX VERSION 1.3.1)

# Maximum lengths.
set(SNITCH_MAX_TEST_CASES 5000 CACHE STRING "Maximum number of test cases in a test application.")
Expand Down Expand Up @@ -83,6 +83,7 @@ set(SNITCH_INCLUDES
${PROJECT_SOURCE_DIR}/include/snitch/snitch_macros_test_case.hpp
${PROJECT_SOURCE_DIR}/include/snitch/snitch_macros_utility.hpp
${PROJECT_SOURCE_DIR}/include/snitch/snitch_macros_warnings.hpp
${PROJECT_SOURCE_DIR}/include/snitch/snitch_main.hpp
${PROJECT_SOURCE_DIR}/include/snitch/snitch_matcher.hpp
${PROJECT_SOURCE_DIR}/include/snitch/snitch_registry.hpp
${PROJECT_SOURCE_DIR}/include/snitch/snitch_reporter_catch2_xml.hpp
Expand Down
2 changes: 1 addition & 1 deletion meson.build
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
project('snitch', 'cpp',
default_options: ['cpp_std=c++20', 'default_library=static'],
version: '1.3.0'
version: '1.3.1'
)

cpp_arguments = []
Expand Down
3 changes: 1 addition & 2 deletions tests/install_tests/standalone.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@
# define SNITCH_IMPLEMENTATION
# include <snitch/snitch_all.hpp>
#else
# include <snitch/snitch_macros_check.hpp>
# include <snitch/snitch_macros_test_case.hpp>
# include <snitch/snitch.hpp>
#endif

TEST_CASE("compiles and runs") {
Expand Down

0 comments on commit 2a59433

Please sign in to comment.