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.h | |
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.h')
-rw-r--r-- | Source/cmSubdirDependsCommand.h | 19 |
1 files changed, 7 insertions, 12 deletions
diff --git a/Source/cmSubdirDependsCommand.h b/Source/cmSubdirDependsCommand.h index 523a47b..a3fbd26 100644 --- a/Source/cmSubdirDependsCommand.h +++ b/Source/cmSubdirDependsCommand.h @@ -45,15 +45,11 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. #include "cmCommand.h" /** \class cmSubdirDependsCommand - * \brief Specify a set of subdirectories which must be built before the - * given subdirectory. + * \brief Legacy command. Do not use. * - * cmSubdirDependsCommand specifies for one entry of a SUBDIRS command - * a set of the other entries that must be built before it. CMake - * will still walk the subdirectories in the order in which they - * appear in a SUBDIRS command, but the generated makefiles will be - * setup to be sure one directory is finished before another begins. - * This allows parallel builds to work correctly. + * cmSubdirDependsCommand has been left in CMake for compatability with + * projects already using it. Its functionality in supporting parallel + * builds is now automatic. The command does not do anything. */ class cmSubdirDependsCommand : public cmCommand { @@ -82,7 +78,7 @@ public: */ virtual const char* GetTerseDocumentation() { - return "Add a set of subdirectories on which another subdirectory depends."; + return "Legacy command. Does nothing."; } /** @@ -92,9 +88,8 @@ public: { return "SUBDIR_DEPENDS(subdir dep1 dep2 ...)\n" - "Add a set of subdirectories on which \"subdir\" depends.\n" - "This sets up the generated makefiles to build the subdirectries dep1, " - "dep2, ... before \"subdir\" itself."; + "Does not do anything. This command used to help projects order\n" + "parallel builds correctly. This functionality is now automatic."; } cmTypeMacro(cmSubdirDependsCommand, cmCommand); |