• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Boost.GIL (Generic Image Library) - IO tests
2#
3# Copyright (c) 2012 Christian Henning
4# Copyright (c) 2017 Stefan Seefeld
5# Copyright (c) 2012-2020 Mateusz Loskot <mateusz@loskot.net>
6#
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)
10
11import ac ;
12import testing ;
13
14using zlib ;
15using libpng : : : : true ;
16
17# TODO: Download PNG test suite images and build with BOOST_GIL_IO_USE_PNG_FILEFORMAT_TEST_SUITE_IMAGES
18
19project
20   : requirements
21      <define>BOOST_GIL_IO_TEST_ALLOW_READING_IMAGES
22      <define>BOOST_GIL_IO_TEST_ALLOW_WRITING_IMAGES
23      <library>/boost/filesystem//boost_filesystem
24      [ ac.check-library /zlib//zlib : <library>/zlib//zlib : <build>no ]
25      [ ac.check-library /libpng//libpng : <library>/libpng//libpng : <build>no ]
26   ;
27
28run png_test.cpp ;
29run png_file_format_test.cpp ;
30run png_read_test.cpp ;
31
32run png_old_test.cpp ;
33