<div><br clear="all">It is often not appreciated that Visual Studio can be run from a command line. The advantage here is that the it can run in the task scheduler or in a command window. So you can keep working whime all your Kitware stuff builds.</div>
<div> </div>
<div>I create a batch file called Build.cmd with the following content (remember to change FP and the directories in the command line to suit where the *.sln files are):</div>
<div> </div>
<div>-----------------------------------------------------------------------------------------------------------------------</div>
<div>SET FP=<Directory where the build file is></div>
<div>"C:/Program Files/Microsoft Visual Studio 8/Common7/IDE/devenv.com" "CMake\CMake.sln" /build Release /project ALL_BUILD > "%FP%\CMake\CMakeRelease.log"</div>
<div> </div>
<div>"C:/Program Files/Microsoft Visual Studio 8/Common7/IDE/devenv.com" "VTK\VTK.sln" /build Debug /project ALL_BUILD > "%FP%\VTK\VTKDebug.log"<br>"C:/Program Files/Microsoft Visual Studio 8/Common7/IDE/devenv.com" "VTK\VTK.sln" /build Release /project ALL_BUILD > "%FP%\VTK\VTKRelease.log"</div>
<div> </div>
<div>"C:/Program Files/Microsoft Visual Studio 8/Common7/IDE/devenv.com" "ParaView\ParaView.sln" /build Debug /project ALL_BUILD > "%FP%\ParaView\ParaViewDebug.log"<br>"C:/Program Files/Microsoft Visual Studio 8/Common7/IDE/devenv.com" "ParaView\ParaView.sln" /build Release /project ALL_BUILD > "%FP%\ParaView\ParaViewRelease.log"</div>
<div> </div>
<div>"C:/Program Files/Microsoft Visual Studio 8/Common7/IDE/devenv.com" "Insight\ITK.sln" /build Debug /project ALL_BUILD > "%FP%\Insight\ITKDebug.log"<br>"C:/Program Files/Microsoft Visual Studio 8/Common7/IDE/devenv.com" "Insight\ITK.sln" /build Release /project ALL_BUILD > "%FP%\Insight\ITKRelease.log"</div>
<div> </div>
<div>"C:/Program Files/Microsoft Visual Studio 8/Common7/IDE/devenv.com" "InsightApplications\InsightApplications.sln" /build Debug /project ALL_BUILD > "%FP%\InsightApplications\InsightApplicationsDebug.log"<br>
"C:/Program Files/Microsoft Visual Studio 8/Common7/IDE/devenv.com" "InsightApplications\InsightApplications.sln" /build Release /project ALL_BUILD > "%FP%\InsightApplications\InsightApplicationsRelease.log"<br>
</div>
<div>-----------------------------------------------------------------------------------------------------------------------</div>
<div> </div>
<div>Andrew</div>
<div><br>-- <br>___________________________________________<br>Andrew J. P. Maclean<br>Centre for Autonomous Systems<br>The Rose Street Building J04<br>The University of Sydney 2006 NSW<br>AUSTRALIA<br>Ph: +61 2 9351 3283<br>
Fax: +61 2 9351 7474<br>URL: <a href="http://www.acfr.usyd.edu.au/">http://www.acfr.usyd.edu.au/</a><br>___________________________________________ </div>