You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
vcbuild: add an option to install individual 'features'
In this context, a "feature" is a dependency combined with its own
dependencies.
Signed-off-by: Ian Bearman <[email protected]>
Signed-off-by: Johannes Schindelin <[email protected]>
Copy file name to clipboardexpand all lines: compat/vcbuild/vcpkg_install.bat
+34-1
Original file line number
Diff line number
Diff line change
@@ -85,14 +85,47 @@ REM ================================================================
85
85
:sub__install_one
86
86
echo Installing package %1...
87
87
88
+
call :%1_features
89
+
88
90
REM vcpkg may not be reliable on slow, intermittent or proxy
89
91
REM connections, see e.g.
90
92
REM https://social.msdn.microsoft.com/Forums/windowsdesktop/en-US/4a8f7be5-5e15-4213-a7bb-ddf424a954e6/winhttpsendrequest-ends-with-12002-errorhttptimeout-after-21-seconds-no-matter-what-timeout?forum=windowssdk
91
93
REM which explains the hidden 21 second timeout
92
94
REM (last post by Dave : Microsoft - Windows Networking team)
93
95
94
-
.\vcpkg.exe install %1:%arch%
96
+
.\vcpkg.exe install %1%features%:%arch%
95
97
IFERRORLEVEL1 ( EXIT /B 1 )
96
98
97
99
echo Finished %1
98
100
goto :EOF
101
+
102
+
::
103
+
:: features for each vcpkg to install
104
+
:: there should be an entry here for each package to install
105
+
:: 'set features=' means use the default otherwise
106
+
:: 'set features=[comma-delimited-feature-set]' is the syntax
0 commit comments