2
0
mirror of https://github.com/boostorg/gil.git synced 2026-02-19 02:22:09 +00:00
Files
gil/numeric/test/CMakeLists.txt
Mateusz Loskot 1e89c764b2 [cmake] Replicate GCC/clang compile flags from Jamfile
Add headers to target sources, so they are included in generate
makefiles, scanned and inspected as regular sources.

[ci skip]
2018-06-27 00:02:27 -04:00

26 lines
741 B
CMake

#
# Copyright (c) 2017 Mateusz Loskot <mateusz at loskot dot net>
# All rights reserved.
#
# 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)
#
message(STATUS "Configuring Boost.GIL Numeric tests")
file(GLOB _headers
${PROJECT_SOURCE_DIR}/include/boost/gil/extension/numeric/*.hpp)
list(APPEND _headers ${_boost_gil_headers})
add_executable(gil_test_ext_numeric test.cpp numeric.cpp)
target_sources(gil_test_ext_numeric
PRIVATE
${_headers}
test.cpp
numeric.cpp)
target_link_libraries(gil_test_ext_numeric
PRIVATE
Boost::disable_autolinking
Boost::unit_test_framework)
add_test(gil.tests.ext.numeric gil_test_ext_numeric)