[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

@ -30,7 +30,7 @@ def get_opts():
from SCons.Variables import BoolVariable, EnumVariable
return [
EnumVariable("linker", "Linker program", "default", ("default", "bfd", "gold", "lld", "mold")),
EnumVariable("linker", "Linker program", "default", ["default", "bfd", "gold", "lld", "mold"], ignorecase=2),
BoolVariable("use_llvm", "Use the LLVM compiler", False),
BoolVariable("use_static_cpp", "Link libgcc and libstdc++ statically for better portability", True),
BoolVariable("use_coverage", "Test Godot coverage", False),