X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=Install%2Fscripts%2Fcompilemod.bat;h=777a79d9dc2e0c2d40f51725a361b2834d9b437b;hb=fffee3529ab94019ec6d4563caf288520467ab89;hp=76cd8c4a8599786167106bdaa4d1e4bb5be36200;hpb=b0d582484ea10b06cbe1088ccff88b989ed09db9;p=creaToolsTools.git diff --git a/Install/scripts/compilemod.bat b/Install/scripts/compilemod.bat index 76cd8c4..777a79d 100644 --- a/Install/scripts/compilemod.bat +++ b/Install/scripts/compilemod.bat @@ -1,9 +1,13 @@ -REM %1=buildtype %2= +REM %1 = +REM %2 = +REM %3 = -cd %2Bin +set binfolder=%3\creatools_bin\%2Bin + +cd %binfolder% 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 /p:Configuration=%1 INSTALL.vcproj FOR /R %%a IN (*.sln) DO msbuild /p:Configuration=%1 PACKAGE.vcproj -copy %2*.exe ..\Result_Installers\ -cd .. +copy %2*.exe %3\Result_Installers\ +