Re: Reg. cpp task

2005-12-28 Thread Alexey N. Solofnenko
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 %*

Re: Reg. cpp task

2005-12-28 Thread Steve Loughran
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

Reg. cpp task

2005-12-28 Thread shreedhar natarajan
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