diff options
author | Adam Scott <ascott.ca@gmail.com> | 2023-08-17 09:28:44 -0400 |
---|---|---|
committer | Adam Scott <ascott.ca@gmail.com> | 2023-09-04 15:05:52 -0400 |
commit | 982e01ec7f2eb38b725282e82584cbce201c0cce (patch) | |
tree | 2661de0cd975f8ba537140edc1e0370b005e907d /SConstruct | |
parent | 0db95a92a68b123b29a9a18c6eb3f99a0dae2642 (diff) | |
download | redot-cpp-982e01ec7f2eb38b725282e82584cbce201c0cce.tar.gz |
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
@@ -22,6 +22,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): |