summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-07-28 16:30:15 (GMT)
committerBrad King <brad.king@kitware.com>2015-07-29 14:43:31 (GMT)
commit34b902a5a6fd55ef3857d74aab986a8d96d57659 (patch)
treeaf78f7be7aa49a9fc2a81b160ad30f379372219e
parentaaa322a5cb5603742273282fb12f1e368697a625 (diff)
downloadCMake-34b902a5a6fd55ef3857d74aab986a8d96d57659.zip
CMake-34b902a5a6fd55ef3857d74aab986a8d96d57659.tar.gz
CMake-34b902a5a6fd55ef3857d74aab986a8d96d57659.tar.bz2
cmMakefile: Move method out of line.
-rw-r--r--Source/cmMakefile.cxx5
-rw-r--r--Source/cmMakefile.h5
2 files changed, 6 insertions, 4 deletions
diff --git a/Source/cmMakefile.cxx b/Source/cmMakefile.cxx
index 17bde41..20c56ba 100644
--- a/Source/cmMakefile.cxx
+++ b/Source/cmMakefile.cxx
@@ -1906,6 +1906,11 @@ const char* cmMakefile::GetCurrentBinaryDirectory() const
return this->StateSnapshot.GetDirectory().GetCurrentBinary();
}
+void cmMakefile::AddGeneratorTarget(cmTarget* t, cmGeneratorTarget* gt)
+{
+ this->GeneratorTargets[t] = gt;
+}
+
//----------------------------------------------------------------------------
void cmMakefile::AddIncludeDirectories(const std::vector<std::string> &incs,
bool before)
diff --git a/Source/cmMakefile.h b/Source/cmMakefile.h
index 4fa5822..1e5c301 100644
--- a/Source/cmMakefile.h
+++ b/Source/cmMakefile.h
@@ -417,10 +417,7 @@ public:
{
this->GeneratorTargets = targets;
}
- void AddGeneratorTarget(cmTarget* t, cmGeneratorTarget* gt)
- {
- this->GeneratorTargets[t] = gt;
- }
+ void AddGeneratorTarget(cmTarget* t, cmGeneratorTarget* gt);
cmTarget* FindTarget(const std::string& name,
bool excludeAliases = false) const;