- set the GLSL compiler to always be built as Release.
The compile times for the shaders in debug mode are simply far too long when compiled as Debug.
This commit is contained in:
parent
91dfebd211
commit
d3c02c75ba
3 changed files with 9 additions and 0 deletions
|
|
@ -1,5 +1,8 @@
|
|||
cmake_minimum_required(VERSION 2.8.12)
|
||||
|
||||
make_release_only()
|
||||
set( CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${ZD_FASTMATH_FLAG}" )
|
||||
|
||||
# Request C++11
|
||||
if(${CMAKE_VERSION} VERSION_LESS 3.1)
|
||||
# CMake versions before 3.1 do not understand CMAKE_CXX_STANDARD
|
||||
|
|
|
|||
|
|
@ -1,5 +1,8 @@
|
|||
cmake_minimum_required(VERSION 2.8.12)
|
||||
|
||||
make_release_only()
|
||||
set( CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${ZD_FASTMATH_FLAG}" )
|
||||
|
||||
if(WIN32)
|
||||
add_subdirectory(OSDependent/Windows)
|
||||
elseif(UNIX)
|
||||
|
|
|
|||
|
|
@ -1,5 +1,8 @@
|
|||
cmake_minimum_required(VERSION 2.8.12)
|
||||
|
||||
make_release_only()
|
||||
set( CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${ZD_FASTMATH_FLAG}" )
|
||||
|
||||
# Request C++11
|
||||
if(${CMAKE_VERSION} VERSION_LESS 3.1)
|
||||
# CMake versions before 3.1 do not understand CMAKE_CXX_STANDARD
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue