# Boost.GIL (Generic Image Library) - Toolbox tests
#
# Copyright (c) 2012 Christian Henning
# Copyright (c) 2012-202 Mateusz Loskot <mateusz@loskot.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)

import testing ;

alias headers : [ generate_self_contained_headers extension/toolbox ] ;

compile channel_type.cpp ;
compile get_num_bits.cpp ;
compile get_pixel_type.cpp ;
compile is_bit_aligned.cpp ;
compile is_homogeneous.cpp ;
compile pixel_bit_size.cpp ;

run channel_view.cpp ;
run color_convert_cmyka.cpp ;
run color_convert_gray.cpp ;
run color_convert_gray_alpha.cpp ;
run color_convert_hsl.cpp ;
run color_convert_hsv.cpp ;
run color_convert_lab.cpp ;
run color_convert_luminance.cpp ;
run color_convert_xyz.cpp ;
run indexed_image.cpp ;

# TODO: Add subchroma_image.cpp after fixing run-time failure,
#      for details see https://github.com/boostorg/gil/pull/164
#run subchroma_image.cpp ;
