From dca02dc35309e4aff2f87461701ca5c96e92f54e Mon Sep 17 00:00:00 2001 From: 0u812 <0u812@github.com> Date: Thu, 25 Jun 2015 12:26:28 -0700 Subject: [PATCH] autogen VERSION.txt --- CMakeLists.txt | 4 +++- VERSION.txt | 1 - VERSION.txt.in | 1 + 3 files changed, 4 insertions(+), 2 deletions(-) delete mode 100644 VERSION.txt create mode 100644 VERSION.txt.in diff --git a/CMakeLists.txt b/CMakeLists.txt index 11b8768aab..0e1a1f0199 100755 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -332,10 +332,12 @@ foreach(runtime ${RUNTIMES}) endforeach() endif() +configure_file(VERSION.txt.in VERSION.txt @ONLY) + install( FILES NOTICE.txt - VERSION.txt + ${CMAKE_CURRENT_BINARY_DIR}/VERSION.txt NEWS.txt DESTINATION . ) diff --git a/VERSION.txt b/VERSION.txt deleted file mode 100644 index cd51a21923..0000000000 --- a/VERSION.txt +++ /dev/null @@ -1 +0,0 @@ -1.3.1-rc1 diff --git a/VERSION.txt.in b/VERSION.txt.in new file mode 100644 index 0000000000..61b48e83ac --- /dev/null +++ b/VERSION.txt.in @@ -0,0 +1 @@ +@ROADRUNNER_VERSION@