The approach I used was to simply create a .build corresponding to the
.dsp calling the <exec> task ...   i then just used the nant task to
spawn the build....  like so... 
 

        Contents of foo.build
         
        <?xml version="1.0" encoding="utf-8" ?> 
        <project name="foo" default="foo.dll">
          <target name="foo.dll">
            <exec
              program="c:\program files\microsoft visual
studio\common\msdev98\bin\msdev.exe"
              commandline="foo.dsp">
                <arg value="/MAKE &quot;foo - Win32 Release&quot;" />
            </exec>
          </target>
        </project>
        
        in the master build script...
         
          <target name="foo.dll" depends="">
            <nant buildfile="c:\foo\foo.build" />
          </target>
        
        HTH
         
         -----Original Message-----
        From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Ward,
Bradley
        Sent: Friday, February 02, 2007 12:19 PM
        To: NAnt Users List (nant-users@lists.sourceforge.net)
        Subject: [NAnt-users] Using NAnt with Visual C++ 6.0
        
        
        Hello,
         
        I have been using NAnt for the past couple of years, but only on
Visual Studio 2005 projects. I have now been tasked to setup NAnt builds
for a large number of Visual C++ 6.0 projects.
         
        Does anyone have any links to any knowledge out on the internet
that will help me in this quest?  Another thing that would be nice would
be to see some example build files that show both the building of a C++
project (*.dsp) and a C++ workspace (*.dsw).
         
        Thanks,
        
        
        Brad
         

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to