summaryrefslogtreecommitdiffstats
path: root/Source/cmLocalVisualStudio6Generator.cxx
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2012-09-17 09:45:40 (GMT)
committerStephen Kelly <steveire@gmail.com>2012-09-19 13:32:13 (GMT)
commitd1446ca7a0d1de4ede995d64deef057c741ef0c2 (patch)
tree82e346c3c974e607081182bb3ddb86718a32b2e7 /Source/cmLocalVisualStudio6Generator.cxx
parent290e92ada86c5b74669be48ee901494ae8e48ee3 (diff)
downloadCMake-d1446ca7a0d1de4ede995d64deef057c741ef0c2.zip
CMake-d1446ca7a0d1de4ede995d64deef057c741ef0c2.tar.gz
CMake-d1446ca7a0d1de4ede995d64deef057c741ef0c2.tar.bz2
Append the COMPILE_DEFINITIONS from the Makefile to all targets.
This way we don't need to check the definitions from the Makefile when generating later, and can more easily add generator expressions. Duplication is not a problem as the definitions are de-duplicated before generating.
Diffstat (limited to 'Source/cmLocalVisualStudio6Generator.cxx')
-rw-r--r--Source/cmLocalVisualStudio6Generator.cxx16
1 files changed, 0 insertions, 16 deletions
diff --git a/Source/cmLocalVisualStudio6Generator.cxx b/Source/cmLocalVisualStudio6Generator.cxx
index d6af26b..adacd3b 100644
--- a/Source/cmLocalVisualStudio6Generator.cxx
+++ b/Source/cmLocalVisualStudio6Generator.cxx
@@ -1681,22 +1681,6 @@ void cmLocalVisualStudio6Generator
this->AppendDefines(
definesSet,
- this->Makefile->GetProperty("COMPILE_DEFINITIONS"));
- this->AppendDefines(
- debugDefinesSet,
- this->Makefile->GetProperty("COMPILE_DEFINITIONS_DEBUG"));
- this->AppendDefines(
- releaseDefinesSet,
- this->Makefile->GetProperty("COMPILE_DEFINITIONS_RELEASE"));
- this->AppendDefines(
- minsizeDefinesSet,
- this->Makefile->GetProperty("COMPILE_DEFINITIONS_MINSIZEREL"));
- this->AppendDefines(
- debugrelDefinesSet,
- this->Makefile->GetProperty("COMPILE_DEFINITIONS_RELWITHDEBINFO"));
-
- this->AppendDefines(
- definesSet,
target.GetProperty("COMPILE_DEFINITIONS"));
this->AppendDefines(
debugDefinesSet,