We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7df9e48 commit 3c25860Copy full SHA for 3c25860
configure
@@ -73,12 +73,12 @@ def main():
73
parser.add_argument('-v', '--verbose', dest='verbose', action="store_true")
74
args, extras = parser.parse_known_args()
75
76
- config.build_mode = Configuration.Release # by default build a release mode
+ config.build_mode = Configuration.Debug # by default build in debug mode
77
78
for arg in extras:
79
- if arg == 'debug':
+ if arg.lower() == 'debug':
80
config.build_mode = Configuration.Debug
81
- elif arg == 'release':
+ elif arg.lower() == 'release':
82
config.build_mode = Configuration.Release
83
elif arg.startswith('-D'): # accept -DNAME=value as extra parameters to the configuration of the build.ninja
84
key, val = arg[2:].split("=", 1)
0 commit comments