You can create separate targets, each target building a project within the solution, and have the final big "compile" target that depends on the other targets in the appropriate order.
----- Original Message ----
From: Garen <[EMAIL PROTECTED]>
To: [email protected]
Sent: Tuesday, March 14, 2006 12:22:08 PM
Subject: [NAnt-users] Building C++ .vcproj files and using the free VC++ 2003 Toolkit
I've got a nant build working by doing something like:
<?xml version="1.0" ?>
<project name="nant" default="compile" xmlns=" http://nant.sf.net/schemas/nant.xsd">
<target name="compile">
<solution solutionfile="Solution_stuffed_with_lotsa_projects.sln" configuration="debug" />
</target>
</project>
but I noticed that if one of them fails, the entire build fails. So, I was wondering: is there a way to build .vcproj files individually so that if one fails, it will go on and try building the rest?
Another issue I noticed is that I can't get nant to work with the free VC++ 2003 Toolkit:
BUILD FAILED
'lib' failed to start.
The system cannot find the file specified
I noticed that lib.exe is missing from the toolkit install, although you can accomplish the same thing with a "/link lib" directive--so is this perhaps a bug? If not, anyone know where I can get the lib.exe?
Thanks!
Each project target can look something like:
<solution configuration="Debug">
<projects>
<include name="path\to\<projectname>.vcproj" />
</projects>
</solution>
lib.exe should be in C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\bin
You may need to check your path if you need it...
Marc Towersap Sr. SCM Engineer<solution configuration="Debug">
<projects>
<include name="path\to\<projectname>.vcproj" />
</projects>
</solution>
lib.exe should be in C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\bin
You may need to check your path if you need it...
----- Original Message ----
From: Garen <[EMAIL PROTECTED]>
To: [email protected]
Sent: Tuesday, March 14, 2006 12:22:08 PM
Subject: [NAnt-users] Building C++ .vcproj files and using the free VC++ 2003 Toolkit
I've got a nant build working by doing something like:
<?xml version="1.0" ?>
<project name="nant" default="compile" xmlns=" http://nant.sf.net/schemas/nant.xsd">
<target name="compile">
<solution solutionfile="Solution_stuffed_with_lotsa_projects.sln" configuration="debug" />
</target>
</project>
but I noticed that if one of them fails, the entire build fails. So, I was wondering: is there a way to build .vcproj files individually so that if one fails, it will go on and try building the rest?
Another issue I noticed is that I can't get nant to work with the free VC++ 2003 Toolkit:
BUILD FAILED
'lib' failed to start.
The system cannot find the file specified
I noticed that lib.exe is missing from the toolkit install, although you can accomplish the same thing with a "/link lib" directive--so is this perhaps a bug? If not, anyone know where I can get the lib.exe?
Thanks!
