Commit 36d8d987 authored by Brad King's avatar Brad King Committed by Kitware Robot

Merge topic 'help-replace-version'

89448a5b cmRST: Substitute CMake version for |release| as Sphinx does
parents de515923 89448a5b
......@@ -12,6 +12,7 @@
#include "cmRST.h"
#include "cmSystemTools.h"
#include "cmVersion.h"
#include <ctype.h>
......@@ -41,6 +42,7 @@ cmRST::cmRST(std::ostream& os, std::string const& docroot):
"((\\|[^| \t\r\n]([^|\r\n]*[^| \t\r\n])?\\|)(__|_|))"
"([^A-Za-z0-9_]|$)")
{
this->Replace["|release|"] = cmVersion::GetCMakeVersion();
}
//----------------------------------------------------------------------------
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment