]> Creatis software - creaToolsTools.git/blobdiff - Install_ThirdParty/install_generate_thirdparty.bat_TEMPLATE
DFCH: Install_ThirdParty script is now working in windows x64 =)
[creaToolsTools.git] / Install_ThirdParty / install_generate_thirdparty.bat_TEMPLATE
index 6ef05bea5acf2dbf98407e9c929577643ce3abb1..37756bb61019b4e7e9a4fc6f4cc24b7db04691b8 100644 (file)
@@ -6,11 +6,12 @@ echo -----------------------------------
 
 set thirdpartyGeneration=<directory where you want to generate>
 set buildType=<debug|release|RelWithDebInfo>
+
 ::The following line sets wxWidgets version. Set it ON if you want to compile wxWidgets 2.8.12
 ::The following line set swxWidgets version. Set it OFF if you want to compile wxWidgets 2.9.3
 set wxStable=<ON|OFF>
 ::Set the following line ON if you want to force x86 compilation
-set forcex86=OFF
+set forcex86=<ON|OFF>
 
 
 echo thirdpartyGeneration=%thirdpartyGeneration%
@@ -30,30 +31,36 @@ time /t
 date /T
 
 set scripts=%cd%\scripts
+set LogFolder=%thirdpartyGeneration%\installLog
+cd %scripts%
+
+echo cleaning All
+
+call cleanAll.bat %thirdpartyGeneration%
 
 cd %scripts%
 
 echo Calling download_ThirdPartySW.bat
 
-call download_ThirdPartySW.bat %thirdpartyGeneration% %buildType% %wxStable% >> downloadThirdParty.log 2>&1
+call download_ThirdPartySW.bat %thirdpartyGeneration% %buildType% %wxStable% >> %LogFolder%\downloadSources.log 2>&1
 
 cd %scripts%
 
 echo Calling install_thirdparty.bat
 
-start /wait install_thirdparty.bat %thirdpartyGeneration% %buildType%
+start /B /wait install_thirdparty_all.bat %thirdpartyGeneration% %buildType% %forcex86%
 
 echo Calling generateThirdPartydllsExe.bat
 
 cd %scripts%
 
-start /wait generateThirdPartydllsExe.bat %thirdpartyGeneration% %buildType%
+start /B /wait generateThirdPartydllsExe.bat %thirdpartyGeneration% %buildType% %forcex86%
 
 echo Calling generateThirdPartyLibExe.bat
 
 cd %scripts%
 
-start /wait generateThirdPartyLibExe.bat %thirdpartyGeneration% %buildType%
+start /B /wait generateThirdPartyLibExe.bat %thirdpartyGeneration% %buildType% %forcex86%
 
 cd..
 
@@ -65,6 +72,8 @@ echo ending time
 time /t
 date /T
 
-pause
+echo To see the log of this install please go to %LogFolder%
+
+::pause
 
 exit
\ No newline at end of file