X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=ctest%2Fdashboard%2Fcompilemod.bat;h=a25d2298ad3aecd7df5343e3e89d80d1235ca261;hb=e95400057316f6be2396a05bfcad35f676b5452d;hp=7af77af15369ce683f607df02c78625716f8c3d5;hpb=82d143a0dc49ca61591b6ec55e1116eb39d97dc5;p=creaToolsTools.git diff --git a/ctest/dashboard/compilemod.bat b/ctest/dashboard/compilemod.bat index 7af77af..a25d229 100644 --- a/ctest/dashboard/compilemod.bat +++ b/ctest/dashboard/compilemod.bat @@ -1,6 +1,9 @@ -cd %2 +REM %1=buildtype %2= + +cd %2Bin call "C:\Program Files\Microsoft Visual Studio 9.0\VC\vcvarsall.bat" FOR /R %%a IN (*.sln) DO msbuild %%a /p:Configuration=%1 -FOR /R %%a IN (*.sln) DO msbuild INSTALL.vcproj -FOR /R %%a IN (*.sln) DO msbuild PACKAGE.vcproj +FOR /R %%a IN (*.sln) DO msbuild /p:Configuration=%1 INSTALL.vcproj +FOR /R %%a IN (*.sln) DO msbuild /p:Configuration=%1 PACKAGE.vcproj +copy %2*.exe ../Result_Installers/ cd ..