diff options
author | Stephen Kelly <steveire@gmail.com> | 2015-07-18 12:32:09 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2015-07-19 14:01:39 (GMT) |
commit | 41bb831fc910d85d79811dc367b25c0880cbe6ac (patch) | |
tree | d5283d326117a628ecefb50c669edf595f9c1a1e /Source/cmMakefile.cxx | |
parent | 881613c4abbbca35223678d6b17da418958a0005 (diff) | |
download | CMake-41bb831fc910d85d79811dc367b25c0880cbe6ac.zip CMake-41bb831fc910d85d79811dc367b25c0880cbe6ac.tar.gz CMake-41bb831fc910d85d79811dc367b25c0880cbe6ac.tar.bz2 |
cmMakefile: Remove special handling of MACROS property.
Diffstat (limited to 'Source/cmMakefile.cxx')
-rw-r--r-- | Source/cmMakefile.cxx | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/Source/cmMakefile.cxx b/Source/cmMakefile.cxx index 3c8a41d2..14ef934 100644 --- a/Source/cmMakefile.cxx +++ b/Source/cmMakefile.cxx @@ -3817,18 +3817,6 @@ cmVariableWatch *cmMakefile::GetVariableWatch() const } #endif -void cmMakefile::AddMacro(const char* name) -{ - assert(name); - this->MacrosList.push_back(name); -} - -void cmMakefile::GetListOfMacros(std::string& macros) const -{ - assert(macros.empty()); - macros = cmJoin(this->MacrosList, ";"); -} - cmState *cmMakefile::GetState() const { return this->GetCMakeInstance()->GetState(); @@ -4265,11 +4253,6 @@ const char *cmMakefile::GetProperty(const std::string& prop, output = cmJoin(this->GetDefinitions(), ";"); return output.c_str(); } - else if (prop == "MACROS") - { - this->GetListOfMacros(output); - return output.c_str(); - } else if (prop == "INCLUDE_DIRECTORIES") { std::string sep; |