Skip to content

Commit 381df00

Browse files
authored
Merge pull request godotengine#1220 from adamscott/add-local-custom-support-redux
Add support to import custom variables from parent SConstruct (redux)
2 parents a963b8b + 982e01e commit 381df00

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

SConstruct

+4
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,10 @@ env.PrependENVPath("PATH", os.getenv("PATH"))
2121

2222
# Custom options and profile flags.
2323
customs = ["custom.py"]
24+
try:
25+
customs += Import("customs")
26+
except:
27+
pass
2428
profile = ARGUMENTS.get("profile", "")
2529
if profile:
2630
if os.path.isfile(profile):

0 commit comments

Comments
 (0)