[Scons-users] EnumVariables case-insensitiv

Philipp Kraus philipp.kraus at tu-clausthal.de
Sun Mar 9 11:49:48 EDT 2014


Hello,

I use in my build script some EnumVariables, but I call the SCons script from my IDE (Xcode).
XCode calls the script with case-sensitive values, so if I define the EnumVariable e.g. with "release", "debug"
XCode calls it with "Release" and "Debug" and I get an error "invalid value for option".
Can I define the EnumVariable case-insensitiv, here all lower-case?

Thanks

Phil


More information about the Scons-users mailing list