Re: cpp task

2006-01-14 Thread Dominique Devienne
> How does the cpp task makes a decision to compile/not to compile a cpp file. > How about the objs are re-created if they are dirty. I know in java ant > compares the date of the src with the class file. (1) CppTasks is part of SourceForge's Ant-Contrib project. The correc

cpp task

2006-01-11 Thread shreedhar natarajan
Hi all, How does the cpp task makes a decision to compile/not to compile a cpp file. How about the objs are re-created if they are dirty. I know in java ant compares the date of the src with the class file. Thanks Shreedhar -Original Message- From: shreedhar natarajan [mailto:[EMAIL

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