瀏覽代碼

Add FloatingPointModel to the list of known VS7 generator flags.

Added FloatingPointModel with /fp:precise, /fp:strict, and /fp:fast.
James Bigler 15 年之前
父節點
當前提交
d503206fbe
共有 1 個文件被更改,包括 5 次插入0 次删除
  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},