summaryrefslogtreecommitdiffstats
path: root/Source/CTest/cmCTestGlobalVC.h
diff options
context:
space:
mode:
authorZack Galbreath <zack.galbreath@kitware.com>2019-04-30 20:12:02 (GMT)
committerZack Galbreath <zack.galbreath@kitware.com>2019-05-07 14:45:47 (GMT)
commit2a34d0ac3613101996b4e751bc2653e4cbeaf5b0 (patch)
tree7b1e9f211a1f5fd33f7950058968c08cc6544f68 /Source/CTest/cmCTestGlobalVC.h
parent7ddac9512188d1dbfcac76b24957956a197370ad (diff)
downloadCMake-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/cmCTestGlobalVC.h')
-rw-r--r--Source/CTest/cmCTestGlobalVC.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/CTest/cmCTestGlobalVC.h b/Source/CTest/cmCTestGlobalVC.h
index 76377ed..9c57215 100644
--- a/Source/CTest/cmCTestGlobalVC.h
+++ b/Source/CTest/cmCTestGlobalVC.h
@@ -32,6 +32,8 @@ protected:
// Implement cmCTestVC internal API.
bool WriteXMLUpdates(cmXMLWriter& xml) override;
+ void SetNewRevision(std::string const& revision) override;
+
/** Represent a vcs-reported action for one path in a revision. */
struct Change
{