]> Creatis software - creaToolsTools.git/blob - Install_ThirdParty/install_generate_thirdparty.bat_TEMPLATE
Bug #1908
[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>
9
10 ::The following line sets wxWidgets version. Set it ON if you want to compile wxWidgets 2.8.12
11 ::The following line set swxWidgets version. Set it OFF if you want to compile wxWidgets 2.9.3
12 set wxStable=<ON|OFF>
13 ::Set the following line ON if you want to force x86 compilation
14 set forcex86=<ON|OFF>
15
16
17 echo thirdpartyGeneration=%thirdpartyGeneration%
18 echo buildType=%buildType%
19 echo wxStable=%wxStable%
20
21 echo -----------------------------------
22 echo ---End Setting Global Variables----
23 echo -----------------------------------
24
25 echo -----------------------------------
26 echo -------Calling Scripts-------------
27 echo -----------------------------------
28
29 echo starting time
30 time /t
31 date /T
32
33 set scripts=%cd%\scripts
34 set LogFolder=%thirdpartyGeneration%\installLog
35 cd %scripts%
36
37 echo cleaning All
38
39 call cleanAll.bat %thirdpartyGeneration%
40
41 cd %scripts%
42
43 echo Calling download_ThirdPartySW.bat
44
45 call download_ThirdPartySW.bat %thirdpartyGeneration% %buildType% %wxStable% >> %LogFolder%\downloadSources.log 2>&1
46
47 cd %scripts%
48
49 echo Calling install_thirdparty.bat
50
51 start /B /wait install_thirdparty_all.bat %thirdpartyGeneration% %buildType% %forcex86%
52
53 echo Calling generateThirdPartydllsExe.bat
54
55 cd %scripts%
56
57 start /B /wait generateThirdPartydllsExe.bat %thirdpartyGeneration% %buildType% %forcex86%
58
59 echo Calling generateThirdPartyLibExe.bat
60
61 cd %scripts%
62
63 start /B /wait generateThirdPartyLibExe.bat %thirdpartyGeneration% %buildType% %forcex86%
64
65 cd..
66
67 echo -----------------------------------
68 echo -------End of the Script-----------
69 echo -----------------------------------
70
71 echo ending time
72 time /t
73 date /T
74
75 echo To see the log of this install please go to %LogFolder%
76
77 ::pause
78
79 exit