* add commit SHA information

* allow to open link in quotes editor
* fix bug with no data updates in configuration ui
This commit is contained in:
arcan1s
2015-09-28 19:27:55 +03:00
parent 92ce241742
commit 84f6f1a820
10 changed files with 45 additions and 19 deletions

11
sources/checkgit.cmake Normal file
View File

@ -0,0 +1,11 @@
exec_program(
"git"
${CMAKE_CURRENT_SOURCE_DIR}
ARGS "log" "-1" "--format=\"%h\""
OUTPUT_VARIABLE COMMIT_SHA
RETURN_VALUE GIT_RETURN
)
if(${GIT_RETURN} EQUAL "0")
set(PROJECT_COMMIT_SHA "${COMMIT_SHA}")
endif()