Here is a Jamfile that I currently use to build a test.
exe file_test
: file_test.cpp ../src/file.hpp ../src//file
: <cxxflags>--std=c++11
: <linkflags>-ltag
;
Is there any way to switch to c++11 standard without being gcc specific? And is there any portable possibility to give bjam the link flags (or is this a portable way?)? I know that I can write conditional parameters but that would mean that I have to write the parameters for any compiler I would like to support. Thus I hope that bjam has a solution for this.
Additionally I would like to know if there is a meaning in not deleting the "bin" directory after calling "bjam clean".