diff options
author | erorcun <erayorcunus@gmail.com> | 2021-02-12 16:15:51 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-12 16:15:51 +0100 |
commit | a44d7d86cb66ff584eb497ec1efb70d11d58288d (patch) | |
tree | c4e99fefd4af077dfe7a7479978d013cf14f6ff6 /CMakeLists.txt | |
parent | Update TXDs (diff) | |
parent | Fix sha1 on premake linux (diff) | |
download | re3-a44d7d86cb66ff584eb497ec1efb70d11d58288d.tar re3-a44d7d86cb66ff584eb497ec1efb70d11d58288d.tar.gz re3-a44d7d86cb66ff584eb497ec1efb70d11d58288d.tar.bz2 re3-a44d7d86cb66ff584eb497ec1efb70d11d58288d.tar.lz re3-a44d7d86cb66ff584eb497ec1efb70d11d58288d.tar.xz re3-a44d7d86cb66ff584eb497ec1efb70d11d58288d.tar.zst re3-a44d7d86cb66ff584eb497ec1efb70d11d58288d.zip |
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 8d753d80..5396d3b4 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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() |