Hi Trevor
I build both in the same NAnt script using a for loop like:
<foreach property
="configuration" item="String"
in="Debug,Release" delim=",">
<call target="build"/>
</foreach>
then in the build target :
<property name="commandLine" value="${solutionFile} /build ${configuration} /out ${logfile}"/>
As a sidenote I'll add that we are going to stop building the debug builds here (c++ projects are taking the biggest amount of build time, and most people tend to compile locally when willing to debug).
kind regards
Thibaut Barrère
2005/6/28, [EMAIL PROTECTED] <[EMAIL PROTECTED]>:
Hi,what does everyone do to build release and debug versions of your c++ projects. Is it preferred to have separate NAnt scripts for each, or should i just set different compiler options in one script, depending on which configuration is being built?ThanksTrev
------------------------------------------------------------------------
For more information about Barclays Capital, please
visit our web site at http://www.barcap.com.
Internet communications are not secure and therefore the Barclays
Group does not accept legal responsibility for the contents of this
message. Although the Barclays Group operates anti-virus programmes,
it does not accept responsibility for any damage whatsoever that is
caused by viruses being passed. Any views or opinions presented are
solely those of the author and do not necessarily represent those of the
Barclays Group. Replies to this email may be monitored by the Barclays
Group for operational or business reasons.
------------------------------------------------------------------------