summaryrefslogtreecommitdiffstats
path: root/Source/cmMakefile.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2001-08-01 20:14:16 (GMT)
committerBrad King <brad.king@kitware.com>2001-08-01 20:14:16 (GMT)
commit8a03ccda075da86e9dcfc3ad5286aa0793d87619 (patch)
treead846f627db9aa6206b1d1ca61262dbe0ff2ab6d /Source/cmMakefile.cxx
parentfda98f856286aa5622e1fc00d7ef32196e04e9b5 (diff)
downloadCMake-8a03ccda075da86e9dcfc3ad5286aa0793d87619.zip
CMake-8a03ccda075da86e9dcfc3ad5286aa0793d87619.tar.gz
CMake-8a03ccda075da86e9dcfc3ad5286aa0793d87619.tar.bz2
ENH: Added SUBDIR_DEPENDS command and corresponding support code. This command allows specification that a set of subdirectories be built before a particular directory.
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,