Imported Upstream version 1.71.0
[platform/upstream/boost.git] / libs / gil / numeric / test / 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 Numeric extension tests")
10
11 foreach(_name
12   numeric)
13
14   set(_target test_ext_${_name})
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(test.ext.${_name} ${_target})
23 endforeach()