1# 2# Copyright (c) 2017 Mateusz Loskot <mateusz at loskot dot net> 3# All rights reserved. 4# 5# Distributed under the Boost Software License, Version 1.0. 6# (See accompanying file LICENSE_1_0.txt or copy at 7# http://www.boost.org/LICENSE_1_0.txt) 8# 9message(STATUS "Boost.GIL: Configuring tests in test/extension/numeric") 10 11foreach(_name 12 channel_numeric_operations 13 convolve 14 convolve_2d 15 convolve_cols 16 convolve_rows 17 extend_boundary 18 kernel 19 kernel_fixed 20 matrix3x2 21 pixel_numeric_operations 22 pixel_numeric_operations_float 23 resample) 24 set(_test t_ext_numeric_${_name}) 25 set(_target test_ext_numeric_${_name}) 26 27 add_executable(${_target} "") 28 target_sources(${_target} PRIVATE ${_name}.cpp) 29 target_link_libraries(${_target} 30 PRIVATE 31 gil_compile_options 32 gil_include_directories 33 gil_dependencies) 34 add_test(NAME ${_test} COMMAND ${_target}) 35 36 unset(_name) 37 unset(_target) 38 unset(_test) 39endforeach() 40