2
0
mirror of https://github.com/boostorg/gil.git synced 2026-02-26 04:42:16 +00:00
Files
gil/test/algorithm/CMakeLists.txt
Mateusz Łoskot e72e3862c2 Add tests for image_view metafunctions, image and pixel concepts (#236)
Rename test source files xxx_concepts.cpp to concepts.cpp
2019-02-18 21:52:30 +00:00

25 lines
608 B
CMake

#
# Copyright (c) 2018 Mateusz Loskot <mateusz at loskot dot net>
#
# Distributed under the Boost Software License, Version 1.0.
# (See accompanying file LICENSE_1_0.txt or copy at
# http://www.boost.org/LICENSE_1_0.txt)
#
foreach(_name
for_each_pixel
std_fill)
set(_target test_core_algorithm_${_name})
add_executable(${_target} "")
target_sources(${_target} PRIVATE ${_name}.cpp)
target_link_libraries(${_target}
PRIVATE
gil_compile_options
gil_include_directories
gil_dependencies)
add_test(test.core.${_name} ${_target})
unset(_name)
unset(_target)
endforeach()