Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix CE due to missing snitch_main.hpp #200

Merged
merged 2 commits into from
Dec 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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