# Boost.GIL (Generic Image Library) - IO tests # # Copyright (c) 2012 Christian Henning # Copyright (c) 2017 Stefan Seefeld # Copyright (c) 2012-2018 Mateusz Loskot # # 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 ac ; using libjpeg : : : : true ; # work around bug on master using zlib ; using libpng : : : : true ; using libtiff : : : : true ; lib raw : : raw ; project : requirements /boost/test//boost_unit_test_framework /boost/system//boost_system /boost/filesystem//boost_filesystem shared:BOOST_TEST_DYN_LINK=1 ; alias headers : [ generate_self_contained_headers extension/io ] ; explicit headers ; # The `simple` in names of targets, somewhat misleading, means two things: # - minimal set of tests # - set of tests that require third-party libraries which are de-facto ubiquitous alias simple : [ run all_formats_test.cpp : # args : # input files : # requirements BOOST_GIL_IO_TEST_ALLOW_READING_IMAGES BOOST_GIL_IO_TEST_ALLOW_WRITING_IMAGES [ ac.check-library /libjpeg//libjpeg : /libjpeg//libjpeg : no ] [ ac.check-library /zlib//zlib : /zlib//zlib : no ] [ ac.check-library /libpng//libpng : /libpng//libpng : no ] [ ac.check-library /libtiff//libtiff : /libtiff//libtiff : no ] ] ; alias full : [ run bmp_test.cpp bmp_old_test.cpp bmp_read_test.cpp bmp_write_test.cpp ] [ run jpeg_test.cpp jpeg_old_test.cpp jpeg_read_test.cpp jpeg_write_test.cpp : : : [ ac.check-library /libjpeg//libjpeg : /libjpeg//libjpeg : no ] ] #make.cpp [ run png_test.cpp png_old_test.cpp png_file_format_test.cpp png_read_test.cpp : : : BOOST_GIL_IO_TEST_ALLOW_READING_IMAGES [ ac.check-library /zlib//zlib : /zlib//zlib : no ] [ ac.check-library /libpng//libpng : /libpng//libpng : no ] ] [ run pnm_test.cpp pnm_old_test.cpp pnm_read_test.cpp pnm_write_test.cpp ] [ run raw_test.cpp : # args : # input files : # requirements BOOST_GIL_IO_TEST_ALLOW_READING_IMAGES raw ] [ run targa_test.cpp targa_old_test.cpp targa_read_test.cpp targa_write_test.cpp ] [ run tiff_test.cpp tiff_old_test.cpp tiff_file_format_test.cpp tiff_subimage_test.cpp tiff_tiled_float_test.cpp tiff_tiled_minisblack_test_1-10.cpp tiff_tiled_minisblack_test_11-20.cpp tiff_tiled_minisblack_test_21-31_32-64.cpp tiff_tiled_minisblack_write_test_1-10.cpp tiff_tiled_minisblack_write_test_11-20.cpp tiff_tiled_minisblack_write_test_21-31_32-64.cpp tiff_tiled_palette_test_1-8.cpp tiff_tiled_palette_test_8-16.cpp tiff_tiled_palette_write_test_1-8.cpp tiff_tiled_palette_write_test_8-16.cpp tiff_tiled_rgb_contig_test_1-10.cpp tiff_tiled_rgb_contig_test_11-20.cpp tiff_tiled_rgb_contig_test_21-31_32_64.cpp tiff_tiled_rgb_contig_write_test_1-10.cpp tiff_tiled_rgb_contig_write_test_11-20.cpp tiff_tiled_rgb_contig_write_test_21-31_32_64.cpp tiff_tiled_rgb_planar_test_1-10.cpp tiff_tiled_rgb_planar_test_11-20.cpp tiff_tiled_rgb_planar_test_21-31_32_64.cpp tiff_tiled_test.cpp tiff_write_test.cpp : : : [ ac.check-library /libtiff//libtiff : /libtiff//libtiff : no ] ] ; explicit full ;