We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 70d5300 + 69b2d3f commit 43f53f4Copy full SHA for 43f53f4
SConstruct
@@ -300,6 +300,13 @@ opts.Update(env_base)
300
env_base["platform"] = selected_platform # Must always be re-set after calling opts.Update().
301
Help(opts.GenerateHelpText(env_base))
302
303
+# Detect and print a warning listing unknown SCons variables to ease troubleshooting.
304
+unknown = opts.UnknownVariables()
305
+if unknown:
306
+ print("WARNING: Unknown SCons variables were passed and will be ignored:")
307
+ for item in unknown.items():
308
+ print(" " + item[0] + "=" + item[1])
309
+
310
# add default include paths
311
312
env_base.Prepend(CPPPATH=["#"])
0 commit comments