blob: d0c2f6d1af62e3b5d5e932dad7051ac9a8554f9b [file] [log] [blame]
John Kessenich71241d82014-03-12 02:34:44 +00001cmake_minimum_required(VERSION 2.8)
2
3set(CMAKE_INSTALL_PREFIX "install" CACHE STRING "prefix" FORCE)
4
5project(glslang)
6
7if(WIN32)
John Kesseniche564fc52014-03-28 18:07:35 +00008 set(CMAKE_GENERATOR_TOOLSET "v110" CACHE STRING "Platform Toolset" FORCE)
John Kessenich71241d82014-03-12 02:34:44 +00009 include(ChooseMSVCCRT.cmake)
John Kessenich71241d82014-03-12 02:34:44 +000010elseif(UNIX)
John Kessenich71241d82014-03-12 02:34:44 +000011else(WIN32)
12 message("unkown platform")
13endif(WIN32)
14
John Kessenichfde70342014-03-31 00:06:32 +000015add_subdirectory(glslang)
John Kessenich71241d82014-03-12 02:34:44 +000016add_subdirectory(OGLCompilersDLL)
17add_subdirectory(StandAlone)