summaryrefslogtreecommitdiffstats
path: root/Source/cmBootstrapCommands.cxx
diff options
context:
space:
mode:
authorAlex Neundorf <neundorf@kde.org>2012-02-17 15:42:06 (GMT)
committerBrad King <brad.king@kitware.com>2012-02-21 20:33:40 (GMT)
commit61cb4ea72e608370b581bae9d9810ca6ae8f84d0 (patch)
tree7929d745d8a905111f79b39d9914b2e7424be8fe /Source/cmBootstrapCommands.cxx
parentc9f2886b3db9783eaa455c21288eabdc7e6366a1 (diff)
downloadCMake-61cb4ea72e608370b581bae9d9810ca6ae8f84d0.zip
CMake-61cb4ea72e608370b581bae9d9810ca6ae8f84d0.tar.gz
CMake-61cb4ea72e608370b581bae9d9810ca6ae8f84d0.tar.bz2
bootstrap: move while() and endwhile() into the bootstrap build
Alex
Diffstat (limited to 'Source/cmBootstrapCommands.cxx')
-rw-r--r--Source/cmBootstrapCommands.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/cmBootstrapCommands.cxx b/Source/cmBootstrapCommands.cxx
index cb5dc4c..9097a74 100644
--- a/Source/cmBootstrapCommands.cxx
+++ b/Source/cmBootstrapCommands.cxx
@@ -38,6 +38,7 @@
#include "cmEndFunctionCommand.cxx"
#include "cmEndIfCommand.cxx"
#include "cmEndMacroCommand.cxx"
+#include "cmEndWhileCommand.cxx"
#include "cmExecProgramCommand.cxx"
#include "cmExecuteProcessCommand.cxx"
#include "cmExternalMakefileProjectGenerator.cxx"
@@ -91,6 +92,7 @@
#include "cmTryCompileCommand.cxx"
#include "cmTryRunCommand.cxx"
#include "cmUnsetCommand.cxx"
+#include "cmWhileCommand.cxx"
void GetBootstrapCommands(std::list<cmCommand*>& commands)
{
@@ -116,6 +118,7 @@ void GetBootstrapCommands(std::list<cmCommand*>& commands)
commands.push_back(new cmEndFunctionCommand);
commands.push_back(new cmEndIfCommand);
commands.push_back(new cmEndMacroCommand);
+ commands.push_back(new cmEndWhileCommand);
commands.push_back(new cmExecProgramCommand);
commands.push_back(new cmExecuteProcessCommand);
commands.push_back(new cmFileCommand);
@@ -164,4 +167,5 @@ void GetBootstrapCommands(std::list<cmCommand*>& commands)
commands.push_back(new cmTryCompileCommand);
commands.push_back(new cmTryRunCommand);
commands.push_back(new cmUnsetCommand);
+ commands.push_back(new cmWhileCommand);
}