2
0
mirror of https://github.com/boostorg/gil.git synced 2026-01-21 04:52:17 +00:00
Files
gil/example/Jamfile
Mateusz Łoskot 5f241af90d [ci] Ensure CI builds clone pre-determined super-project branch
Rename custom variant with gil_ prefix.
Do not define project ID from Jamfile-s as unnecessary.
The project ID-s and build features are global resources, easy to clash.

Add recently added test/ subdirectories to build.
2019-02-19 18:21:28 +01:00

39 lines
770 B
Plaintext

# 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 =
affine.cpp
dynamic_image.cpp
histogram.cpp
;
local targets ;
for local s in $(sources)
{
targets +=
[ compile $(s) :
[ ac.check-library /libjpeg//libjpeg : <library>/libjpeg//libjpeg : <build>no ]
]
;
}
alias examples : $(targets) ;