File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -66,14 +66,16 @@ if "%~1"=="-V" shift & goto Version
6666rem These use the actual property names used by MSBuild. We could just let
6767rem them in through the environment, but we specify them on the command line
6868rem anyway for visibility so set defaults after this
69- if " %~1 " == " -e" (set IncludeExternals=true) & call " %dir% get_externals.bat " & shift & goto CheckOpts
69+ if " %~1 " == " -e" (set IncludeExternals=true) & shift & goto CheckOpts
7070if " %~1 " == " --no-ssl" (set IncludeSSL=false) & shift & goto CheckOpts
7171if " %~1 " == " --no-tkinter" (set IncludeTkinter=false) & shift & goto CheckOpts
7272
7373if " %IncludeExternals% " == " " set IncludeExternals = false
7474if " %IncludeSSL% " == " " set IncludeSSL = true
7575if " %IncludeTkinter% " == " " set IncludeTkinter = true
7676
77+ if " %IncludeExternals% " == " true" call " %dir% get_externals.bat"
78+
7779if " %platf% " == " x64" (set vs_platf=x86_amd64)
7880
7981rem Setup the environment
Original file line number Diff line number Diff line change @@ -51,16 +51,17 @@ if ERRORLEVEL 9009 (
5151
5252echo .Fetching external libraries...
5353
54- for %%e in (
55- bzip2-1.0.6
56- nasm-2.11.06
57- openssl-1.0.2d
58- tcl-core-8.6.4.2
59- tk-8.6.4.2
60- tix-8.4.3.6
61- sqlite-3.8.11.0
62- xz-5.0.5
63- ) do (
54+ set libraries =
55+ set libraries = %libraries% bzip2-1.0.6
56+ if NOT " %IncludeSSL% " == " false" set libraries = %libraries% nasm-2.11.06
57+ if NOT " %IncludeSSL% " == " false" set libraries = %libraries% openssl-1.0.2d
58+ set libraries = %libraries% sqlite-3.8.11.0
59+ if NOT " %IncludeTkinter% " == " false" set libraries = %libraries% tcl-core-8.6.4.2
60+ if NOT " %IncludeTkinter% " == " false" set libraries = %libraries% tk-8.6.4.2
61+ if NOT " %IncludeTkinter% " == " false" set libraries = %libraries% tix-8.4.3.6
62+ set libraries = %libraries% xz-5.0.5
63+
64+ for %%e in (%libraries% ) do (
6465 if exist %%e (
6566 echo .%%e already exists, skipping.
6667 ) else (
You can’t perform that action at this time.
0 commit comments