diff options
author | Hugo Locurcio <hugo.locurcio@hugo.pro> | 2021-12-29 01:46:36 +0100 |
---|---|---|
committer | Hugo Locurcio <hugo.locurcio@hugo.pro> | 2021-12-29 01:46:36 +0100 |
commit | 44b68bd3b607c9c2d421ef7a5eea0565704fdf36 (patch) | |
tree | 94e3926b22de1b4b272db5d3aede490e5082bdf4 /SConstruct | |
parent | be665ddff9662cf32d1f8651d4951324879dd8b2 (diff) |
Improve error when attempting to build with `tools=yes target=release`
Diffstat (limited to 'SConstruct')
-rw-r--r-- | SConstruct | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/SConstruct b/SConstruct index 9dcc6c554f..f61408bec0 100644 --- a/SConstruct +++ b/SConstruct @@ -583,7 +583,8 @@ if selected_platform in platform_list: if env["target"] == "release": if env["tools"]: - print("Error: The editor can only be built with `target=debug` or `target=release_debug`.") + print("ERROR: The editor can only be built with `target=debug` or `target=release_debug`.") + print(" Use `tools=no target=release` to build a release export template.") Exit(255) suffix += ".opt" env.Append(CPPDEFINES=["NDEBUG"]) |