Build Agent compatible with multiple VS C++ environments?

Hello,

I'm a little new to TeamCity and I'm trying to port my builds from batch.
My product has to be built against VC6 - VC9.

When I try to use the sln2003, sln2005 or sln2008 tasks I get errors stating cl.exe can't be found.
How can I get these build tasks to run the appropriate vcvars32.bat before executing the build?

[cl] Starting 'cl (@"C:\BuildAgent\temp\buildTmp\tmp1BE.tmp" /EHsc /Wp64 /Zi /Zc:wchar_t /W3 /MD /nologo)' in 'C:\BuildAgent\work\90474d7a81ee76b9\TestingGrounds\testCapabilitiesReport'
BUILD FAILED
'cl' failed to start.
The system cannot find the file specified
Total time: 1.2 seconds.

1 comment
Comment actions Permalink

Sorry for the delay. The question is still actual with latest TeamCity release?


 
Kind regards,
Marina
 
0

Please sign in to leave a comment.