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 libjpeg : : : : true ; # work around bug on master 15using zlib ; 16using libpng : : : : true ; 17using libtiff : : : : true ; 18 19lib libraw : : <name>raw ; 20 21project 22 : 23 requirements 24 <include>. 25 ; 26 27alias headers : [ generate_self_contained_headers extension/io ] ; 28explicit headers ; 29 30# The `simple` in names of targets, somewhat misleading, means two things: 31# - minimal set of tests 32# - set of tests that require third-party libraries which are de-facto ubiquitous 33alias simple 34 : 35 [ 36 run simple_all_formats.cpp 37 : # args 38 : # input files 39 : # requirements 40 <library>/boost/filesystem//boost_filesystem 41 [ ac.check-library /libjpeg//libjpeg : <library>/libjpeg//libjpeg : <build>no ] 42 [ ac.check-library /zlib//zlib : <library>/zlib//zlib : <build>no ] 43 [ ac.check-library /libpng//libpng : <library>/libpng//libpng : <build>no ] 44 [ ac.check-library /libtiff//libtiff : <library>/libtiff//libtiff : <build>no ] 45 ] 46 ; 47 48alias full : bmp jpeg png pnm raw targa tiff ; 49explicit full ; 50