Fix Linux compile failures, and run tests on Ubuntu.

This commit is contained in:
jzmaddock
2015-10-15 18:24:15 +01:00
parent 76ce33da74
commit 53f3edd652
4 changed files with 114 additions and 11 deletions

View File

@ -19,12 +19,11 @@ path-constant images_location : html ;
path-constant here : . ;
lib pcre2 ;
lib regex ;
lib re2 ;
exe has_pcre2 : config/pcre.cpp pcre2 : <include>third_party <dll-path>third_party <library-path>third_party release ;
explicit has_pcre2 ;
exe has_posix : config/posix.cpp : release <source>regex ;
exe has_posix : config/posix.cpp : release ;
explicit has_posix ;
exe has_re2 : config/re2.cpp : release <source>re2 <include>third_party <dll-path>third_party <library-path>third_party ;
explicit has_re2 ;
@ -33,7 +32,7 @@ run [ glob *.cpp ] /boost/regex//boost_regex /boost/system /boost/chrono /boost/
: : :
release
[ check-target-builds has_pcre2 : <define>TEST_PCRE2 <source>pcre2 ]
[ check-target-builds has_posix : <define>TEST_POSIX <source>regex ]
[ check-target-builds has_posix : <define>TEST_POSIX ]
[ check-target-builds has_re2 : <define>TEST_RE2 <source>re2 <include>third_party <dll-path>third_party <library-path>third_party ]
<include>third_party
<dll-path>third_party