Forráskód Böngészése

BUG: Need ADD_DEPENDENCIES command for MinGW bootstrap since kwsys uses the Win32 implementation of process execution.

Brad King 19 éve
szülő
commit
37bff40d5d
2 módosított fájl, 2 hozzáadás és 2 törlés
  1. 2 0
      Source/cmBootstrapCommands.cxx
  2. 0 2
      Source/cmCommands.cxx

+ 2 - 0
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);

+ 0 - 2
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);