-
Notifications
You must be signed in to change notification settings - Fork 165
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build: Add cxx14_constexpr requirement to example/Jamfile
- Loading branch information
Showing
1 changed file
with
21 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,37 @@ | ||
# Boost.GIL (Generic Image Library) - examples | ||
# | ||
# Copyright (c) 2018 Mateusz Loskot <[email protected]> | ||
# Copyright (c) 2018-2022 Mateusz Loskot <[email protected]> | ||
# | ||
# 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 ../../config/checks/config : requires ; | ||
import regex ; | ||
|
||
using libjpeg : : : : true ; # work around bug on master | ||
using libpng : : : : true ; | ||
|
||
project | ||
: # requirements | ||
; | ||
# 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 | ||
[ 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 | ||
|