Imported Upstream version 1.71.0
[platform/upstream/boost.git] / libs / gil / test / image / CMakeLists.txt
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
9   concepts)
10   set(_target test_core_image_${_name})
11
12   add_executable(${_target} "")
13   target_sources(${_target} PRIVATE ${_name}.cpp)
14   target_link_libraries(${_target}
15     PRIVATE
16       gil_compile_options
17       gil_include_directories
18       gil_dependencies)
19   target_compile_definitions(${_target} PRIVATE BOOST_GIL_USE_CONCEPT_CHECK)
20   add_test(test.core.image.${_name} ${_target})
21
22   unset(_name)
23   unset(_target)
24 endforeach()