I am using the following Jamfile ( in directory /home/morpheus/base/CDef ) :
lib CDef : [ glob *.cpp ] : static ;
install libCDef : CDef : LIB "/home/morpheus/base_install/lib" : release ;
install _libCDef_D : CDef : LIB "/home/morpheus/base_install/libdebug" : debug ;
I was wondering if the two install lines can be changed to one which has both the debug and release directives.
Also to use the libraries in a different Jamfile in a different directory ( /home/morpheus/FSLR ) I am using the following Jamfile to build the exe callFSLR :
lib CDef : : release CDef /home/morpheus/base_install/lib ; lib CDef : : debug CDef /home/morpheus/base_install/libdebug ;
exe callFSLR : call_FSLR.cpp CDef : : debug release ;
install install-bin : callFSLR : "/home/morpheus/base_install/bin" release ;
I believe using "use-project" to refer to CDef in the Jamfile /home/morpheus/base/CDef/Jamfile is probably adviseable ?