Browse Source

Merge pull request #56308 from Calinou/scons-tweak-target-release-error-message

Rémi Verschelde 3 years ago
parent
commit
d98d327868
1 changed files with 2 additions and 1 deletions
  1. 2 1
      SConstruct

+ 2 - 1
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"])