We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f6f3623 commit 94f11c5Copy full SHA for 94f11c5
test/CMakeLists.txt
@@ -0,0 +1,15 @@
1
+# Copyright 2018-2020 Peter Dimov
2
+# Distributed under the Boost Software License, Version 1.0.
3
+# See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt
4
+
5
+include(BoostTest OPTIONAL RESULT_VARIABLE HAVE_BOOST_TEST)
6
7
+if(NOT HAVE_BOOST_TEST)
8
+ return()
9
+endif()
10
11
+set(BOOST_TEST_LINK_LIBRARIES Boost::stacktrace_basic Boost::core)
12
13
+boost_test(TYPE run SOURCES test.cpp)
14
+boost_test(TYPE run SOURCES test_noop.cpp)
15
+boost_test(TYPE run SOURCES test_trivial.cpp)
0 commit comments