2 # Copyright (c) 2017 Mateusz Loskot <mateusz at loskot dot net>
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)
9 message(STATUS "Boost.GIL: Configuring tests in test/extension/toolbox")
16 color_convert_gray_alpha
20 color_convert_luminance
28 set(_test t_ext_toolbox_${_name})
29 set(_target test_ext_toolbox_${_name})
31 add_executable(${_target} "")
32 target_sources(${_target} PRIVATE ${_name})
33 target_link_libraries(${_target}
36 gil_include_directories
38 target_compile_definitions(${_target} PRIVATE BOOST_GIL_USE_CONCEPT_CHECK)
39 add_test(NAME ${_test} COMMAND ${_target})
46 # FIXME: https://github.com/boostorg/gil/issues/235
49 set(_test t_ext_toolbox_${_name})
50 set(_target test_ext_toolbox_${_name})
52 add_executable(${_target} "")
53 target_sources(${_target} PRIVATE ${_name})
54 target_link_libraries(${_target}
57 gil_include_directories
59 add_test(NAME ${_test} COMMAND ${_target})