diff options
author | Brad King <brad.king@kitware.com> | 2008-02-13 19:47:03 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2008-02-13 19:47:03 (GMT) |
commit | ad95a57509380ba9050379a76dec305f4957eab7 (patch) | |
tree | 691eceebd537662e7e89339f473779b4ac9b653e /Source | |
parent | 9439cbd4baf0474b5dd05331cb7de31b48f045d1 (diff) | |
download | CMake-ad95a57509380ba9050379a76dec305f4957eab7.zip CMake-ad95a57509380ba9050379a76dec305f4957eab7.tar.gz CMake-ad95a57509380ba9050379a76dec305f4957eab7.tar.bz2 |
ENH: Add option to bootstrap script to enable Qt dialog.
- Add --qt-gui and --no-qt-gui options
- Add --qt-qmake=<qmake> option to help locate Qt
- Build more commands during bootstrap to help FindQt4.cmake:
MATH, GET_DIRECTORY_PROPERTY, EXECUTE_PROCESS,
SEPARATE_ARGUMENTS
- Bootstrapping with the cmake-gui is now possible in MSys
Diffstat (limited to 'Source')
-rw-r--r-- | Source/cmBootstrapCommands.cxx | 8 | ||||
-rw-r--r-- | Source/cmCommands.cxx | 8 |
2 files changed, 8 insertions, 8 deletions
diff --git a/Source/cmBootstrapCommands.cxx b/Source/cmBootstrapCommands.cxx index ac1471d..197ee2b 100644 --- a/Source/cmBootstrapCommands.cxx +++ b/Source/cmBootstrapCommands.cxx @@ -41,6 +41,7 @@ #include "cmEndIfCommand.cxx" #include "cmEndMacroCommand.cxx" #include "cmExecProgramCommand.cxx" +#include "cmExecuteProcessCommand.cxx" #include "cmExternalMakefileProjectGenerator.cxx" #include "cmFindBase.cxx" #include "cmFindCommon.cxx" @@ -53,6 +54,7 @@ #include "cmForEachCommand.cxx" #include "cmFunctionCommand.cxx" #include "cmGetCMakePropertyCommand.cxx" +#include "cmGetDirectoryPropertyCommand.cxx" #include "cmGetFilenameComponentCommand.cxx" #include "cmGetSourceFilePropertyCommand.cxx" #include "cmGetTargetPropertyCommand.cxx" @@ -68,10 +70,12 @@ #include "cmMacroCommand.cxx" #include "cmMakeDirectoryCommand.cxx" #include "cmMarkAsAdvancedCommand.cxx" +#include "cmMathCommand.cxx" #include "cmMessageCommand.cxx" #include "cmOptionCommand.cxx" #include "cmProjectCommand.cxx" #include "cmReturnCommand.cxx" +#include "cmSeparateArgumentsCommand.cxx" #include "cmSetCommand.cxx" #include "cmSetPropertyCommand.cxx" #include "cmSetSourceFilesPropertiesCommand.cxx" @@ -106,6 +110,7 @@ void GetBootstrapCommands(std::list<cmCommand*>& commands) commands.push_back(new cmEndIfCommand); commands.push_back(new cmEndMacroCommand); commands.push_back(new cmExecProgramCommand); + commands.push_back(new cmExecuteProcessCommand); commands.push_back(new cmFileCommand); commands.push_back(new cmFindFileCommand); commands.push_back(new cmFindLibraryCommand); @@ -115,6 +120,7 @@ void GetBootstrapCommands(std::list<cmCommand*>& commands) commands.push_back(new cmForEachCommand); commands.push_back(new cmFunctionCommand); commands.push_back(new cmGetCMakePropertyCommand); + commands.push_back(new cmGetDirectoryPropertyCommand); commands.push_back(new cmGetFilenameComponentCommand); commands.push_back(new cmGetSourceFilePropertyCommand); commands.push_back(new cmGetTargetPropertyCommand); @@ -129,10 +135,12 @@ void GetBootstrapCommands(std::list<cmCommand*>& commands) commands.push_back(new cmMacroCommand); commands.push_back(new cmMakeDirectoryCommand); commands.push_back(new cmMarkAsAdvancedCommand); + commands.push_back(new cmMathCommand); commands.push_back(new cmMessageCommand); commands.push_back(new cmOptionCommand); commands.push_back(new cmProjectCommand); commands.push_back(new cmReturnCommand); + commands.push_back(new cmSeparateArgumentsCommand); commands.push_back(new cmSetCommand); commands.push_back(new cmSetPropertyCommand); commands.push_back(new cmSetSourceFilesPropertiesCommand); diff --git a/Source/cmCommands.cxx b/Source/cmCommands.cxx index 42b215b..ff733eb 100644 --- a/Source/cmCommands.cxx +++ b/Source/cmCommands.cxx @@ -22,11 +22,9 @@ #include "cmElseIfCommand.cxx" #include "cmEnableLanguageCommand.cxx" #include "cmEndWhileCommand.cxx" -#include "cmExecuteProcessCommand.cxx" #include "cmExportCommand.cxx" #include "cmExportLibraryDependencies.cxx" #include "cmFLTKWrapUICommand.cxx" -#include "cmGetDirectoryPropertyCommand.cxx" #include "cmGetPropertyCommand.cxx" #include "cmGetTestPropertyCommand.cxx" #include "cmIncludeExternalMSProjectCommand.cxx" @@ -35,13 +33,11 @@ #include "cmInstallProgramsCommand.cxx" #include "cmLinkLibrariesCommand.cxx" #include "cmLoadCacheCommand.cxx" -#include "cmMathCommand.cxx" #include "cmOutputRequiredFilesCommand.cxx" #include "cmQTWrapCPPCommand.cxx" #include "cmQTWrapUICommand.cxx" #include "cmRemoveCommand.cxx" #include "cmRemoveDefinitionsCommand.cxx" -#include "cmSeparateArgumentsCommand.cxx" #include "cmSetDirectoryPropertiesCommand.cxx" #include "cmSourceGroupCommand.cxx" #include "cmSubdirDependsCommand.cxx" @@ -72,11 +68,9 @@ void GetPredefinedCommands(std::list<cmCommand*>& commands.push_back(new cmElseIfCommand); commands.push_back(new cmEnableLanguageCommand); commands.push_back(new cmEndWhileCommand); - commands.push_back(new cmExecuteProcessCommand); commands.push_back(new cmExportCommand); commands.push_back(new cmExportLibraryDependenciesCommand); commands.push_back(new cmFLTKWrapUICommand); - commands.push_back(new cmGetDirectoryPropertyCommand); commands.push_back(new cmGetPropertyCommand); commands.push_back(new cmGetTestPropertyCommand); commands.push_back(new cmIncludeExternalMSProjectCommand); @@ -85,13 +79,11 @@ void GetPredefinedCommands(std::list<cmCommand*>& commands.push_back(new cmLinkLibrariesCommand); commands.push_back(new cmLoadCacheCommand); commands.push_back(new cmLoadCommandCommand); - commands.push_back(new cmMathCommand); commands.push_back(new cmOutputRequiredFilesCommand); commands.push_back(new cmQTWrapCPPCommand); commands.push_back(new cmQTWrapUICommand); commands.push_back(new cmRemoveCommand); commands.push_back(new cmRemoveDefinitionsCommand); - commands.push_back(new cmSeparateArgumentsCommand); commands.push_back(new cmSetDirectoryPropertiesCommand); commands.push_back(new cmSourceGroupCommand); commands.push_back(new cmSubdirDependsCommand); |