]>
Commit | Line | Data |
---|---|---|
92f5a8d4 TL |
1 | # |
2 | # Copyright (c) 2019 Mateusz Loskot <mateusz at loskot dot net> | |
3 | # | |
4 | # Distributed under the Boost Software License, Version 1.0. | |
5 | # (See accompanying file LICENSE_1_0.txt or copy at | |
6 | # http://www.boost.org/LICENSE_1_0.txt) | |
7 | # | |
f67539c2 TL |
8 | |
9 | foreach(_name | |
10 | test_utility_output_stream) | |
11 | set(_test t_utility_${_name}) | |
12 | set(_target test_utility_${_name}) | |
13 | ||
14 | add_executable(${_target} "") | |
15 | target_sources(${_target} PRIVATE ${_name}.cpp) | |
16 | target_link_libraries(${_target} | |
17 | PRIVATE | |
18 | gil_compile_options | |
19 | gil_include_directories | |
20 | gil_dependencies) | |
21 | target_compile_definitions(${_target} PRIVATE BOOST_GIL_USE_CONCEPT_CHECK) | |
22 | add_test(NAME ${_test} COMMAND ${_target}) | |
23 | ||
24 | unset(_name) | |
25 | unset(_target) | |
26 | unset(_test) | |
27 | endforeach() | |
28 | ||
92f5a8d4 TL |
29 | add_subdirectory(core) |
30 | ||
31 | add_subdirectory(legacy) | |
32 | ||
33 | add_subdirectory(extension) | |
34 | ||
35 | # TODO: Split headers tests into core and extensions, see Jamfile-s | |
f67539c2 | 36 | # if(BOOST_GIL_BUILD_HEADERS_TESTS) |
92f5a8d4 TL |
37 | # add_subdirectory(headers) |
38 | # endif() |