diff options
author | Brad King <brad.king@kitware.com> | 2010-06-08 20:12:28 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2010-06-08 20:12:28 (GMT) |
commit | 2eae651acc45c303008d9870a6a4f9da3d8bcf19 (patch) | |
tree | 1732e3bf82a02231ecea4963f859394ee9de1097 /Source/CTest/cmCTestUpdateCommand.cxx | |
parent | 11bdc2b1a13f8bd435cdee271ce435cf533e1aa8 (diff) | |
download | CMake-2eae651acc45c303008d9870a6a4f9da3d8bcf19.zip CMake-2eae651acc45c303008d9870a6a4f9da3d8bcf19.tar.gz CMake-2eae651acc45c303008d9870a6a4f9da3d8bcf19.tar.bz2 |
ctest_update: Support custom Git update command
Define CTest configuration variable CTEST_GIT_UPDATE_CUSTOM to set a
custom command line for updating Git-managed source trees.
Diffstat (limited to 'Source/CTest/cmCTestUpdateCommand.cxx')
-rw-r--r-- | Source/CTest/cmCTestUpdateCommand.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/CTest/cmCTestUpdateCommand.cxx b/Source/CTest/cmCTestUpdateCommand.cxx index 571745d..8414349 100644 --- a/Source/CTest/cmCTestUpdateCommand.cxx +++ b/Source/CTest/cmCTestUpdateCommand.cxx @@ -52,6 +52,8 @@ cmCTestGenericHandler* cmCTestUpdateCommand::InitializeHandler() this->CTest->SetCTestConfigurationFromCMakeVariable(this->Makefile, "GITUpdateOptions", "CTEST_GIT_UPDATE_OPTIONS"); this->CTest->SetCTestConfigurationFromCMakeVariable(this->Makefile, + "GITUpdateCustom", "CTEST_GIT_UPDATE_CUSTOM"); + this->CTest->SetCTestConfigurationFromCMakeVariable(this->Makefile, "HGCommand", "CTEST_HG_COMMAND"); this->CTest->SetCTestConfigurationFromCMakeVariable(this->Makefile, "HGUpdateOptions", "CTEST_HG_UPDATE_OPTIONS"); |