diff options
author | Elliott Sales de Andrade <quantum.analyst@gmail.com> | 2017-09-24 23:06:45 -0400 |
---|---|---|
committer | Elliott Sales de Andrade <quantum.analyst@gmail.com> | 2017-09-25 14:36:01 -0400 |
commit | f9e463bce2607c5136acc79ecd495f8b62b8e5ad (patch) | |
tree | 7581d62804f8d484bf21e87be5bb7d73ee19abdd /platform/osx/detect.py | |
parent | 0a6446ff361f1674649e1625eb5868478d998091 (diff) | |
download | redot-engine-f9e463bce2607c5136acc79ecd495f8b62b8e5ad.tar.gz |
Use EnumVariable for choice-based build options.
Diffstat (limited to 'platform/osx/detect.py')
-rw-r--r-- | platform/osx/detect.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/platform/osx/detect.py b/platform/osx/detect.py index 24302b5ff9..3ae95f188d 100644 --- a/platform/osx/detect.py +++ b/platform/osx/detect.py @@ -19,10 +19,11 @@ def can_build(): def get_opts(): + from SCons.Variables import EnumVariable return [ ('osxcross_sdk', 'OSXCross SDK version', 'darwin14'), - ('debug_symbols', 'Add debug symbols to release version (yes/no/full)', 'yes'), + EnumVariable('debug_symbols', 'Add debug symbols to release version', 'yes', ('yes', 'no', 'full')), ] |