Imported Upstream version 1.72.0
[platform/upstream/boost.git] / libs / gil / test / extension / numeric / CMakeLists.txt
1 #
2 # Copyright (c) 2017 Mateusz Loskot <mateusz at loskot dot net>
3 # All rights reserved.
4 #
5 # Distributed under the Boost Software License, Version 1.0.
6 # (See accompanying file LICENSE_1_0.txt or copy at
7 # http://www.boost.org/LICENSE_1_0.txt)
8 #
9 message(STATUS "Boost.GIL: Configuring tests in test/extension/numeric")
10
11 foreach(_name
12   channel_numeric_operations
13   convolve_cols
14   convolve_rows
15   convolve
16   kernel
17   matrix3x2
18   numeric
19   pixel_numeric_operations
20   convolve_2d
21   extend_boundary)
22   set(_test t_ext_numeric_${_name})
23   set(_target test_ext_numeric_${_name})
24
25   add_executable(${_target} "")
26   target_sources(${_target} PRIVATE ${_name}.cpp)
27   target_link_libraries(${_target}
28     PRIVATE
29       gil_compile_options
30       gil_include_directories
31       gil_dependencies)
32   add_test(NAME ${_test} COMMAND ${_target})
33
34   unset(_name)
35   unset(_target)
36   unset(_test)
37 endforeach()