mirror of
https://github.com/ZDoom/qzdoom-gpl.git
synced 2024-11-22 20:11:17 +00:00
- CMake: The GL renderer requires fast Floating point math or performance will go down the drain.
- added CMake 'build' directory to .gitignore.
This commit is contained in:
parent
f239a40caa
commit
41856905be
2 changed files with 3 additions and 1 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -7,6 +7,7 @@
|
||||||
/Release
|
/Release
|
||||||
/wadsrc_wad
|
/wadsrc_wad
|
||||||
*.user
|
*.user
|
||||||
|
/build
|
||||||
/debug
|
/debug
|
||||||
/release
|
/release
|
||||||
*/debug
|
*/debug
|
||||||
|
|
|
@ -61,7 +61,8 @@ if( MSVC )
|
||||||
# String pooling
|
# String pooling
|
||||||
# Function-level linking
|
# Function-level linking
|
||||||
# Disable run-time type information
|
# Disable run-time type information
|
||||||
set( ALL_C_FLAGS "/GF /Gy /GR-" )
|
# Set floating point model to fast or the GL render will suffer for it.
|
||||||
|
set( ALL_C_FLAGS "/GF /Gy /GR- /fp:fast" )
|
||||||
|
|
||||||
# Avoid CRT DLL dependancies in release builds
|
# Avoid CRT DLL dependancies in release builds
|
||||||
set( REL_C_FLAGS "/MT" )
|
set( REL_C_FLAGS "/MT" )
|
||||||
|
|
Loading…
Reference in a new issue