[Buildsystem] Add EnumVariable(ignorecase=2)

This commit is contained in:
Adam Scott 2025-04-29 13:27:33 -04:00
parent ce94b26de7
commit 1fbc0c5631
No known key found for this signature in database
GPG key ID: CECA1BAC77139AB0
4 changed files with 22 additions and 9 deletions

View file

@ -31,7 +31,7 @@ def get_opts():
("osxcross_sdk", "OSXCross SDK version", "darwin16"),
("MACOS_SDK_PATH", "Path to the macOS SDK", ""),
("vulkan_sdk_path", "Path to the Vulkan SDK", ""),
EnumVariable("macports_clang", "Build using Clang from MacPorts", "no", ("no", "5.0", "devel")),
EnumVariable("macports_clang", "Build using Clang from MacPorts", "no", ["no", "5.0", "devel"], ignorecase=2),
BoolVariable("use_ubsan", "Use LLVM/GCC compiler undefined behavior sanitizer (UBSAN)", False),
BoolVariable("use_asan", "Use LLVM/GCC compiler address sanitizer (ASAN)", False),
BoolVariable("use_tsan", "Use LLVM/GCC compiler thread sanitizer (TSAN)", False),