diff options
author | Zack Galbreath <zack.galbreath@kitware.com> | 2019-04-30 20:12:02 (GMT) |
---|---|---|
committer | Zack Galbreath <zack.galbreath@kitware.com> | 2019-05-07 14:45:47 (GMT) |
commit | 2a34d0ac3613101996b4e751bc2653e4cbeaf5b0 (patch) | |
tree | 7b1e9f211a1f5fd33f7950058968c08cc6544f68 /Source/CTest/cmCTestUpdateCommand.cxx | |
parent | 7ddac9512188d1dbfcac76b24957956a197370ad (diff) | |
download | CMake-2a34d0ac3613101996b4e751bc2653e4cbeaf5b0.zip CMake-2a34d0ac3613101996b4e751bc2653e4cbeaf5b0.tar.gz CMake-2a34d0ac3613101996b4e751bc2653e4cbeaf5b0.tar.bz2 |
ctest: Add new variable CTEST_UPDATE_VERSION_OVERRIDE
Set this in a CTest script to explicitly define what the current revision
will be reported as in Update.xml.
Diffstat (limited to 'Source/CTest/cmCTestUpdateCommand.cxx')
-rw-r--r-- | Source/CTest/cmCTestUpdateCommand.cxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/CTest/cmCTestUpdateCommand.cxx b/Source/CTest/cmCTestUpdateCommand.cxx index a2f1462..65dc921 100644 --- a/Source/CTest/cmCTestUpdateCommand.cxx +++ b/Source/CTest/cmCTestUpdateCommand.cxx @@ -62,6 +62,9 @@ cmCTestGenericHandler* cmCTestUpdateCommand::InitializeHandler() this->Makefile, "UpdateVersionOnly", "CTEST_UPDATE_VERSION_ONLY", this->Quiet); this->CTest->SetCTestConfigurationFromCMakeVariable( + this->Makefile, "UpdateVersionOverride", "CTEST_UPDATE_VERSION_OVERRIDE", + this->Quiet); + this->CTest->SetCTestConfigurationFromCMakeVariable( this->Makefile, "HGCommand", "CTEST_HG_COMMAND", this->Quiet); this->CTest->SetCTestConfigurationFromCMakeVariable( this->Makefile, "HGUpdateOptions", "CTEST_HG_UPDATE_OPTIONS", this->Quiet); |