2
0
mirror of https://github.com/boostorg/gil.git synced 2026-01-19 04:12:11 +00:00
Files
gil/example/Jamfile
René Ferdinand Rivera Morell 8fd5cc5b32 Add support for modular build structure. (#752)
* Make the library modular usable.

* Add missing modular build.jam. And fix gitignore that caused it to be originally deleted!

* Switch to library requirements instead of source. As source puts extra source in install targets.

* Add missing import-search for cconfig/predef checks.

* Add requires-b2 check to top-level build file.

* Bump B2 require to 5.2

* Update copyright dates.

* Move inter-lib dependencies to a project variable and into the build targets.

* Update build deps.
2024-08-20 15:03:19 +02:00

81 lines
2.0 KiB
Plaintext

# Boost.GIL (Generic Image Library) - examples
#
# Copyright (c) 2018-2022 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-search /boost/config/checks ;
import config : requires ;
import regex ;
using libjpeg : : : : true ; # work around bug on master
using libpng : : : : true ;
# The <experimental/filesystem> header providing std::experimental::filesystem
# is deprecated by Microsoft and will be REMOVED. It is superseded by the C++17
# <filesystem> header providing std::filesystem.
# You can define _SILENCE_EXPERIMENTAL_FILESYSTEM_DEPRECATION_WARNING
# to acknowledge that you have received this warning.
local msvc-cxxs-with-experimental-fs = 14 ;
project
:
requirements
<library>/boost/gil//boost_gil
[ requires
cxx14_constexpr
cxx14_return_type_deduction
]
<include>.
# TODO: Enable concepts check for all, not just test/core
#<define>BOOST_GIL_USE_CONCEPT_CHECK=1
<toolset>msvc,<cxxstd>$(msvc-cxxs-with-experimental-fs):<define>_SILENCE_EXPERIMENTAL_FILESYSTEM_DEPRECATION_WARNING=1
<toolset>msvc:<cxxflags>/bigobj
;
local sources =
adaptive_histogram_equalization.cpp
adaptive_threshold.cpp
affine.cpp
anisotropic_diffusion.cpp
convolution.cpp
convolve2d.cpp
dynamic_image.cpp
harris.cpp
hessian.cpp
histogram_equalization.cpp
histogram_matching.cpp
histogram.cpp
hough_transform_circle.cpp
hough_transform_line.cpp
interleaved_ptr.cpp
mandelbrot.cpp
morphology.cpp
packed_pixel.cpp
rasterizer_circle.cpp
rasterizer_ellipse.cpp
rasterizer_line.cpp
resize.cpp
sobel_scharr.cpp
threshold.cpp
tutorial_histogram.cpp
x_gradient.cpp
;
local targets ;
for local s in $(sources)
{
targets +=
[ exe [ regex.replace $(s) ".cpp" "" ] :
$(s)
/libjpeg//libjpeg
/libpng//libpng
]
;
}
alias examples : $(targets) ;