]> Creatis software - creaToolsTools.git/blobdiff - Install/scripts/compilemod.bat
DFCH: Compiler updates
[creaToolsTools.git] / Install / scripts / compilemod.bat
index 382d4b513370cd3ba77bf7d1b267a5ac73d20361..d046704e47effc3a18f5000db91c62e0ebb40861 100644 (file)
@@ -5,8 +5,7 @@ REM %3 = <creatoolsGeneration>
 if %PROCESSOR_ARCHITECTURE%==x86 (
   set ProgramFilesPath_x86=%ProgramFiles%
   echo "Architecture found = x86"
-) else
-(
+) else (
   set "ProgramFilesPath_x86=%ProgramFiles(x86)%"
   echo "Architecture found = x64"
 )
@@ -28,16 +27,14 @@ call %vcvarsall%
 set binfolder=%3\creatools_bin\%2Bin
 
 cd %binfolder%
-if %compilerVersion%=="Visual Studio 10"
-(
+if %compilerVersion%=="Visual Studio 10" (
        FOR /R %%a IN (*.sln) DO msbuild %%a /p:Configuration=%1
        msbuild /p:Configuration=%1 ALL_BUILD.vcxproj
        msbuild /p:Configuration=%1 INSTALL.vcxproj
        msbuild /p:Configuration=%1 PACKAGE.vcxproj
        copy %2*.exe %3\Result_Installers\
 )
-else
-(
+else (
        FOR /R %%a IN (*.sln) DO msbuild %%a /p:Configuration=%1
        msbuild /p:Configuration=%1 INSTALL.vcproj
        msbuild /p:Configuration=%1 PACKAGE.vcproj