mirror of
https://github.com/vcmi/vcmi.git
synced 2024-12-16 10:19:47 +02:00
7 lines
258 B
CMake
7 lines
258 B
CMake
|
set(CMAKE_MODULE_PATH ${CMAKE_CURRENT_LIST_DIR})
|
||
|
include(GetGitRevisionDescription)
|
||
|
include(VCMIUtils)
|
||
|
get_git_head_revision(GIT_REFSPEC GIT_SHA1)
|
||
|
configure_file("${CMAKE_CURRENT_LIST_DIR}/../Version.cpp.in" "Version.cpp" @ONLY)
|
||
|
vcmi_print_git_commit_hash()
|