mirror of
https://github.com/boostorg/gil.git
synced 2026-02-26 16:52:10 +00:00
Add test for pixel_reference_is_mutable metafunction. From the legacy tests - port value_core and reference_core fixtures, see https://lists.boost.org/boost-gil/2019/02/0138.php - port representative pixel types and verify with tests of some metafunctions. Clean up test names for CTest in the CMake configuration. Disable some GCC/clang warnings in tests to avoid CI build termination due to too long logs.
25 lines
618 B
CMake
25 lines
618 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_algorithm_${_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.algorithm.${_name} ${_target})
|
|
|
|
unset(_name)
|
|
unset(_target)
|
|
endforeach()
|