2
0
mirror of https://github.com/boostorg/log.git synced 2026-01-27 06:52:15 +00:00
Files
log/example/doc/Jamfile.v2
2014-01-19 18:46:09 +04:00

53 lines
1.9 KiB
Plaintext

#
# Copyright Andrey Semashev 2007 - 2014.
# Distributed under 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 path ;
project
: requirements
<link>shared:<define>BOOST_ALL_DYN_LINK
<log-api>unix:<define>BOOST_LOG_USE_NATIVE_SYSLOG=1
<toolset>msvc:<define>_SCL_SECURE_NO_WARNINGS
<toolset>msvc:<define>_SCL_SECURE_NO_DEPRECATE
<toolset>msvc:<define>_CRT_SECURE_NO_WARNINGS
<toolset>msvc:<define>_CRT_SECURE_NO_DEPRECATE
<toolset>msvc:<cxxflags>/bigobj
<toolset>msvc:<cxxflags>/wd4503 # decorated name length exceeded, name was truncated
<toolset>intel-win:<define>_SCL_SECURE_NO_WARNINGS
<toolset>intel-win:<define>_SCL_SECURE_NO_DEPRECATE
<toolset>intel-win:<define>_CRT_SECURE_NO_WARNINGS
<toolset>intel-win:<define>_CRT_SECURE_NO_DEPRECATE
<toolset>darwin:<cxxflags>-ftemplate-depth-1024
<toolset>gcc:<cxxflags>-ftemplate-depth-1024
<toolset>gcc:<cxxflags>-fno-strict-aliasing # avoids strict aliasing violations in other Boost components
<library>/boost/log//boost_log
<library>/boost/log//boost_log_setup
<library>/boost/date_time//boost_date_time
<library>/boost/filesystem//boost_filesystem
<library>/boost/system//boost_system
<library>/boost/thread//boost_thread
<threading>multi
;
# Compiles each .cpp file in this directory into a separate executable
rule compile_all
{
#ECHO executing compile_all rule ;
local all_rules = ;
for local file in [ glob *.cpp ]
{
local exename = [ MATCH "([^.]*).cpp$" : [ path.basename $(file) ] ] ;
#ECHO "exename = $(exename)" ;
all_rules += [ exe $(exename) : $(file) ] ;
}
#ECHO $(all_rules) ;
return $(all_rules) ;
}
compile_all ;