This is how I do it. I created a separate batch script that configures
environment for VisualStudio.Net and starts ANT (the script allows local
setpath.bat, if local environment is different):
if not "%MSVCDir%" == "" goto build
call "%VS71COMNTOOLS%vsvars32.bat"
:build
call %~dp0ant.bat %*
shreedhar natarajan wrote:
hi guys,
Have anybody used cl/msvc compiler in their build. Visual Studio .Net 2003 internally
executes vsvars.bat that set a different env. variables. Only then it is possible to use
"cl" from command prompt. The task cc requires compiler to be run from the
command
hi guys,
Have anybody used cl/msvc compiler in their build. Visual Studio .Net 2003
internally executes vsvars.bat that set a different env. variables. Only then
it is possible to use "cl" from command prompt. The task cc requires compiler
to be run from the command prompt. Not sure what is the