diff options
author | Ken Martin <ken.martin@kitware.com> | 2005-03-14 16:29:15 (GMT) |
---|---|---|
committer | Ken Martin <ken.martin@kitware.com> | 2005-03-14 16:29:15 (GMT) |
commit | 791aa6052b9033e89645b324b1c99222936981df (patch) | |
tree | fdd95f48321d8074e4c97eaba0b03da3e885d409 /Source/cmLocalUnixMakefileGenerator.cxx | |
parent | f7c024df2a2ae6b8cf5ba127ee764a55f81f06e6 (diff) | |
download | CMake-791aa6052b9033e89645b324b1c99222936981df.zip CMake-791aa6052b9033e89645b324b1c99222936981df.tar.gz CMake-791aa6052b9033e89645b324b1c99222936981df.tar.bz2 |
ENH: add support for out of source source
Diffstat (limited to 'Source/cmLocalUnixMakefileGenerator.cxx')
-rw-r--r-- | Source/cmLocalUnixMakefileGenerator.cxx | 23 |
1 files changed, 12 insertions, 11 deletions
diff --git a/Source/cmLocalUnixMakefileGenerator.cxx b/Source/cmLocalUnixMakefileGenerator.cxx index e18d73a..b06ba29 100644 --- a/Source/cmLocalUnixMakefileGenerator.cxx +++ b/Source/cmLocalUnixMakefileGenerator.cxx @@ -22,6 +22,7 @@ #include "cmMakeDepend.h" #include "cmCacheManager.h" #include "cmGeneratedFileStream.h" +#include "cmSubDirectory.h" #include <cmsys/RegularExpression.hxx> @@ -1738,15 +1739,15 @@ void cmLocalUnixMakefileGenerator::BuildInSubDirectory(std::ostream& fout, void -cmLocalUnixMakefileGenerator:: -OutputSubDirectoryVars(std::ostream& fout, - const char* var, - const char* target, - const char* target1, - const char* target2, - const char* depend, - const std::vector<std::pair<cmStdString, bool> >& SubDirectories, - bool silent, int order) +cmLocalUnixMakefileGenerator +::OutputSubDirectoryVars(std::ostream& fout, + const char* var, + const char* target, + const char* target1, + const char* target2, + const char* depend, + const std::vector<cmSubDirectory>& SubDirectories, + bool silent, int order) { if(!depend) { @@ -1762,7 +1763,7 @@ OutputSubDirectoryVars(std::ostream& fout, // make sure all the pre-order subdirectories are fist // other than that keep the same order that the user specified - std::vector<std::pair<cmStdString, bool> > orderedDirs; + std::vector<cmStdString> orderedDirs; // collect pre-order first for(ii =0; ii < SubDirectories.size(); ii++) { @@ -1847,7 +1848,7 @@ OutputSubDirectoryVars(std::ostream& fout, void cmLocalUnixMakefileGenerator::OutputSubDirectoryRules(std::ostream& fout) { // Output Sub directory build rules - const std::vector<std::pair<cmStdString, bool> >& SubDirectories + const std::map<std::string, cmSubDirectory>& SubDirectories = m_Makefile->GetSubDirectories(); if( SubDirectories.size() == 0) |