Imported Upstream version 1.71.0
[platform/upstream/boost.git] / libs / gil / toolbox / test / CMakeLists.txt
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 #
9 message(STATUS "Boost.GIL: Configuring Toolbox extension tests")
10
11 add_executable(test_ext_toolbox "")
12 target_sources(test_ext_toolbox
13   PRIVATE
14     test.cpp
15     channel_type.cpp
16     channel_view.cpp
17     cmyka.cpp
18     get_num_bits.cpp
19     get_pixel_type.cpp
20     gray_alpha.cpp
21     gray_to_rgba.cpp
22     hsl_hsv_test.cpp
23     indexed_image_test.cpp
24     is_bit_aligned.cpp
25     is_homogeneous.cpp
26     is_similar.cpp
27     lab_test.cpp
28     pixel_bit_size.cpp
29     rgb_to_luminance.cpp
30     # TODO: Add subchroma_image.cpp after fixing run-time failure,
31     #       for details see https://github.com/boostorg/gil/pull/164
32     #subchroma_image.cpp
33     xyz_test.cpp)
34 target_link_libraries(test_ext_toolbox
35   PRIVATE
36     gil_compile_options
37     gil_include_directories
38     gil_dependencies)
39 add_test(test.ext.toolbox test_ext_toolbox)