diff options
author | Alex Neundorf <neundorf@kde.org> | 2011-07-02 15:50:05 (GMT) |
---|---|---|
committer | Alex Neundorf <neundorf@kde.org> | 2011-07-02 15:50:05 (GMT) |
commit | a91d662f46fd2781fc5a3b73c2d244ac6dc2a343 (patch) | |
tree | 07f0f8c48d755ec9676defc742bbaf64d348f5be /Source/cmMakefile.cxx | |
parent | b976e70063008c0633cb5dd4ecb1f40278c67935 (diff) | |
download | CMake-a91d662f46fd2781fc5a3b73c2d244ac6dc2a343.zip CMake-a91d662f46fd2781fc5a3b73c2d244ac6dc2a343.tar.gz CMake-a91d662f46fd2781fc5a3b73c2d244ac6dc2a343.tar.bz2 |
Add find-package mode, which does nothing yet
-add command line argument --find-package and handle it,
i.e. call an empty function cmake::FindPackage()
-add basic help
Alex
Diffstat (limited to 'Source/cmMakefile.cxx')
-rw-r--r-- | Source/cmMakefile.cxx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Source/cmMakefile.cxx b/Source/cmMakefile.cxx index 63bf03b..163145e 100644 --- a/Source/cmMakefile.cxx +++ b/Source/cmMakefile.cxx @@ -384,7 +384,9 @@ bool cmMakefile::ExecuteCommand(const cmListFileFunction& lff, // Decide whether to invoke the command. if(pcmd->GetEnabled() && !cmSystemTools::GetFatalErrorOccured() && - (!this->GetCMakeInstance()->GetScriptMode() || pcmd->IsScriptable())) + (this->GetCMakeInstance()->GetFindPackageMode() + || !this->GetCMakeInstance()->GetScriptMode() || pcmd->IsScriptable())) + { // if trace is one, print out invoke information if(this->GetCMakeInstance()->GetTrace()) |