]> Creatis software - creaToolsTools.git/blobdiff - Install_ThirdParty/install_generate_thirdparty.bat_TEMPLATE
DFCH: Update for x84 and x64 bit compilation
[creaToolsTools.git] / Install_ThirdParty / install_generate_thirdparty.bat_TEMPLATE
index 60e8098bd9cb9e9de04a041dc17152695cfe0f5c..6ef05bea5acf2dbf98407e9c929577643ce3abb1 100644 (file)
@@ -1,15 +1,70 @@
+@echo off
+
+echo -----------------------------------
+echo ---Setting Environment Variables---
+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
+
+
+echo thirdpartyGeneration=%thirdpartyGeneration%
+echo buildType=%buildType%
+echo wxStable=%wxStable%
+
+echo -----------------------------------
+echo ---End Setting Global Variables----
+echo -----------------------------------
+
+echo -----------------------------------
+echo -------Calling Scripts-------------
+echo -----------------------------------
+
+echo starting time
+time /t
+date /T
+
+set scripts=%cd%\scripts
+
+cd %scripts%
+
+echo Calling download_ThirdPartySW.bat
+
+call download_ThirdPartySW.bat %thirdpartyGeneration% %buildType% %wxStable% >> downloadThirdParty.log 2>&1
+
+cd %scripts%
+
+echo Calling install_thirdparty.bat
+
+start /wait install_thirdparty.bat %thirdpartyGeneration% %buildType%
+
+echo Calling generateThirdPartydllsExe.bat
+
+cd %scripts%
+
+start /wait generateThirdPartydllsExe.bat %thirdpartyGeneration% %buildType%
+
+echo Calling generateThirdPartyLibExe.bat
+
+cd %scripts%
 
-cd scripts
-call install_thirdparty_all.bat  %thirdpartyGeneration% %buildType% >> install_generate_thirdparty.log 2>&1
+start /wait generateThirdPartyLibExe.bat %thirdpartyGeneration% %buildType%
 
-call move_thirdparty_dlls.bat %thirdpartyGeneration% >> install_generate_thirdparty.log 2>&1
+cd..
 
-call move_thirdparty_libraries.bat %thirdpartyGeneration% >> install_generate_thirdparty.log 2>&1
+echo -----------------------------------
+echo -------End of the Script-----------
+echo -----------------------------------
 
-call install_thirdparty_dlls_cmake.bat  %thirdpartyGeneration% >> install_generate_thirdparty.log 2>&1
+echo ending time
+time /t
+date /T
 
-call install_thirdparty_libraries_cmake.bat  %thirdpartyGeneration% >> install_generate_thirdparty.log 2>&1
+pause
 
-cd ..
\ No newline at end of file
+exit
\ No newline at end of file