2015-11-04 00:56:26 -05:00
|
|
|
local BOOST_DIR = "/usr/local" ;
|
2015-02-09 09:19:35 -05:00
|
|
|
|
|
|
|
#using clang : : ;
|
|
|
|
|
|
|
|
lib system : : <name>boost_system <search>$(BOOST_DIR)/lib ;
|
|
|
|
lib timer : chrono : <name>boost_timer <search>$(BOOST_DIR)/lib ;
|
|
|
|
lib chrono : system : <name>boost_chrono <search>$(BOOST_DIR)/lib ;
|
|
|
|
|
|
|
|
exe variant-test
|
|
|
|
:
|
|
|
|
test/bench_variant.cpp
|
|
|
|
.//system
|
|
|
|
.//timer
|
|
|
|
.//chrono
|
|
|
|
:
|
|
|
|
<include>$(BOOST_DIR)/include
|
|
|
|
<include>./
|
|
|
|
<cxxflags>-std=c++11
|
|
|
|
#<define>SINGLE_THREADED
|
|
|
|
<variant>release:<cxxflags>-march=native
|
|
|
|
;
|
|
|
|
|
|
|
|
|
|
|
|
exe binary-visitor-test
|
|
|
|
:
|
|
|
|
test/binary_visitor_test.cpp
|
|
|
|
.//system
|
|
|
|
.//timer
|
|
|
|
.//chrono
|
|
|
|
:
|
|
|
|
<include>$(BOOST_DIR)/include
|
|
|
|
<include>./
|
|
|
|
<cxxflags>-std=c++11
|
|
|
|
<variant>release:<cxxflags>-march=native
|
|
|
|
;
|
|
|
|
|
|
|
|
exe recursive-wrapper-test
|
|
|
|
:
|
|
|
|
test/recursive_wrapper_test.cpp
|
|
|
|
.//system
|
|
|
|
.//timer
|
|
|
|
.//chrono
|
|
|
|
:
|
|
|
|
<include>$(BOOST_DIR)/include
|
|
|
|
<include>./
|
|
|
|
<cxxflags>-std=c++11
|
|
|
|
<variant>release:<cxxflags>-march=native
|
|
|
|
;
|
|
|
|
|
|
|
|
exe unique-ptr-test
|
|
|
|
:
|
|
|
|
test/unique_ptr_test.cpp
|
|
|
|
.//system
|
|
|
|
.//timer
|
|
|
|
.//chrono
|
|
|
|
:
|
|
|
|
<include>$(BOOST_DIR)/include
|
|
|
|
<include>./
|
|
|
|
<cxxflags>-std=c++11
|
|
|
|
<variant>release:<cxxflags>-march=native
|
|
|
|
;
|
2015-04-13 09:37:43 -04:00
|
|
|
|
|
|
|
|
|
|
|
exe reference_wrapper_test
|
|
|
|
:
|
|
|
|
test/reference_wrapper_test.cpp
|
|
|
|
.//system
|
|
|
|
.//timer
|
|
|
|
.//chrono
|
|
|
|
:
|
|
|
|
<include>$(BOOST_DIR)/include
|
|
|
|
<include>./
|
|
|
|
<cxxflags>-std=c++11
|
|
|
|
<variant>release:<cxxflags>-march=native
|
|
|
|
;
|