File tree Expand file tree Collapse file tree 5 files changed +16
-12
lines changed
Expand file tree Collapse file tree 5 files changed +16
-12
lines changed Original file line number Diff line number Diff line change @@ -64,7 +64,9 @@ foreach(test_cpp ${test_cpp_files})
6464 add_dependencies (tests ${test} )
6565endforeach ()
6666
67- add_subdirectory (mix_release_debug )
67+ add_executable (test_mix_release_debug mix_release_debug/main.cpp mix_release_debug/lib.cpp )
68+ target_link_libraries (test_mix_release_debug Boost::openmethod Boost::unit_test_framework )
69+ add_test (NAME test_mix_release_debug COMMAND test_mix_release_debug )
6870
6971function (openmethod_compile_fail_test testname fail_regex )
7072 add_library ("compile-fail-${testname} " STATIC EXCLUDE_FROM_ALL "${testname} .cpp" )
Original file line number Diff line number Diff line change @@ -35,6 +35,9 @@ for local src in [ glob test_*.cpp ]
3535 run $(src) unit_test_framework ;
3636}
3737
38+ run mix_release_debug/main.cpp mix_release_debug/lib.cpp unit_test_framework ;
39+
40+
3841for local src in [ glob compile_fail_*.cpp ]
3942{
4043 compile-fail $(src) ;
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1+ // Copyright (c) 2018-2025 Jean-Louis Leroy
2+ // Distributed under the Boost Software License, Version 1.0.
3+ // See accompanying file LICENSE_1_0.txt
4+ // or copy at http://www.boost.org/LICENSE_1_0.txt)
5+
16#include < iostream>
27
38#ifdef BOOST_OPENMETHOD_ENABLE_RUNTIME_CHECKS
Original file line number Diff line number Diff line change 1+ // Copyright (c) 2018-2025 Jean-Louis Leroy
2+ // Distributed under the Boost Software License, Version 1.0.
3+ // See accompanying file LICENSE_1_0.txt
4+ // or copy at http://www.boost.org/LICENSE_1_0.txt)
5+
16#ifndef BOOST_OPENMETHOD_TEST_MIX_RELEASE_DEBUG_LIB_HPP
27#define BOOST_OPENMETHOD_TEST_MIX_RELEASE_DEBUG_LIB_HPP
38
You can’t perform that action at this time.
0 commit comments