dashboard
repositories
filestore
activity
search
login
main
/
voidscript
A simple scripting language in C++
summary
reflog
commits
tree
tickets
docs
forks
compare
blame
|
history
|
raw
call function when variable defined
Ferenc Szontágh
2025-04-18
a76181288ae27b85521838ee87352727c3cba2f8
[voidscript.git]
/
cmake
/
AppVersion.cmake
1
2
3
4
5
6
7
8
9
find_package(Git QUIET REQUIRED)
execute_process(
COMMAND "${GIT_EXECUTABLE}" describe --always HEAD
WORKING_DIRECTORY "${CMAKE_SOURCE_DIR}"
RESULT_VARIABLE res
OUTPUT_VARIABLE APP_GIT_VERSION
ERROR_QUIET
OUTPUT_STRIP_TRAILING_WHITESPACE)