summaryrefslogtreecommitdiffstats
path: root/Source/cmMakefile.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmMakefile.cxx')
-rw-r--r--Source/cmMakefile.cxx6
1 files changed, 6 insertions, 0 deletions
diff --git a/Source/cmMakefile.cxx b/Source/cmMakefile.cxx
index a509de8..f1187f9 100644
--- a/Source/cmMakefile.cxx
+++ b/Source/cmMakefile.cxx
@@ -552,6 +552,12 @@ void cmMakefile::AddSubDirectory(const char* sub)
m_SubDirectories.push_back(sub);
}
+void cmMakefile::AddSubdirDependency(const char* subdir,
+ const char* dependency)
+{
+ m_SubdirDepends[subdir].insert(dependency);
+}
+
void cmMakefile::AddIncludeDirectory(const char* inc)
{
// Don't add an include directory that is already present. Yes,