- 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 /Release
/wadsrc_wad /wadsrc_wad
*.user *.user
/build
/debug /debug
/release /release
*/debug */debug

View file

@ -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" )