From bdc4974f882786311a456c0e245360e2a66e6257 Mon Sep 17 00:00:00 2001 From: Brad King Date: Sat, 3 Mar 2007 12:16:35 -0500 Subject: [PATCH] BUG: cmCreateTestSourceList command is needed at boostrap time because KWSys now uses test drivers. --- 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 a25da042b..57654aaa2 100644 --- a/Source/cmBootstrapCommands.cxx +++ b/Source/cmBootstrapCommands.cxx @@ -29,6 +29,7 @@ #include "cmBuildCommand.cxx" #include "cmCMakeMinimumRequired.cxx" #include "cmConfigureFileCommand.cxx" +#include "cmCreateTestSourceList.cxx" #include "cmElseCommand.cxx" #include "cmEnableTestingCommand.cxx" #include "cmEndForEachCommand.cxx" @@ -79,6 +80,7 @@ void GetBootstrapCommands(std::list& commands) commands.push_back(new cmBuildCommand); commands.push_back(new cmCMakeMinimumRequired); commands.push_back(new cmConfigureFileCommand); + commands.push_back(new cmCreateTestSourceList); commands.push_back(new cmElseCommand); commands.push_back(new cmEnableTestingCommand); commands.push_back(new cmEndForEachCommand); diff --git a/Source/cmCommands.cxx b/Source/cmCommands.cxx index ac188be25..3ecc82cdb 100644 --- a/Source/cmCommands.cxx +++ b/Source/cmCommands.cxx @@ -19,7 +19,6 @@ #include "cmAddSubDirectoryCommand.cxx" #include "cmAuxSourceDirectoryCommand.cxx" #include "cmBuildNameCommand.cxx" -#include "cmCreateTestSourceList.cxx" #include "cmDefinePropertyCommand.cxx" #include "cmElseIfCommand.cxx" #include "cmEnableLanguageCommand.cxx" @@ -72,7 +71,6 @@ void GetPredefinedCommands(std::list& commands.push_back(new cmAddSubDirectoryCommand); commands.push_back(new cmAuxSourceDirectoryCommand); commands.push_back(new cmBuildNameCommand); - commands.push_back(new cmCreateTestSourceList); commands.push_back(new cmDefinePropertyCommand); commands.push_back(new cmElseIfCommand); commands.push_back(new cmEnableLanguageCommand);