mirror of
https://github.com/boostorg/gil.git
synced 2026-02-19 02:22:09 +00:00
Bump MSVC warning level to W4 Preparing for detailed warnings clean up based on: https://svn.boost.org/trac10/wiki/Guidelines/WarningsGuidelines Group compilation flags and defines in common top-level Jamfile - relies on Boost.Build feature of referring parent Jamfile-s.
26 lines
1.2 KiB
Plaintext
26 lines
1.2 KiB
Plaintext
# Boost.GIL (Generic Image Library)
|
|
#
|
|
# 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)
|
|
|
|
project boost-gil
|
|
:
|
|
requirements
|
|
<toolset>intel:<debug-symbols>off
|
|
<toolset>msvc:<asynch-exceptions>on
|
|
<toolset>msvc:<cxxflags>"/W4"
|
|
<toolset>msvc:<define>_SCL_SECURE_NO_DEPRECATE <define>_CRT_SECURE_NO_WARNINGS <define>_CRT_NONSTDC_NO_DEPRECATE
|
|
<toolset>gcc:<cxxflags>"-pedantic -Wstrict-aliasing -fstrict-aliasing -Wextra -Wsign-promo -Wunused-parameter -Wconversion -Wfloat-equal -Wshadow"
|
|
<toolset>darwin:<cxxflags>"-pedantic -Wstrict-aliasing -fstrict-aliasing -Wextra -Wsign-promo -Wunused-parameter -Wconversion -Wfloat-equal -Wshadow"
|
|
<toolset>clang:<cxxflags>"-pedantic -Wstrict-aliasing -fstrict-aliasing -Wextra -Wsign-promo -Wunused-parameter -Wsign-conversion -Wconversion -Wfloat-equal -Wshadow"
|
|
;
|
|
|
|
build-project example ;
|
|
build-project test ;
|
|
build-project numeric/test ;
|
|
build-project toolbox/test ;
|
|
build-project io/test ;
|