Boost logo

Boost-Build :

From: DJB (usrlocalinfo_at_[hidden])
Date: 2005-04-29 00:35:34


Thanks to good advice from Vlad and Pedro, I got this far and started
using <tag>d.

I'm trying to build a dll, named test.dll (release) and testd.dll (debug).

But now I'm stuck trying to figure out how I can use $(WX_RELEASE_LIB)
for release builds and $(WX_DEBUG_LIB) for debug builds in the following
Jamfile snippet.

If possible, I'd don't want to build debug and release at the same time
because my pc is very slow.

8<---------------------
lib $(WX_DEBUG_LIB) : : ;
lib $(WX_RELEASE_LIB) : : ;

lib test
: [ glob *.cpp ] [ glob *.h ] [ glob *.rc ]
../myDialogs//myDialogs
$(WIN32BASE) $(WIN32GUI) $(WIN32EXTRAS)
$(WX_DEBUG_LIB)
# $(WX_RELEASE_LIB)
: <include>"D:/apps/wxWidgets-2.6.0/lib/vc_lib/mswd"
<variant>release:<include>"C:/src/wxWidgets-2.6.0/lib/vc_lib/msw"

<variant>debug:<include>"C:/src/wxWidgets-2.6.0/lib/vc_lib/mswd"
<variant>debug:<define>"__WXDEBUG__"
<variant>debug:<tag>d
;
8<---------------------

 


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