diff options
author | Chris Dyer <cdyer@cs.cmu.edu> | 2012-05-13 22:23:34 -0700 |
---|---|---|
committer | Chris Dyer <cdyer@cs.cmu.edu> | 2012-05-13 22:23:34 -0700 |
commit | 824c96f038b0447ce83ae92cad112a5be49e3330 (patch) | |
tree | eb7bc21aa8f1e80f9c5f6608b7ba2eddf70bfcf4 /Jamroot | |
parent | 5853cf45e028a24387a5649642bcbfe2ed376293 (diff) | |
parent | a65a80c5d5b6fc4cbd32280f07cae9be71551b70 (diff) |
Merge branch 'master' of github.com:redpony/cdec
Diffstat (limited to 'Jamroot')
-rw-r--r-- | Jamroot | 15 |
1 files changed, 13 insertions, 2 deletions
@@ -1,10 +1,21 @@ +#cdec compilation with bjam +# +#--with-boost=/usr/include +#--with-google-hash=/usr/include so that $with-google-hash/google/dense_hash_map exists +# +#-a forces the build to run from scratch +#-jN parallelizes just like make +# +#Respects CXXFLAGS, CFLAGS, and LDFLAGS environment variables. + path-constant TOP : . ; include $(TOP)/jam-files/sanity.jam ; boost 104400 ; external-lib z ; -if [ test_header google/dense_hash_map ] { - requirements += <define>HAVE_SPARSEHASH ; +with-google-hash = [ option.get "with-google-hash" ] ; +if [ test_header google/dense_hash_map ] || $(with-google-hash) { + requirements += <define>HAVE_SPARSEHASH <include>$(with-google-hash) ; } if [ test_header boost/serialization/map.hpp ] && [ test_library boost_serialization ] { |