2021-04-29 20:57:38 +02:00
|
|
|
set(ENABLE_PCH OFF CACHE BOOL "Enables Precompiled header" FORCE)
|
2020-02-20 08:52:51 +01:00
|
|
|
set(BUILD_EXTERNAL OFF CACHE BOOL "Build external dependencies in /External" FORCE)
|
2018-06-06 14:45:28 +02:00
|
|
|
set(SKIP_GLSLANG_INSTALL ON CACHE BOOL "Skip installation" FORCE)
|
2019-05-31 20:09:01 +02:00
|
|
|
set(ENABLE_SPVREMAPPER OFF CACHE BOOL "Enables building of SPVRemapper" FORCE)
|
2018-06-06 14:45:28 +02: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 08:52:51 +01: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 14:45:28 +02:00
|
|
|
add_subdirectory(glslang)
|
2020-05-03 22:32:35 +02: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)
|