diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2004-06-14 16:16:25 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2004-06-14 16:16:25 (GMT) |
commit | b6466061cb06189fa6fdac1e542cb7fbad7dabfd (patch) | |
tree | b2f28d315c2f82920a043516ba0b1809180d73a0 /Source | |
parent | a18fbc3b37e9ee8648fd701c5eb76bc467a4478a (diff) | |
download | CMake-b6466061cb06189fa6fdac1e542cb7fbad7dabfd.zip CMake-b6466061cb06189fa6fdac1e542cb7fbad7dabfd.tar.gz CMake-b6466061cb06189fa6fdac1e542cb7fbad7dabfd.tar.bz2 |
ENH: add NDEBUG to windows release builds for both ide and nmake
Diffstat (limited to 'Source')
-rw-r--r-- | Source/cmLocalVisualStudio7Generator.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/cmLocalVisualStudio7Generator.cxx b/Source/cmLocalVisualStudio7Generator.cxx index bd17fd8..3ab48d3 100644 --- a/Source/cmLocalVisualStudio7Generator.cxx +++ b/Source/cmLocalVisualStudio7Generator.cxx @@ -299,7 +299,7 @@ void cmLocalVisualStudio7Generator::WriteConfiguration(std::ostream& fout, { inlineFunctions = 1; optimized =2; - pre = "WIN32,NDEBUG,_WINDOWS"; + pre = "WIN32,_WINDOWS"; flags += flagsRelease; runtime = 2; } @@ -308,7 +308,7 @@ void cmLocalVisualStudio7Generator::WriteConfiguration(std::ostream& fout, inlineFunctions = 1; runtime = 2; optimized = 1; - pre = "WIN32,NDEBUG,_WINDOWS"; + pre = "WIN32,_WINDOWS"; flags += flagsMinSize; } else if(strcmp(configName, "RelWithDebInfo") == 0) @@ -316,7 +316,7 @@ void cmLocalVisualStudio7Generator::WriteConfiguration(std::ostream& fout, inlineFunctions = 1; optimized = 2; runtime = 2; - pre = "WIN32,NDEBUG,_WINDOWS"; + pre = "WIN32,_WINDOWS"; flags += flagsDebugRel; std::string libpath = m_LibraryOutputPath + "$(OutDir)/" + libName + debugPostfix + ".pdb"; |