mirror of
https://github.com/GTAmodding/re3.git
synced 2025-10-05 13:19:59 +00:00
Cmake version for hash
This commit is contained in:
parent
2c784d979a
commit
0c60ceeb33
10 changed files with 348 additions and 13 deletions
|
@ -6,6 +6,10 @@ set(PROJECT REVC)
|
|||
project(${EXECUTABLE} C CXX)
|
||||
list(APPEND CMAKE_MODULE_PATH "${PROJECT_SOURCE_DIR}/cmake")
|
||||
|
||||
include(GetGitRevisionDescription)
|
||||
get_git_head_revision(GIT_REFSPEC GIT_SHA1 "ALLOW_LOOKING_ABOVE_CMAKE_SOURCE_DIR")
|
||||
message(STATUS "Building ${CMAKE_PROJECT_NAME} GIT SHA1: ${GIT_SHA1}")
|
||||
|
||||
if(WIN32)
|
||||
set(${PROJECT}_AUDIOS "OAL" "MSS")
|
||||
else()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue