2
0
mirror of https://github.com/boostorg/gil.git synced 2026-02-23 15:52:10 +00:00
Files
gil/test/algorithm/CMakeLists.txt
Mateusz Łoskot 63c450c2a9 Modernize CMake configuration
Replace global compile options and definitions with interface targets.
Remove globing for headers.
Set project version based on GIL version.
Remove GIL_BUILD_TESTS option as redundant - there is no point in
using CMake for development of header-only library if no tests
are to be built.
2018-12-08 01:05:47 +01:00

21 lines
552 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(test_core_${name} "")
target_sources(test_core_${name} PRIVATE ${name}.cpp)
target_link_libraries(test_core_${name}
PRIVATE
gil_compile_options
gil_include_directories
Boost::boost)
add_test(test.core.${name} test_core_${name})
endforeach()