Subject: [Boost-build] problem in prescribing the build flags for a special file
Date: 2011-02-22 17:45:26
I am having troubles in fine controlling the compilation of
a file. I checked the FAQ but is still gives me problems...
base_dir (Jamroot is here)
inside Jamroot I start with
using gcc : : /usr/bin/g++-4.5 ;
using intel : : :
"-fPIC -ansi -funroll-loops -cxxlib-gcc -openmp -wd654 -wd10010" "-fPIC
-funroll-loops -cxxlib-gcc -openmp -wd654 -wd10010" ;
using sun : : : "
-w -DBOOST_UBLAS_UNSUPPORTED_COMPILER=0" " -w
-DBOOST_UBLAS_UNSUPPORTED_COMPILER=0" " -w
using clang : :
/home/riccardo/clang_svn/build/Release/bin/clang : " -fPIC -ansi
-funroll-loops -ffast-math -Wno-unknown-pragmas " " -fPIC -funroll-loops
-ffast-math " ;
which configures the settings that I nornally like to use
for my compilation
unfortunately inside "dir2" there is a "special_file"
which I need to compile with a very well defined set of options.
obj : special_file.cpp : "whatever1" "list of ops" ;
suggested in the FAQ the special flags are ADDED to the list of flags
already prescribed in the Jamroot. How can I SUBSTITUTE them? (namely i
would like to have exclusively "-O0 -g"
the real code can be found online
renamed as Jamroot)
while the problematic Jamfile is:
Thank you for any hint
Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk