From 16b48b50dd9be097a88757f955afd702322a1dfc Mon Sep 17 00:00:00 2001 From: Pan7 Date: Mon, 14 Jul 2014 03:43:03 +0200 Subject: [PATCH] -ffast-math for msvc --- misc/msvc/opengl1.vcproj | 4 ++++ misc/msvc/opengl2.vcproj | 4 ++++ misc/msvc/quake3.vcproj | 4 ++++ misc/msvc10/quake3.vcxproj | 8 ++++++++ misc/msvc11/quake3.vcxproj | 8 ++++++++ 5 files changed, 28 insertions(+) diff --git a/misc/msvc/opengl1.vcproj b/misc/msvc/opengl1.vcproj index 6dc6973f..a1daff6b 100644 --- a/misc/msvc/opengl1.vcproj +++ b/misc/msvc/opengl1.vcproj @@ -61,6 +61,7 @@ WarningLevel="4" SuppressStartupBanner="true" CompileAs="1" + FloatingPointModel="2" /> Level4 true CompileAsC + Fast NDEBUG;%(PreprocessorDefinitions) @@ -220,6 +221,7 @@ Level4 true CompileAsC + Fast NDEBUG;%(PreprocessorDefinitions) @@ -273,6 +275,7 @@ true EditAndContinue CompileAsC + Fast _DEBUG;%(PreprocessorDefinitions) @@ -327,6 +330,7 @@ true ProgramDatabase CompileAsC + Fast FastCall @@ -382,6 +386,7 @@ Level4 true CompileAsC + Fast NDEBUG;%(PreprocessorDefinitions) @@ -430,6 +435,7 @@ Level4 true CompileAsC + Fast NDEBUG;%(PreprocessorDefinitions) @@ -478,6 +484,7 @@ true EditAndContinue CompileAsC + Fast _DEBUG;%(PreprocessorDefinitions) @@ -532,6 +539,7 @@ true ProgramDatabase CompileAsC + Fast _DEBUG;%(PreprocessorDefinitions) diff --git a/misc/msvc11/quake3.vcxproj b/misc/msvc11/quake3.vcxproj index 4f203d9e..1c26fda8 100644 --- a/misc/msvc11/quake3.vcxproj +++ b/misc/msvc11/quake3.vcxproj @@ -188,6 +188,7 @@ Level4 true CompileAsC + Fast NDEBUG;%(PreprocessorDefinitions) @@ -241,6 +242,7 @@ Level4 true CompileAsC + Fast NDEBUG;%(PreprocessorDefinitions) @@ -294,6 +296,7 @@ true EditAndContinue CompileAsC + Fast _DEBUG;%(PreprocessorDefinitions) @@ -349,6 +352,7 @@ true ProgramDatabase CompileAsC + Fast FastCall @@ -404,6 +408,7 @@ Level4 true CompileAsC + Fast NDEBUG;%(PreprocessorDefinitions) @@ -453,6 +458,7 @@ Level4 true CompileAsC + Fast NDEBUG;%(PreprocessorDefinitions) @@ -501,6 +507,7 @@ true EditAndContinue CompileAsC + Fast _DEBUG;%(PreprocessorDefinitions) @@ -556,6 +563,7 @@ true ProgramDatabase CompileAsC + Fast _DEBUG;%(PreprocessorDefinitions)