1 # Boost.GIL (Generic Image Library) - IO tests
3 # Copyright (c) 2012 Christian Henning
4 # Copyright (c) 2017 Stefan Seefeld
5 # Copyright (c) 2012-2018 Mateusz Loskot <mateusz@loskot.net>
7 # Distributed under the Boost Software License, Version 1.0.
8 # (See accompanying file LICENSE_1_0.txt or
9 # copy at http://www.boost.org/LICENSE_1_0.txt)
14 using libjpeg : : : : true ; # work around bug on master
16 using libpng : : : : true ;
17 using libtiff : : : : true ;
19 lib raw : : <name>raw ;
23 <include>$(BOOST_ROOT)
24 <library>/boost/test//boost_unit_test_framework
25 <library>/boost/system//boost_system
26 <library>/boost/filesystem//boost_filesystem
27 <link>shared:<define>BOOST_TEST_DYN_LINK=1
31 : [ run all_formats_test.cpp
35 <define>BOOST_GIL_IO_TEST_ALLOW_READING_IMAGES
36 <define>BOOST_GIL_IO_TEST_ALLOW_WRITING_IMAGES
37 [ ac.check-library /libjpeg//libjpeg : <library>/libjpeg//libjpeg : <build>no ]
38 [ ac.check-library /zlib//zlib : <library>/zlib//zlib : <build>no ]
39 [ ac.check-library /libpng//libpng : <library>/libpng//libpng : <build>no ]
40 [ ac.check-library /libtiff//libtiff : <library>/libtiff//libtiff : <build>no ]
45 [ run bmp_test.cpp bmp_old_test.cpp bmp_read_test.cpp bmp_write_test.cpp ]
46 [ run jpeg_test.cpp jpeg_old_test.cpp jpeg_read_test.cpp jpeg_write_test.cpp
49 : [ ac.check-library /libjpeg//libjpeg : <library>/libjpeg//libjpeg : <build>no ] ]
51 [ run png_test.cpp png_old_test.cpp png_file_format_test.cpp png_read_test.cpp
55 [ ac.check-library /zlib//zlib : <library>/zlib//zlib : <build>no ]
56 [ ac.check-library /libpng//libpng : <library>/libpng//libpng : <build>no ]
58 [ run pnm_test.cpp pnm_old_test.cpp pnm_read_test.cpp pnm_write_test.cpp ]
63 <define>BOOST_GIL_IO_TEST_ALLOW_READING_IMAGES
66 [ run targa_test.cpp targa_old_test.cpp targa_read_test.cpp targa_write_test.cpp ]
70 tiff_file_format_test.cpp
71 tiff_subimage_test.cpp
72 tiff_tiled_float_test.cpp
73 tiff_tiled_minisblack_test_1-10.cpp
74 tiff_tiled_minisblack_test_11-20.cpp
75 tiff_tiled_minisblack_test_21-31_32-64.cpp
76 tiff_tiled_minisblack_write_test_1-10.cpp
77 tiff_tiled_minisblack_write_test_11-20.cpp
78 tiff_tiled_minisblack_write_test_21-31_32-64.cpp
79 tiff_tiled_palette_test_1-8.cpp
80 tiff_tiled_palette_test_8-16.cpp
81 tiff_tiled_palette_write_test_1-8.cpp
82 tiff_tiled_palette_write_test_8-16.cpp
83 tiff_tiled_rgb_contig_test_1-10.cpp
84 tiff_tiled_rgb_contig_test_11-20.cpp
85 tiff_tiled_rgb_contig_test_21-31_32_64.cpp
86 tiff_tiled_rgb_contig_write_test_1-10.cpp
87 tiff_tiled_rgb_contig_write_test_11-20.cpp
88 tiff_tiled_rgb_contig_write_test_21-31_32_64.cpp
89 tiff_tiled_rgb_planar_test_1-10.cpp
90 tiff_tiled_rgb_planar_test_11-20.cpp
91 tiff_tiled_rgb_planar_test_21-31_32_64.cpp
96 : [ ac.check-library /libtiff//libtiff : <library>/libtiff//libtiff : <build>no ]