John Kessenich | 71241d8 | 2014-03-12 02:34:44 +0000 | [diff] [blame] | 1 | cmake_minimum_required(VERSION 2.8)
|
| 2 |
|
| 3 | set(CMAKE_INSTALL_PREFIX "install" CACHE STRING "prefix" FORCE)
|
| 4 |
|
| 5 | project(glslang)
|
| 6 |
|
| 7 | if(WIN32)
|
John Kessenich | e564fc5 | 2014-03-28 18:07:35 +0000 | [diff] [blame] | 8 | set(CMAKE_GENERATOR_TOOLSET "v110" CACHE STRING "Platform Toolset" FORCE)
|
John Kessenich | 71241d8 | 2014-03-12 02:34:44 +0000 | [diff] [blame] | 9 | include(ChooseMSVCCRT.cmake)
|
John Kessenich | 71241d8 | 2014-03-12 02:34:44 +0000 | [diff] [blame] | 10 | elseif(UNIX)
|
John Kessenich | 71241d8 | 2014-03-12 02:34:44 +0000 | [diff] [blame] | 11 | else(WIN32)
|
| 12 | message("unkown platform")
|
| 13 | endif(WIN32)
|
| 14 |
|
John Kessenich | fde7034 | 2014-03-31 00:06:32 +0000 | [diff] [blame^] | 15 | add_subdirectory(glslang)
|
John Kessenich | 71241d8 | 2014-03-12 02:34:44 +0000 | [diff] [blame] | 16 | add_subdirectory(OGLCompilersDLL)
|
| 17 | add_subdirectory(StandAlone)
|