CMake: Collapse into a single library all the libraries under the glslang directory, and represent the proper hierarchy in MSVS. There are still a total of 3 libraries to link against: glslang, OGLCompiler, and OSDependent.
git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@26137 e7fa87d3-cd2b-0410-9028-fcbf551c1848
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 712b937..d0c2f6d 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -7,20 +7,11 @@
if(WIN32)
set(CMAKE_GENERATOR_TOOLSET "v110" CACHE STRING "Platform Toolset" FORCE)
include(ChooseMSVCCRT.cmake)
- foreach(build_type ${CMAKE_CONFIGURATION_TYPES} ${CMAKE_BUILD_TYPE})
- string(TOUPPER "${build_type}" build)
- message("CMAKE_CXX_FLAGS_${build} are ${CMAKE_CXX_FLAGS_${build}}")
- endforeach(build_type)
-
- add_subdirectory(glslang/OSDependent/Windows)
elseif(UNIX)
- add_subdirectory(glslang/OSDependent/Linux)
else(WIN32)
message("unkown platform")
endif(WIN32)
-add_subdirectory(glslang/MachineIndependent)
-add_subdirectory(glslang/MachineIndependent/preprocessor)
-add_subdirectory(glslang/GenericCodeGen)
+add_subdirectory(glslang)
add_subdirectory(OGLCompilersDLL)
add_subdirectory(StandAlone)