Skip to content

Commit 94f11c5

Browse files
committed
Add test/CMakeLists.txt
1 parent f6f3623 commit 94f11c5

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

test/CMakeLists.txt

+15
Original file line numberDiff line numberDiff line change
@@ -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

Comments
 (0)