summaryrefslogtreecommitdiff
path: root/SConstruct
diff options
context:
space:
mode:
Diffstat (limited to 'SConstruct')
-rw-r--r--SConstruct10
1 files changed, 2 insertions, 8 deletions
diff --git a/SConstruct b/SConstruct
index 9dcc6c554f..acb333a78b 100644
--- a/SConstruct
+++ b/SConstruct
@@ -300,13 +300,6 @@ opts.Update(env_base)
env_base["platform"] = selected_platform # Must always be re-set after calling opts.Update().
Help(opts.GenerateHelpText(env_base))
-# Detect and print a warning listing unknown SCons variables to ease troubleshooting.
-unknown = opts.UnknownVariables()
-if unknown:
- print("WARNING: Unknown SCons variables were passed and will be ignored:")
- for item in unknown.items():
- print(" " + item[0] + "=" + item[1])
-
# add default include paths
env_base.Prepend(CPPPATH=["#"])
@@ -583,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"])