From f9e463bce2607c5136acc79ecd495f8b62b8e5ad Mon Sep 17 00:00:00 2001 From: Elliott Sales de Andrade Date: Sun, 24 Sep 2017 23:06:45 -0400 Subject: Use EnumVariable for choice-based build options. --- platform/osx/detect.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'platform/osx') 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')), ] -- cgit v1.2.3