Skip to content

Commit

Permalink
build: Add cxx14_constexpr requirement to example/Jamfile
Browse files Browse the repository at this point in the history
  • Loading branch information
mloskot committed Jul 21, 2022
1 parent f52cc35 commit 6dc55c6
Showing 1 changed file with 21 additions and 4 deletions.
25 changes: 21 additions & 4 deletions example/Jamfile
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
Expand Down

0 comments on commit 6dc55c6

Please sign in to comment.