# Boost.GIL (Generic Image Library) - IO tests # # Copyright (c) 2012 Christian Henning # Copyright (c) 2017 Stefan Seefeld # Copyright (c) 2012-2020 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 ; import testing ; using libjpeg : : : : true ; # work around bug on master using zlib ; using libpng : : : : true ; using libtiff : : : : true ; lib libraw : : raw ; project : requirements . ; 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 simple_all_formats.cpp : # args : # input files : # requirements /boost/filesystem//boost_filesystem [ 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 : bmp jpeg png pnm raw targa tiff ; explicit full ;