summaryrefslogtreecommitdiffstats
path: root/Source/cmTargetCompileDefinitionsCommand.cxx
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2013-01-29 16:43:28 (GMT)
committerStephen Kelly <steveire@gmail.com>2013-01-29 17:44:54 (GMT)
commitf6b16d4b0642d26111cddff714b464e22b715482 (patch)
tree2f9e9edc118a85091b9d7631f43830d1707029e6 /Source/cmTargetCompileDefinitionsCommand.cxx
parentb3a7e19ee479fda18b1dfe237fc4b78467c05fd7 (diff)
downloadCMake-f6b16d4b0642d26111cddff714b464e22b715482.zip
CMake-f6b16d4b0642d26111cddff714b464e22b715482.tar.gz
CMake-f6b16d4b0642d26111cddff714b464e22b715482.tar.bz2
Don't allow targets args in the new target commands.
Diffstat (limited to 'Source/cmTargetCompileDefinitionsCommand.cxx')
-rw-r--r--Source/cmTargetCompileDefinitionsCommand.cxx10
1 files changed, 0 insertions, 10 deletions
diff --git a/Source/cmTargetCompileDefinitionsCommand.cxx b/Source/cmTargetCompileDefinitionsCommand.cxx
index 683eff6..312d625 100644
--- a/Source/cmTargetCompileDefinitionsCommand.cxx
+++ b/Source/cmTargetCompileDefinitionsCommand.cxx
@@ -37,16 +37,6 @@ void cmTargetCompileDefinitionsCommand
this->Makefile->IssueMessage(cmake::FATAL_ERROR, e.str());
}
-bool cmTargetCompileDefinitionsCommand
-::HandleNonTargetArg(std::string &content,
- const std::string &sep,
- const std::string &entry,
- const std::string &)
-{
- content += sep + entry;
- return true;
-}
-
void cmTargetCompileDefinitionsCommand
::HandleDirectContent(cmTarget *tgt, const std::string &content,
bool)