File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -65,7 +65,7 @@ if "%~1"=="-k" (set kill=true) & shift & goto CheckOpts
6565rem These use the actual property names used by MSBuild. We could just let
6666rem them in through the environment, but we specify them on the command line
6767rem anyway for visibility so set defaults after this
68- if " %~1 " == " -e" (set IncludeExternals=true) & call " %dir% get_externals.bat " & shift & goto CheckOpts
68+ if " %~1 " == " -e" (set IncludeExternals=true) & shift & goto CheckOpts
6969if " %~1 " == " --no-ssl" (set IncludeSSL=false) & shift & goto CheckOpts
7070if " %~1 " == " --no-tkinter" (set IncludeTkinter=false) & shift & goto CheckOpts
7171if " %~1 " == " --no-bsddb" (set IncludeBsddb=false) & shift & goto CheckOpts
@@ -75,6 +75,8 @@ if "%IncludeSSL%"=="" set IncludeSSL=true
7575if " %IncludeTkinter% " == " " set IncludeTkinter = true
7676if " %IncludeBsddb% " == " " set IncludeBsddb = true
7777
78+ if " %IncludeExternals% " == " true" call " %dir% get_externals.bat"
79+
7880if " %platf% " == " x64" (set vs_platf=x86_amd64)
7981
8082rem Setup the environment
Original file line number Diff line number Diff line change @@ -54,16 +54,17 @@ echo.Fetching external libraries...
5454rem When updating these versions, remember to update the relevant property
5555rem files in both this dir and PC\VS9.0
5656
57- for %%e in (
58- bzip2-1.0.6
59- db-4.7.25.0
60- nasm-2.11.06
61- openssl-1.0.2d
62- tcl-8.5.15.0
63- tk-8.5.15.0
64- tix-8.4.3.5
65- sqlite-3.6.21
66- ) do (
57+ set libraries =
58+ set libraries = %libraries% bzip2-1.0.6
59+ if NOT " %IncludeBsddb% " == " false" set libraries = %libraries% db-4.7.25.0
60+ if NOT " %IncludeSSL% " == " false" set libraries = %libraries% nasm-2.11.06
61+ if NOT " %IncludeSSL% " == " false" set libraries = %libraries% openssl-1.0.2d
62+ set libraries = %libraries% sqlite-3.6.21
63+ if NOT " %IncludeTkinter% " == " false" set libraries = %libraries% tcl-8.5.15.0
64+ if NOT " %IncludeTkinter% " == " false" set libraries = %libraries% tk-8.5.15.0
65+ if NOT " %IncludeTkinter% " == " false" set libraries = %libraries% tix-8.4.3.5
66+
67+ for %%e in (%libraries% ) do (
6768 if exist %%e (
6869 echo .%%e already exists, skipping.
6970 ) else (
You can’t perform that action at this time.
0 commit comments