- 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:
Christoph Oelckers 2013-10-09 13:06:18 +02:00
parent f239a40caa
commit 41856905be
2 changed files with 3 additions and 1 deletions

1
.gitignore vendored
View File

@ -7,6 +7,7 @@
/Release
/wadsrc_wad
*.user
/build
/debug
/release
*/debug

View File

@ -61,7 +61,8 @@ if( MSVC )
# String pooling
# Function-level linking
# 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
set( REL_C_FLAGS "/MT" )