CMake: Collapse into a single library all the libraries under the glslang directory...
[platform/upstream/glslang.git] / CMakeLists.txt
index 712b937..d0c2f6d 100644 (file)
@@ -7,20 +7,11 @@ project(glslang)
 if(WIN32)\r
     set(CMAKE_GENERATOR_TOOLSET "v110" CACHE STRING "Platform Toolset" FORCE)\r
     include(ChooseMSVCCRT.cmake)\r
-    foreach(build_type ${CMAKE_CONFIGURATION_TYPES} ${CMAKE_BUILD_TYPE})\r
-        string(TOUPPER "${build_type}" build)\r
-        message("CMAKE_CXX_FLAGS_${build} are ${CMAKE_CXX_FLAGS_${build}}")\r
-    endforeach(build_type)\r
-\r
-    add_subdirectory(glslang/OSDependent/Windows)\r
 elseif(UNIX)\r
-    add_subdirectory(glslang/OSDependent/Linux)\r
 else(WIN32)\r
     message("unkown platform")\r
 endif(WIN32)\r
 \r
-add_subdirectory(glslang/MachineIndependent)\r
-add_subdirectory(glslang/MachineIndependent/preprocessor)\r
-add_subdirectory(glslang/GenericCodeGen)\r
+add_subdirectory(glslang)\r
 add_subdirectory(OGLCompilersDLL)\r
 add_subdirectory(StandAlone)\r