diff options
Diffstat (limited to 'premake5.lua')
| -rw-r--r-- | premake5.lua | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/premake5.lua b/premake5.lua index 862d42662..05a249a97 100644 --- a/premake5.lua +++ b/premake5.lua @@ -76,6 +76,14 @@ newoption { allowed = { {"cygwin"}, {"mingw"} } } +newoption { + trigger = "build-glslang", + description = "(Optional) If true glslang and spirv-opt will be built", + value = "bool", + default = "false", + allowed = { { "true", "True"}, { "false", "False" } } +} + buildLocation = _OPTIONS["build-location"] executeBinary = (_OPTIONS["execute-binary"] == "true") targetDetail = _OPTIONS["target-detail"] |
