2021-04-29 18:57:38 +00:00
|
|
|
set(ENABLE_PCH OFF CACHE BOOL "Enables Precompiled header" FORCE)
|
2020-02-20 07:52:51 +00:00
|
|
|
set(BUILD_EXTERNAL OFF CACHE BOOL "Build external dependencies in /External" FORCE)
|
2018-06-06 12:45:28 +00:00
|
|
|
set(SKIP_GLSLANG_INSTALL ON CACHE BOOL "Skip installation" FORCE)
|
2019-05-31 18:09:01 +00:00
|
|
|
set(ENABLE_SPVREMAPPER OFF CACHE BOOL "Enables building of SPVRemapper" FORCE)
|
2018-06-06 12:45:28 +00:00
|
|
|
set(ENABLE_GLSLANG_BINARIES OFF CACHE BOOL "Builds glslangValidator and spirv-remap" FORCE)
|
|
|
|
set(ENABLE_HLSL OFF CACHE BOOL "Enables HLSL input support" FORCE)
|
2020-02-20 07:52:51 +00:00
|
|
|
set(ENABLE_OPT OFF CACHE BOOL "Enables spirv-opt capability if present" FORCE)
|
|
|
|
set(ENABLE_CTEST OFF CACHE BOOL "Enables testing" FORCE)
|
2018-06-06 12:45:28 +00:00
|
|
|
add_subdirectory(glslang)
|
2020-05-03 20:32:35 +00:00
|
|
|
|
|
|
|
set(SKIP_SPIRV_TOOLS_INSTALL ON CACHE BOOL "Skip spirv-tools install" FORCE)
|
|
|
|
set(SPIRV-Headers_SOURCE_DIR "${CMAKE_CURRENT_SOURCE_DIR}/spirv-headers" CACHE STRING "spirv-headers path" FORCE)
|
|
|
|
add_subdirectory(spirv-tools)
|