Updating and compiling a visual studio solution

posted Nov 15, 2011, 11:49 PM by Nico Kruithof   [ updated Nov 15, 2011, 11:49 PM ]
rem Make sure we can find ssh
set SVN_SSH=C:/Program Files (x86)/PuTTY/plink.exe

rem Make sure we can find visual studio
call "C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\bin\vcvars32.bat"

rem Update source
cd ..
extern\bin\svn\svn.exe up extern
extern\bin\svn\svn.exe up trunk

rem Build extern
cd extern\src
convert_solution_to_md.py
devenv extern_src_md.sln /Upgrade
devenv extern_src_md.sln /Build
cd ..\..

rem Build OT trunk
cd trunk
convert_solution_to_r7.py
devenv release_BASE_md.sln /Upgrade
devenv release_BASE_md.sln /Build Debug /Project vr4max_exhibitor
devenv release_BASE_md.sln /Build Release /Project vr4max_exhibitor
cd ..

Comments