summaryrefslogtreecommitdiffstats
path: root/Source/cmSubdirDependsCommand.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2001-12-10 16:03:44 (GMT)
committerBrad King <brad.king@kitware.com>2001-12-10 16:03:44 (GMT)
commitee31c3e0a433c8ed31eac4d8ae898c67c7a51b17 (patch)
tree38243b41866b811c6ec18c7f444d097881da60df /Source/cmSubdirDependsCommand.cxx
parenta946931f91bfffe8ce06a9924beb424cb0233907 (diff)
downloadCMake-ee31c3e0a433c8ed31eac4d8ae898c67c7a51b17.zip
CMake-ee31c3e0a433c8ed31eac4d8ae898c67c7a51b17.tar.gz
CMake-ee31c3e0a433c8ed31eac4d8ae898c67c7a51b17.tar.bz2
ENH: SUBDIR_DEPENDS command now does nothing. The parallel build functionality is now automatic. Dependencies are setup to force the same build order as a single threaded build, but multiple files in the same directory can be built simultaneously. Also fixed bug with inheriting CMakeLists.txt files when a directory level is skipped.
Diffstat (limited to 'Source/cmSubdirDependsCommand.cxx')
-rw-r--r--Source/cmSubdirDependsCommand.cxx12
1 files changed, 0 insertions, 12 deletions
diff --git a/Source/cmSubdirDependsCommand.cxx b/Source/cmSubdirDependsCommand.cxx
index 9d92da4..3fbcc55 100644
--- a/Source/cmSubdirDependsCommand.cxx
+++ b/Source/cmSubdirDependsCommand.cxx
@@ -43,18 +43,6 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
// cmSubdirDependsCommand
bool cmSubdirDependsCommand::InitialPass(std::vector<std::string> const& args)
{
- if(args.size() < 2)
- {
- this->SetError("called with incorrect number of arguments");
- return false;
- }
- std::vector<std::string>::const_iterator i = args.begin();
- std::string subdir = *i;
-
- for(++i; i != args.end(); ++i)
- {
- m_Makefile->AddSubdirDependency(subdir.c_str(), i->c_str());
- }
return true;
}