Quellcode durchsuchen

Add FloatingPointModel to the list of known VS7 generator flags.

Added FloatingPointModel with /fp:precise, /fp:strict, and /fp:fast.
James Bigler vor 14 Jahren
Ursprung
Commit
d503206fbe
1 geänderte Dateien mit 5 neuen und 0 gelöschten Zeilen
  1. 5 0
      Source/cmLocalVisualStudio7Generator.cxx

+ 5 - 0
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},