]>
Commit | Line | Data |
---|---|---|
92f5a8d4 TL |
1 | # |
2 | # Copyright (c) 2018 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 | |
9 | for_each_pixel | |
f67539c2 TL |
10 | std_fill |
11 | std_uninitialized_fill) | |
92f5a8d4 TL |
12 | set(_test t_core_algorithm_${_name}) |
13 | set(_target test_core_algorithm_${_name}) | |
14 | ||
15 | add_executable(${_target} "") | |
16 | target_sources(${_target} PRIVATE ${_name}.cpp) | |
17 | target_link_libraries(${_target} | |
18 | PRIVATE | |
19 | gil_compile_options | |
20 | gil_include_directories | |
21 | gil_dependencies) | |
22 | add_test(NAME ${_test} COMMAND ${_target}) | |
23 | ||
24 | unset(_name) | |
25 | unset(_target) | |
26 | unset(_test) | |
27 | endforeach() |