mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-25 13:31:37 +00:00
- 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)
|
cmake_minimum_required(VERSION 2.8.12)
|
||||||
|
|
||||||
|
make_release_only()
|
||||||
|
set( CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${ZD_FASTMATH_FLAG}" )
|
||||||
|
|
||||||
# Request C++11
|
# Request C++11
|
||||||
if(${CMAKE_VERSION} VERSION_LESS 3.1)
|
if(${CMAKE_VERSION} VERSION_LESS 3.1)
|
||||||
# CMake versions before 3.1 do not understand CMAKE_CXX_STANDARD
|
# CMake versions before 3.1 do not understand CMAKE_CXX_STANDARD
|
||||||
|
|
|
@ -1,5 +1,8 @@
|
||||||
cmake_minimum_required(VERSION 2.8.12)
|
cmake_minimum_required(VERSION 2.8.12)
|
||||||
|
|
||||||
|
make_release_only()
|
||||||
|
set( CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${ZD_FASTMATH_FLAG}" )
|
||||||
|
|
||||||
if(WIN32)
|
if(WIN32)
|
||||||
add_subdirectory(OSDependent/Windows)
|
add_subdirectory(OSDependent/Windows)
|
||||||
elseif(UNIX)
|
elseif(UNIX)
|
||||||
|
|
|
@ -1,5 +1,8 @@
|
||||||
cmake_minimum_required(VERSION 2.8.12)
|
cmake_minimum_required(VERSION 2.8.12)
|
||||||
|
|
||||||
|
make_release_only()
|
||||||
|
set( CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${ZD_FASTMATH_FLAG}" )
|
||||||
|
|
||||||
# Request C++11
|
# Request C++11
|
||||||
if(${CMAKE_VERSION} VERSION_LESS 3.1)
|
if(${CMAKE_VERSION} VERSION_LESS 3.1)
|
||||||
# CMake versions before 3.1 do not understand CMAKE_CXX_STANDARD
|
# CMake versions before 3.1 do not understand CMAKE_CXX_STANDARD
|
||||||
|
|
Loading…
Reference in a new issue