]> Creatis software - creaToolsTools.git/blob - Install_ThirdParty/install_generate_thirdparty.bat_TEMPLATE
4efe1bfa1cedd5ad642987777212bcc89defe50e
[creaToolsTools.git] / Install_ThirdParty / install_generate_thirdparty.bat_TEMPLATE
1 @echo off
2
3 echo -----------------------------------
4 echo ---Setting Environment Variables---
5 echo -----------------------------------
6
7 set thirdpartyGeneration=<directory where you want to generate>
8 set buildType=<debug|release|RelWithDebInfo>
9 ::The following line sets wxWidgets version. Set it ON if you want to compile wxWidgets 2.8.12
10 ::The following line set swxWidgets version. Set it OFF if you want to compile wxWidgets 2.9.3
11 set wxStable=<ON|OFF>
12 ::Set the following line ON if you want to force x86 compilation
13 set forcex86=<ON|OFF>
14
15
16 echo thirdpartyGeneration=%thirdpartyGeneration%
17 echo buildType=%buildType%
18 echo wxStable=%wxStable%
19
20 echo -----------------------------------
21 echo ---End Setting Global Variables----
22 echo -----------------------------------
23
24 echo -----------------------------------
25 echo -------Calling Scripts-------------
26 echo -----------------------------------
27
28 echo starting time
29 time /t
30 date /T
31
32 set scripts=%cd%\scripts
33
34 cd %scripts%
35
36 echo Calling download_ThirdPartySW.bat
37
38 call download_ThirdPartySW.bat %thirdpartyGeneration% %buildType% %wxStable% >> downloadThirdParty.log 2>&1
39
40 cd %scripts%
41
42 echo Calling install_thirdparty.bat
43
44 start /wait install_thirdparty.bat %thirdpartyGeneration% %buildType% %forcex86%
45
46 echo Calling generateThirdPartydllsExe.bat
47
48 cd %scripts%
49
50 start /wait generateThirdPartydllsExe.bat %thirdpartyGeneration% %buildType% %forcex86%
51
52 echo Calling generateThirdPartyLibExe.bat
53
54 cd %scripts%
55
56 start /wait generateThirdPartyLibExe.bat %thirdpartyGeneration% %buildType% %forcex86%
57
58 cd..
59
60 echo -----------------------------------
61 echo -------End of the Script-----------
62 echo -----------------------------------
63
64 echo ending time
65 time /t
66 date /T
67
68 pause
69
70 exit