provide better help text for default_build_type; closes #192
This commit is contained in:
parent
8386baed11
commit
7f21bfc10e
@ -158,7 +158,8 @@ def process_yaml(argv):
|
|||||||
if 'default_build_type' in config:
|
if 'default_build_type' in config:
|
||||||
default_build_type = config['default_build_type'].lower()
|
default_build_type = config['default_build_type'].lower()
|
||||||
else:
|
else:
|
||||||
sys.stderr.write("ERROR: you have to specify default_build_type in autocmake.yml\n")
|
sys.stderr.write("ERROR: you have to specify default_build_type in autocmake.yml\n\n")
|
||||||
|
sys.stderr.write("# for instance like this (debug, release, relwithdebinfo, or minsizerel):\ndefault_build_type: release\n\n")
|
||||||
sys.exit(-1)
|
sys.exit(-1)
|
||||||
|
|
||||||
if 'setup_script' in config:
|
if 'setup_script' in config:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user