blob: 51a8395fd966d6ee64a62cb6f4c65bae19278144 [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 Kessenich078c0102014-04-14 14:45:55 +000011 add_definitions(-fPIC)
John Kessenich71241d82014-03-12 02:34:44 +000012else(WIN32)
13 message("unkown platform")
14endif(WIN32)
15
John Kessenichfde70342014-03-31 00:06:32 +000016add_subdirectory(glslang)
John Kessenich71241d82014-03-12 02:34:44 +000017add_subdirectory(OGLCompilersDLL)
18add_subdirectory(StandAlone)
John Kessenich0df0cde2015-03-03 17:09:43 +000019add_subdirectory(SPIRV)