diff options
author | David Snopek <dsnopek@gmail.com> | 2023-09-21 15:06:30 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-21 15:06:30 -0500 |
commit | 381df0081a6267f889a8432e56e0fbcf369e1f4e (patch) | |
tree | 48288d3bfdee881ff418f77e83b093413de1bc2d /SConstruct | |
parent | a963b8b7c785e955387519b4f397bac0ef0cd186 (diff) | |
parent | 982e01ec7f2eb38b725282e82584cbce201c0cce (diff) | |
download | redot-cpp-381df0081a6267f889a8432e56e0fbcf369e1f4e.tar.gz |
Merge pull request #1220 from adamscott/add-local-custom-support-redux
Add support to import custom variables from parent SConstruct (redux)
Diffstat (limited to 'SConstruct')
-rw-r--r-- | SConstruct | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -21,6 +21,10 @@ env.PrependENVPath("PATH", os.getenv("PATH")) # Custom options and profile flags. customs = ["custom.py"] +try: + customs += Import("customs") +except: + pass profile = ARGUMENTS.get("profile", "") if profile: if os.path.isfile(profile): |