From d503206fbea7aab6a4eaae08acf1ab53b0997df3 Mon Sep 17 00:00:00 2001 From: James Bigler Date: Fri, 28 Jan 2011 17:03:39 -0700 Subject: [PATCH] Add FloatingPointModel to the list of known VS7 generator flags. Added FloatingPointModel with /fp:precise, /fp:strict, and /fp:fast. --- Source/cmLocalVisualStudio7Generator.cxx | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Source/cmLocalVisualStudio7Generator.cxx b/Source/cmLocalVisualStudio7Generator.cxx index e839ed350..f65a134e3 100644 --- a/Source/cmLocalVisualStudio7Generator.cxx +++ b/Source/cmLocalVisualStudio7Generator.cxx @@ -381,6 +381,11 @@ cmVS7FlagTable cmLocalVisualStudio7GeneratorFlagTable[] = "Use sse2 instructions", "2", 0}, {"EnableEnhancedInstructionSet", "arch:SSE", "Use sse instructions", "1", 0}, + {"FloatingPointModel", "fp:precise", + "Use precise floating point model", "0", 0}, + {"FloatingPointModel", "fp:strict", + "Use strict floating point model", "1", 0}, + {"FloatingPointModel", "fp:fast", "Use fast floating point model", "2", 0}, {"FavorSizeOrSpeed", "Ot", "Favor fast code", "1", 0}, {"FavorSizeOrSpeed", "Os", "Favor small code", "2", 0}, {"CompileAs", "TC", "Compile as c code", "1", 0},