2
0
mirror of https://github.com/boostorg/gil.git synced 2026-02-18 02:02:09 +00:00
Files
gil/test/algorithm/CMakeLists.txt
Mateusz Łoskot 9426683651 [cmake] Add CMakeLists.txt for test/algorithm
Do not link lightweight_test-based tests against Boost.Test libraries.
Tidy up.

[ci skip]
2018-10-19 23:50:30 +02:00

16 lines
508 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)
add_executable(gil_test_${name} "")
target_sources(gil_test_${name} PRIVATE ${_boost_gil_headers} ${name}.cpp)
target_link_libraries(gil_test_${name} PRIVATE Boost::boost)
add_test(gil.tests.core.${name} gil_test_${name})
endforeach()