summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Modules/Platform/Windows-cl.cmake6
-rw-r--r--Source/cmLocalVisualStudio7Generator.cxx11
2 files changed, 1 insertions, 16 deletions
diff --git a/Modules/Platform/Windows-cl.cmake b/Modules/Platform/Windows-cl.cmake
index a2338ef..a89105a 100644
--- a/Modules/Platform/Windows-cl.cmake
+++ b/Modules/Platform/Windows-cl.cmake
@@ -66,11 +66,7 @@ IF(CMAKE_GENERATOR MATCHES "Visual Studio 7" OR CMAKE_GENERATOR MATCHES "Visual
SET (CMAKE_NO_BUILD_TYPE 1)
SET (CMAKE_CONFIGURATION_TYPES "Debug;Release;MinSizeRel;RelWithDebInfo" CACHE STRING
"Semicolon separated list of supported configuration types, only supports Debug, Release, MinSizeRel, and RelWithDebInfo, anything else will be ignored.")
- SET (CMAKE_CXX_WARNING_LEVEL "3" CACHE STRING
- "Default compiler warning level for C++.")
- SET (CMAKE_CXX_STACK_SIZE "10000000" CACHE STRING
- "Size of stack for programs.")
- MARK_AS_ADVANCED(CMAKE_CONFIGURATION_TYPES CMAKE_CXX_STACK_SIZE CMAKE_CXX_WARNING_LEVEL)
+ MARK_AS_ADVANCED(CMAKE_CONFIGURATION_TYPES)
ENDIF(CMAKE_GENERATOR MATCHES "Visual Studio 7" OR CMAKE_GENERATOR MATCHES "Visual Studio 8")
# does the compiler support pdbtype and is it the newer compiler
IF(CMAKE_GENERATOR MATCHES "Visual Studio 8")
diff --git a/Source/cmLocalVisualStudio7Generator.cxx b/Source/cmLocalVisualStudio7Generator.cxx
index ee1c014..abfaa71 100644
--- a/Source/cmLocalVisualStudio7Generator.cxx
+++ b/Source/cmLocalVisualStudio7Generator.cxx
@@ -587,17 +587,6 @@ void cmLocalVisualStudio7Generator::WriteConfiguration(std::ostream& fout,
targetOptions.AddDefine(exportSymbol);
}
- // Override the flag map with cmake-specific settings.
- if(this->Makefile->IsOn("CMAKE_CXX_USE_RTTI"))
- {
- targetOptions.AddFlag("RuntimeTypeInfo", "TRUE");
- }
- if(const char* warningLevel =
- this->Makefile->GetDefinition("CMAKE_CXX_WARNING_LEVEL"))
- {
- targetOptions.AddFlag("WarningLevel", warningLevel);
- }
-
// The intermediate directory name consists of a directory for the
// target and a subdirectory for the configuration name.
std::string intermediateDir = this->GetTargetDirectory(target);