summaryrefslogtreecommitdiffstats
path: root/Source/cmLocalVisualStudio7Generator.cxx
diff options
context:
space:
mode:
authorJames Bigler <jamesbigler@gmail.com>2011-01-29 00:03:39 (GMT)
committerDavid Cole <david.cole@kitware.com>2011-01-31 19:47:46 (GMT)
commitd503206fbea7aab6a4eaae08acf1ab53b0997df3 (patch)
tree5c31618139ae9f5aeeb56775a4ab48c29d9412fa /Source/cmLocalVisualStudio7Generator.cxx
parent76976a59e9edc550fbf5b7b7ac4dbc381c02d139 (diff)
downloadCMake-d503206fbea7aab6a4eaae08acf1ab53b0997df3.zip
CMake-d503206fbea7aab6a4eaae08acf1ab53b0997df3.tar.gz
CMake-d503206fbea7aab6a4eaae08acf1ab53b0997df3.tar.bz2
Add FloatingPointModel to the list of known VS7 generator flags.
Added FloatingPointModel with /fp:precise, /fp:strict, and /fp:fast.
Diffstat (limited to 'Source/cmLocalVisualStudio7Generator.cxx')
-rw-r--r--Source/cmLocalVisualStudio7Generator.cxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/cmLocalVisualStudio7Generator.cxx b/Source/cmLocalVisualStudio7Generator.cxx
index e839ed3..f65a134 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},