summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2003-07-08 02:41:27 (GMT)
committerBrad King <brad.king@kitware.com>2003-07-08 02:41:27 (GMT)
commit91f8f884902aac81a7e8d30621eb3d34b8f1d30e (patch)
tree4a48a6fbec10ab573de501ce9138df4e233fd0bc /Source
parente5ed57ec18e1cd1d460bd77391db15a5d4afdcc1 (diff)
downloadCMake-91f8f884902aac81a7e8d30621eb3d34b8f1d30e.zip
CMake-91f8f884902aac81a7e8d30621eb3d34b8f1d30e.tar.gz
CMake-91f8f884902aac81a7e8d30621eb3d34b8f1d30e.tar.bz2
ENH: Made ADD_DEPENDENCIES available from bootstrapped cmake. It will be needed to build cmake.
Diffstat (limited to 'Source')
-rw-r--r--Source/cmCommands.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmCommands.cxx b/Source/cmCommands.cxx
index e393413..ccb2d69 100644
--- a/Source/cmCommands.cxx
+++ b/Source/cmCommands.cxx
@@ -21,6 +21,7 @@
#include "cmCommands.h"
#include "cmAddCustomTargetCommand.cxx"
#include "cmAddDefinitionsCommand.cxx"
+#include "cmAddDependenciesCommand.cxx"
#include "cmAddExecutableCommand.cxx"
#include "cmAddLibraryCommand.cxx"
#include "cmAddTestCommand.cxx"
@@ -74,7 +75,6 @@
#if defined(CMAKE_BUILD_WITH_CMAKE)
#include "cmAbstractFilesCommand.cxx"
#include "cmAddCustomCommandCommand.cxx"
-#include "cmAddDependenciesCommand.cxx"
#include "cmAuxSourceDirectoryCommand.cxx"
#include "cmExportLibraryDependencies.cxx"
#include "cmFLTKWrapUICommand.cxx"
@@ -113,6 +113,7 @@ void GetPredefinedCommands(std::list<cmCommand*>& commands)
{
commands.push_back(new cmAddCustomTargetCommand);
commands.push_back(new cmAddDefinitionsCommand);
+ commands.push_back(new cmAddDependenciesCommand);
commands.push_back(new cmAddExecutableCommand);
commands.push_back(new cmAddLibraryCommand);
commands.push_back(new cmAddTestCommand);
@@ -163,7 +164,6 @@ void GetPredefinedCommands(std::list<cmCommand*>& commands)
#if defined(CMAKE_BUILD_WITH_CMAKE)
commands.push_back(new cmAbstractFilesCommand);
commands.push_back(new cmAddCustomCommandCommand);
- commands.push_back(new cmAddDependenciesCommand);
commands.push_back(new cmAuxSourceDirectoryCommand);
commands.push_back(new cmExportLibraryDependenciesCommand);
commands.push_back(new cmFLTKWrapUICommand);