Imported Upstream version 1.72.0
[platform/upstream/boost.git] / libs / gil / example / Jamfile
1 # Boost.GIL (Generic Image Library) - examples
2 #
3 # Copyright (c) 2018 Mateusz Loskot <mateusz@loskot.net>
4 #
5 # Use, modification and distribution is subject to the Boost Software License,
6 # Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
7 # http://www.boost.org/LICENSE_1_0.txt)
8
9 import ac ;
10 import regex ;
11 import testing ;
12
13 using libjpeg : : : : true ; # work around bug on master
14
15 project
16     : # requirements
17     ;
18
19 # TODO: Add missing examples
20
21 local sources =
22     affine.cpp
23     dynamic_image.cpp
24     histogram.cpp
25     harris.cpp
26     sobel_scharr.cpp
27     ;
28
29 local targets ;
30
31 for local s in $(sources)
32 {
33     targets +=
34         [ compile $(s) :
35             [ ac.check-library /libjpeg//libjpeg : <library>/libjpeg//libjpeg : <build>no ]
36         ]
37         ;
38 }
39
40 alias examples : $(targets) ;