How to set Debug Info option in vc++6.0 for command line build?
-
We are building our system which has hundred's of workspaces for which debug info is not set manually so now for debugging release binaries we are building through batch file which has following script
Set ReBuild_Required=
if /I "%1"=="clean" GOTO CLEAN
if /I "%1"=="clean_only" GOTO CLEAN_ONLYSet Config=%1
if /I "%Config%"=="" Set Config=ReleaseGOTO BUILD
:CLEAN_ONLY
Set ReBuild_Required=/CLEAN
GOTO CLEAN_REMAINING:CLEAN
Set ReBuild_Required=/REBUILD
:CLEAN_REMAINING
Set Config=%2
if /I "%Config%"=="" Set Config=Releasedel /Q ..\..\Include\*.*
del /Q ..\..\..\Common\Include\*.*if /I %Config%==Release GOTO CLEAN_RELEASE
del /Q ..\..\Bin\Debug\*.*
del /Q ..\..\..\Common\Bin\Debug\*.*del /Q ..\..\Lib\*Dbg.Lib
del /Q ..\..\..\Common\Lib\*Dbg.LibGOTO BUILD
:CLEAN_RELEASE
del /Q ..\..\Bin\Release\*.*
del /Q ..\..\..\Common\Bin\Release\*.*ren ..\..\Lib\*Dbg.Lib *Dbg.Tlf
del /Q ..\..\Lib\*.Lib
ren ..\..\Lib\*.Tlf *.Libren ..\..\..\Common\Lib\*Dbg.Lib *Dbg.Tlf
del /Q ..\..\..\Common\Lib\*.Lib
ren ..\..\..\Common\Lib\*.Tlf *.Lib:BUILD
Set Proj_Dir=..\..\..\Common\Source\Database
Set Proj_Name=DBRecall
MSDEV /USEENV %Proj_Dir%\%Proj_Name%\%Proj_Name%.dsp /MAKE "%Proj_Name% - Win32 %Config%" %ReBuild_Required%
if %ERRORLEVEL% GEQ 1 GOTO endIn the above script what changes I need to do inorder to generate debug info??
-
We are building our system which has hundred's of workspaces for which debug info is not set manually so now for debugging release binaries we are building through batch file which has following script
Set ReBuild_Required=
if /I "%1"=="clean" GOTO CLEAN
if /I "%1"=="clean_only" GOTO CLEAN_ONLYSet Config=%1
if /I "%Config%"=="" Set Config=ReleaseGOTO BUILD
:CLEAN_ONLY
Set ReBuild_Required=/CLEAN
GOTO CLEAN_REMAINING:CLEAN
Set ReBuild_Required=/REBUILD
:CLEAN_REMAINING
Set Config=%2
if /I "%Config%"=="" Set Config=Releasedel /Q ..\..\Include\*.*
del /Q ..\..\..\Common\Include\*.*if /I %Config%==Release GOTO CLEAN_RELEASE
del /Q ..\..\Bin\Debug\*.*
del /Q ..\..\..\Common\Bin\Debug\*.*del /Q ..\..\Lib\*Dbg.Lib
del /Q ..\..\..\Common\Lib\*Dbg.LibGOTO BUILD
:CLEAN_RELEASE
del /Q ..\..\Bin\Release\*.*
del /Q ..\..\..\Common\Bin\Release\*.*ren ..\..\Lib\*Dbg.Lib *Dbg.Tlf
del /Q ..\..\Lib\*.Lib
ren ..\..\Lib\*.Tlf *.Libren ..\..\..\Common\Lib\*Dbg.Lib *Dbg.Tlf
del /Q ..\..\..\Common\Lib\*.Lib
ren ..\..\..\Common\Lib\*.Tlf *.Lib:BUILD
Set Proj_Dir=..\..\..\Common\Source\Database
Set Proj_Name=DBRecall
MSDEV /USEENV %Proj_Dir%\%Proj_Name%\%Proj_Name%.dsp /MAKE "%Proj_Name% - Win32 %Config%" %ReBuild_Required%
if %ERRORLEVEL% GEQ 1 GOTO endIn the above script what changes I need to do inorder to generate debug info??
Please post your replies