Commit 3c264ce8 by John Kessenich Committed by GitHub

Merge pull request #639 from hrydgard/master

CMake: Add option to make it possible to not build the executables
parents 7a21a115 868746ad
...@@ -2,6 +2,7 @@ cmake_minimum_required(VERSION 2.8.11) ...@@ -2,6 +2,7 @@ cmake_minimum_required(VERSION 2.8.11)
set_property(GLOBAL PROPERTY USE_FOLDERS ON) set_property(GLOBAL PROPERTY USE_FOLDERS ON)
option(ENABLE_AMD_EXTENSIONS "Enables support of AMD-specific extensions" ON) option(ENABLE_AMD_EXTENSIONS "Enables support of AMD-specific extensions" ON)
option(ENABLE_GLSLANG_BINARIES "Builds glslangValidator and spirv-remap" ON)
option(ENABLE_NV_EXTENSIONS "Enables support of Nvidia-specific extensions" ON) option(ENABLE_NV_EXTENSIONS "Enables support of Nvidia-specific extensions" ON)
...@@ -58,7 +59,9 @@ add_subdirectory(External) ...@@ -58,7 +59,9 @@ add_subdirectory(External)
add_subdirectory(glslang) add_subdirectory(glslang)
add_subdirectory(OGLCompilersDLL) add_subdirectory(OGLCompilersDLL)
add_subdirectory(StandAlone) if(ENABLE_GLSLANG_BINARIES)
add_subdirectory(StandAlone)
endif()
add_subdirectory(SPIRV) add_subdirectory(SPIRV)
add_subdirectory(hlsl) add_subdirectory(hlsl)
add_subdirectory(gtests) add_subdirectory(gtests)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment