I'm a newcomer to NAnt. I'm trying to do a <cl> task and everything's fine unless my source code is in a path that contains whitespace. In that case, the compiler complains. There are two solutions. First, use relative pathnames. Second, put quotes around the source code filenames. Unfortunately, I can't figure out a way to do either using filesets. I've tried basedir attribute but I don't think that'll give me relative paths.


<cl outputdir="Release/" options='/clr:noAssembly /O2 /Ob1 /I ...>
  <sources>
    <includes name="*.cpp"/>
  </sources>
</cl>

.cpp files are in "C:\Program Files\...". Compiler takes "C:\Program" as the first source code filename.

Any advice?

Cheers,
Trev


-- Trevor Misfeldt CEO, CenterSpace Software [EMAIL PROTECTED] http://www.centerspace.net




-------------------------------------------------------
This SF.net email is sponsored by: Tablet PC. Does your code think in ink? You could win a Tablet PC. Get a free Tablet PC hat just for playing. What are you waiting for? http://ads.sourceforge.net/cgi-bin/redirect.pl?micr5043en
_______________________________________________
Nant-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to