Added option for projects to add own variables.
This commit is contained in:
parent
8770bd97dc
commit
0ac1621494
@ -871,6 +871,10 @@ vars.Add('COMPILATIONDB_FILTER_FILES', 'Removes source files from the compilatio
|
|||||||
vars.Add('SHOW_INCLUDES', 'Show include hierarchy (for debugging).', False)
|
vars.Add('SHOW_INCLUDES', 'Show include hierarchy (for debugging).', False)
|
||||||
vars.Add('ENABLE_ASAN', 'Enable address sanitization.', bool(enable_asan))
|
vars.Add('ENABLE_ASAN', 'Enable address sanitization.', bool(enable_asan))
|
||||||
|
|
||||||
|
if 'VARIABLES' in config:
|
||||||
|
for vardef in config['VARIABLES']:
|
||||||
|
vars.Add(*vardef)
|
||||||
|
|
||||||
tools = ['default', 'compilation_db', 'unity_build']
|
tools = ['default', 'compilation_db', 'unity_build']
|
||||||
if 'TOOLS' in config:
|
if 'TOOLS' in config:
|
||||||
tools.extend(config['TOOLS'])
|
tools.extend(config['TOOLS'])
|
||||||
|
Loading…
x
Reference in New Issue
Block a user