File tree Expand file tree Collapse file tree 1 file changed +27
-0
lines changed Expand file tree Collapse file tree 1 file changed +27
-0
lines changed Original file line number Diff line number Diff line change
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::program_options )
12
+
13
+ boost_test (TYPE run SOURCES options_description_test.cpp )
14
+ boost_test (TYPE run SOURCES parsers_test.cpp ARGUMENTS ${CMAKE_CURRENT_SOURCE_DIR} /config_test.cfg )
15
+ boost_test (TYPE run SOURCES variable_map_test.cpp )
16
+ boost_test (TYPE run SOURCES cmdline_test.cpp )
17
+ boost_test (TYPE run SOURCES positional_options_test.cpp )
18
+ boost_test (TYPE run SOURCES unicode_test.cpp )
19
+ boost_test (TYPE run SOURCES winmain.cpp )
20
+ boost_test (TYPE run SOURCES exception_test.cpp )
21
+ boost_test (TYPE run SOURCES split_test.cpp )
22
+ boost_test (TYPE run SOURCES unrecognized_test.cpp )
23
+ boost_test (TYPE run SOURCES required_test.cpp ARGUMENTS ${CMAKE_CURRENT_SOURCE_DIR} /required_test.cfg )
24
+ boost_test (TYPE run SOURCES exception_txt_test.cpp )
25
+ boost_test (TYPE run SOURCES optional_test.cpp )
26
+
27
+ boost_test (TYPE run SOURCES quick.cpp ARGUMENTS --path=initial LINK_LIBRARIES Boost::core )
You can’t perform that action at this time.
0 commit comments