summaryrefslogtreecommitdiff
path: root/SConstruct
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2022-01-12 12:24:34 +0100
committerGitHub <noreply@github.com>2022-01-12 12:24:34 +0100
commitd98d327868e6542720a2d5c39e95541e2e8aa109 (patch)
tree04cda8638fb75b36dde3930e089e2b473379959f /SConstruct
parent886c75985ff6a8cb8754f52155e1e1d8697397d9 (diff)
parent44b68bd3b607c9c2d421ef7a5eea0565704fdf36 (diff)
Merge pull request #56308 from Calinou/scons-tweak-target-release-error-message
Diffstat (limited to 'SConstruct')
-rw-r--r--SConstruct3
1 files changed, 2 insertions, 1 deletions
diff --git a/SConstruct b/SConstruct
index bdf4937cd7..acb333a78b 100644
--- a/SConstruct
+++ b/SConstruct
@@ -576,7 +576,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"])