t a/Source/CMakeVersion.cmake b/Source/CMakeVersion.cmake
index 6a2cb16..4d3e783 100644
--- a/Source/CMakeVersion.cmake
+++ b/Source/CMakeVersion.cmake
@@ -1,5 +1,5 @@
# CMake version number components.
set(CMake_VERSION_MAJOR 3)
set(CMake_VERSION_MINOR 13)
-set(CMake_VERSION_PATCH 20181010)
+set(CMake_VER
Similar question with some suggestions in response:
https://cmake.org/pipermail/cmake/2018-July/067887.html
Best,
Isaiah
On Wed, Oct 10, 2018 at 5:05 PM Matt Schulte wrote:
> Hi all,
>
> I'd like to set a CMake variable to the current git commit short hash.
> This variable will be used as
Hi all,
I'd like to set a CMake variable to the current git commit short hash.
This variable will be used as part of the version string for my
project (ex: "1.0.1+git.${SHORT_HASH}"). I can get at this short hash
by using execute_process and setting the resulting output to a
variable.
```cmake
Chuck,
I think I didn’t explain the situation well enough. Here is a sample
pseudo-Cmake input fiile:
add_library( FooBar SHARED )
add_library( CHUNK1 OBJECT)
add_library( CHUNK2 OBJECT)
set( COMMON SOME_DEFINE_1 SOME_DEFINE_2 SOME_DEFINE_3 )
if( condition )
list(APPEND COMMON
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "CMake".
The branch, master has been updated
via 3499c91a1bf5eadb62c099eaefdf6a9a2f8f90a4 (commit)
via
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "CMake".
The branch, master has been updated
via 5dd16bc92cd565cda4060879e1e27baac3a78baf (commit)
via
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "CMake".
The branch, master has been updated
via f39bc297dbd5fbce2f547408e583f0e9a8205aef (commit)
via
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "CMake".
The branch, release has been updated
via a8a485715afe3017a514bc5fbd3a19a96d493aed (commit)
via
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "CMake".
The branch, master has been updated
via 2e0aef2d759a07867694e4a9b4e970b92067708b (commit)
via
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "CMake".
The branch, master has been updated
via b62d15c216136d81c931891f3b4947394279 (commit)
via
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "CMake".
The branch, master has been updated
via d24227da68114b493d1e44a0f0af65c2a8a9305c (commit)
via
11 matches
Mail list logo