Added --sdks option to configure script to specify which SDKs to build againt (bug 5630, r=dvander).

Valid arguments are "all", "present", or a comma delimited list of engine names.

The "all" option will try to build against all supported SDKs. (This is the default.)
The "present" option will only attempt to build against SDKs that exist on the system.

Examples:

configure.py --sdks=css,csgo,ep2v
configure.py --sdks=l4d
configure.py -s present
This commit is contained in:
Scott Ehlert
2013-03-13 20:26:08 -05:00
parent 52e9ec10bf
commit 1d30f00806
2 changed files with 73 additions and 63 deletions
+3
View File
@@ -7,4 +7,7 @@ run.options.add_option('--enable-debug', action='store_const', const='1', dest='
help='Enable debugging symbols')
run.options.add_option('--enable-optimize', action='store_const', const='1', dest='opt',
help='Enable optimization')
run.options.add_option('-s', '--sdks', default='all', dest='sdks',
help='Build against specified SDKs; valid args are "all", "present", or '
'comma-delimited list of engine names (default: %default)')
run.Configure(sys.path[0])