diff options
author | Brad King <brad.king@kitware.com> | 2001-12-10 16:03:44 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2001-12-10 16:03:44 (GMT) |
commit | ee31c3e0a433c8ed31eac4d8ae898c67c7a51b17 (patch) | |
tree | 38243b41866b811c6ec18c7f444d097881da60df /Source/cmSubdirDependsCommand.cxx | |
parent | a946931f91bfffe8ce06a9924beb424cb0233907 (diff) | |
download | CMake-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.cxx | 12 |
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; } |