summaryrefslogtreecommitdiffstats
path: root/src/boost/libs/gil/example/Jamfile
blob: fc33ce319ca9069980025382787b29075c96447e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
# Boost.GIL (Generic Image Library) - examples
#
# Copyright (c) 2018 Mateusz Loskot <mateusz@loskot.net>
#
# Use, modification and distribution is subject to 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 regex ;
import testing ;

using libjpeg : : : : true ; # work around bug on master

project
    : # requirements
    ;

# TODO: Add missing examples

local sources =
    adaptive_threshold.cpp
    affine.cpp
    convolution.cpp
    convolve2d.cpp
    dynamic_image.cpp
    harris.cpp
    hessian.cpp
    histogram.cpp
    interleaved_ptr.cpp
    mandelbrot.cpp
    packed_pixel.cpp
    resize.cpp
    sobel_scharr.cpp
    threshold.cpp
    x_gradient.cpp
    ;

local targets ;

for local s in $(sources)
{
    targets +=
        [ compile $(s) :
            [ ac.check-library /libjpeg//libjpeg : <library>/libjpeg//libjpeg : <build>no ]
        ]
        ;
}

alias examples : $(targets) ;