summaryrefslogtreecommitdiffstats
path: root/src/boost/libs/gil/example/Jamfile
diff options
context:
space:
mode:
Diffstat (limited to 'src/boost/libs/gil/example/Jamfile')
-rw-r--r--src/boost/libs/gil/example/Jamfile40
1 files changed, 40 insertions, 0 deletions
diff --git a/src/boost/libs/gil/example/Jamfile b/src/boost/libs/gil/example/Jamfile
new file mode 100644
index 00000000..b3bc332c
--- /dev/null
+++ b/src/boost/libs/gil/example/Jamfile
@@ -0,0 +1,40 @@
+# 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
+ harris.cpp
+ sobel_scharr.cpp
+ ;
+
+local targets ;
+
+for local s in $(sources)
+{
+ targets +=
+ [ compile $(s) :
+ [ ac.check-library /libjpeg//libjpeg : <library>/libjpeg//libjpeg : <build>no ]
+ ]
+ ;
+}
+
+alias examples : $(targets) ;