mirror of
https://github.com/GTAmodding/re3.git
synced 2025-10-06 01:20:00 +00:00
Cmake version for hash
This commit is contained in:
parent
9e1c048e20
commit
1b8d03f3aa
10 changed files with 348 additions and 13 deletions
|
@ -6,6 +6,10 @@ set(PROJECT RE3)
|
|||
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