74 lines
1.4 KiB
Plaintext
74 lines
1.4 KiB
Plaintext
# Inofficial and incomplete build file using Boost build system.
|
|
# You should use make unless you know what you are doing.
|
|
|
|
local BOOST_DIR = "/usr/local" ;
|
|
|
|
#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>./
|
|
#<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>./
|
|
<variant>release:<cxxflags>-march=native
|
|
;
|
|
|
|
exe recursive-wrapper-test
|
|
:
|
|
test/recursive_wrapper_test.cpp
|
|
.//system
|
|
.//timer
|
|
.//chrono
|
|
:
|
|
<include>$(BOOST_DIR)/include
|
|
<include>./
|
|
<variant>release:<cxxflags>-march=native
|
|
;
|
|
|
|
exe unique-ptr-test
|
|
:
|
|
test/unique_ptr_test.cpp
|
|
.//system
|
|
.//timer
|
|
.//chrono
|
|
:
|
|
<include>$(BOOST_DIR)/include
|
|
<include>./
|
|
<variant>release:<cxxflags>-march=native
|
|
;
|
|
|
|
|
|
exe reference_wrapper_test
|
|
:
|
|
test/reference_wrapper_test.cpp
|
|
.//system
|
|
.//timer
|
|
.//chrono
|
|
:
|
|
<include>$(BOOST_DIR)/include
|
|
<include>./
|
|
<variant>release:<cxxflags>-march=native
|
|
;
|