2
0
mirror of https://github.com/boostorg/gil.git synced 2026-02-22 15:32:10 +00:00
Files
gil/test/algorithm/CMakeLists.txt
Mateusz Łoskot 92cddb3f71 [cmake] Bundle all Boost and IO libraries in gil_dependencies target
Simplify generating of IO tests targets, remove lots of duplicate cruft.
Tidy up CMake scripts.
2018-12-08 23:20:54 +01:00

25 lines
598 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_${_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()