diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2009-03-27 16:33:17 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2009-03-27 16:33:17 (GMT) |
commit | 17f327b5da08d165427ac6a81227cff5a7857011 (patch) | |
tree | f704c7797938e36cedc6fa457f70344052c982eb /Source/cmLocalVisualStudio7Generator.cxx | |
parent | a9bda84ba814f288ebea8a526c94c628abe4bbd4 (diff) | |
download | CMake-17f327b5da08d165427ac6a81227cff5a7857011.zip CMake-17f327b5da08d165427ac6a81227cff5a7857011.tar.gz CMake-17f327b5da08d165427ac6a81227cff5a7857011.tar.bz2 |
BUG: fix for #8686 add some more compiler flags
Diffstat (limited to 'Source/cmLocalVisualStudio7Generator.cxx')
-rw-r--r-- | Source/cmLocalVisualStudio7Generator.cxx | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/Source/cmLocalVisualStudio7Generator.cxx b/Source/cmLocalVisualStudio7Generator.cxx index 578a4d8..657933a 100644 --- a/Source/cmLocalVisualStudio7Generator.cxx +++ b/Source/cmLocalVisualStudio7Generator.cxx @@ -404,6 +404,8 @@ cmVS7FlagTable cmLocalVisualStudio7GeneratorFlagTable[] = {"WarningLevel", "W2", "Warning level", "2", 0}, {"WarningLevel", "W3", "Warning level", "3", 0}, {"WarningLevel", "W4", "Warning level", "4", 0}, + {"DisableSpecificWarnings", "wd", "Disable specific warnings", "", + cmVS7FlagTable::UserValue | cmVS7FlagTable::SemicolonAppendable}, // Precompiled header and related options. Note that the // UsePrecompiledHeader entries are marked as "Continue" so that the @@ -459,6 +461,15 @@ cmVS7FlagTable cmLocalVisualStudio7GeneratorLinkFlagTable[] = cmVS7FlagTable::UserValue | cmVS7FlagTable::SemicolonAppendable}, {"IgnoreAllDefaultLibraries", "NODEFAULTLIB", "ignore all default libs", "TRUE", 0}, + {"FixedBaseAddress", "FIXED:NO", "Generate a relocation section", "1", 0}, + {"FixedBaseAddress", "FIXED", "Image must be loaded at a fixed address", "2", 0}, + {"EnableCOMDATFolding", "OPT:NOICF", "Do not remove redundant COMDATs", "1", 0}, + {"EnableCOMDATFolding", "OPT:ICF", "Remove redundant COMDATs", "2", 0}, + {"OptimizeReferences", "OPT:NOREF", "Keep unreferenced data", "1", 0}, + {"OptimizeReferences", "OPT:REF", "Eliminate unreferenced data", "2", 0}, + {"TargetMachine", "MACHINE:I386", "Machine x86", "1", 0}, + {"TargetMachine", "MACHINE:X86", "Machine x86", "1", 0}, + {"TargetMachine", "MACHINE:X64", "Machine x64", "17", 0}, {"ModuleDefinitionFile", "DEF:", "add an export def file", "", cmVS7FlagTable::UserValue}, {"GenerateMapFile", "MAP", "enable generation of map file", "TRUE", 0}, |