]>
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 | # | |
8 | foreach(_name | |
92f5a8d4 | 9 | bit_aligned_pixel_reference |
20effc67 TL |
10 | color_convert_cmyk |
11 | concepts | |
92f5a8d4 TL |
12 | is_pixel |
13 | is_planar | |
14 | num_channels | |
15 | packed_pixel | |
16 | pixel_reference_is_mutable | |
17 | pixels_are_compatible | |
18 | test_fixture) | |
19 | set(_test t_core_pixel_${_name}) | |
20 | set(_target test_core_pixel_${_name}) | |
21 | ||
22 | add_executable(${_target} "") | |
23 | target_sources(${_target} PRIVATE ${_name}.cpp) | |
24 | target_link_libraries(${_target} | |
25 | PRIVATE | |
26 | gil_compile_options | |
27 | gil_include_directories | |
28 | gil_dependencies) | |
29 | target_compile_definitions(${_target} PRIVATE BOOST_GIL_USE_CONCEPT_CHECK) | |
30 | add_test(NAME ${_test} COMMAND ${_target}) | |
31 | ||
32 | unset(_name) | |
33 | unset(_target) | |
34 | unset(_test) | |
35 | endforeach() |