summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2006-04-19 14:50:15 (GMT)
committerBrad King <brad.king@kitware.com>2006-04-19 14:50:15 (GMT)
commit37bff40d5da3ef03e80e7a7ea4a05099b05861f4 (patch)
tree84d5d2fb32fa5168a846a52a36ff83813a614732
parent864c0292d5e7ddc82d97676b3b371a0eadbb1c09 (diff)
downloadCMake-37bff40d5da3ef03e80e7a7ea4a05099b05861f4.zip
CMake-37bff40d5da3ef03e80e7a7ea4a05099b05861f4.tar.gz
CMake-37bff40d5da3ef03e80e7a7ea4a05099b05861f4.tar.bz2
BUG: Need ADD_DEPENDENCIES command for MinGW bootstrap since kwsys uses the Win32 implementation of process execution.
-rw-r--r--Source/cmBootstrapCommands.cxx2
-rw-r--r--Source/cmCommands.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmBootstrapCommands.cxx b/Source/cmBootstrapCommands.cxx
index 7eafd34..a25da04 100644
--- a/Source/cmBootstrapCommands.cxx
+++ b/Source/cmBootstrapCommands.cxx
@@ -22,6 +22,7 @@
#include "cmAddCustomCommandCommand.cxx"
#include "cmAddCustomTargetCommand.cxx"
#include "cmAddDefinitionsCommand.cxx"
+#include "cmAddDependenciesCommand.cxx"
#include "cmAddExecutableCommand.cxx"
#include "cmAddLibraryCommand.cxx"
#include "cmAddTestCommand.cxx"
@@ -71,6 +72,7 @@ void GetBootstrapCommands(std::list<cmCommand*>& commands)
commands.push_back(new cmAddCustomCommandCommand);
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);
diff --git a/Source/cmCommands.cxx b/Source/cmCommands.cxx
index f3bf189..26b098a 100644
--- a/Source/cmCommands.cxx
+++ b/Source/cmCommands.cxx
@@ -16,7 +16,6 @@
=========================================================================*/
#include "cmCommands.h"
#if defined(CMAKE_BUILD_WITH_CMAKE)
-#include "cmAddDependenciesCommand.cxx"
#include "cmAddSubDirectoryCommand.cxx"
#include "cmAuxSourceDirectoryCommand.cxx"
#include "cmBuildNameCommand.cxx"
@@ -70,7 +69,6 @@ void GetPredefinedCommands(std::list<cmCommand*>&
)
{
#if defined(CMAKE_BUILD_WITH_CMAKE)
- commands.push_back(new cmAddDependenciesCommand);
commands.push_back(new cmAddSubDirectoryCommand);
commands.push_back(new cmAuxSourceDirectoryCommand);
commands.push_back(new cmBuildNameCommand);