From 37bff40d5da3ef03e80e7a7ea4a05099b05861f4 Mon Sep 17 00:00:00 2001 From: Brad King Date: Wed, 19 Apr 2006 10:50:15 -0400 Subject: [PATCH] BUG: Need ADD_DEPENDENCIES command for MinGW bootstrap since kwsys uses the Win32 implementation of process execution. --- Source/cmBootstrapCommands.cxx | 2 ++ Source/cmCommands.cxx | 2 -- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/cmBootstrapCommands.cxx b/Source/cmBootstrapCommands.cxx index 7eafd346d..a25da042b 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& 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 f3bf189b7..26b098afc 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& ) { #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);