File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -202,6 +202,10 @@ def main():
202
202
args .msvc_runtime_library ,
203
203
attempt_auto_fix = False )
204
204
205
+ if args .vcpkg_step_only :
206
+ print ("Exiting without building the SDK as just vcpkg step was requested." )
207
+ return
208
+
205
209
# CMake configure
206
210
cmake_configure (args .build_dir , args .arch , args .msvc_runtime_library ,
207
211
args .build_tests , args .config , args .target_format )
@@ -239,6 +243,7 @@ def parse_cmdline_args():
239
243
help = 'Runtime library for MSVC (static(/MT) or dynamic(/MD)' )
240
244
parser .add_argument ('--build_dir' , default = 'build' , help = 'Output build directory' )
241
245
parser .add_argument ('--build_tests' , action = 'store_true' , help = 'Build unit tests too' )
246
+ parser .add_argument ('--vcpkg_step_only' , action = 'store_true' , help = 'Just install cpp packages using vcpkg and exit.' )
242
247
parser .add_argument ('--config' , default = 'Release' , help = 'Release/Debug config' )
243
248
parser .add_argument ('--target' , nargs = '+' , help = 'A list of CMake build targets (eg: firebase_app firebase_auth)' )
244
249
parser .add_argument ('--target_format' , default = None , help = '(Mac only) whether to output frameworks (default) or libraries.' )
You can’t perform that action at this time.
0 commit comments