start working on C++ implementation

This commit is contained in:
2017-02-20 03:09:21 +03:00
parent f745595174
commit 6bc4668271
28 changed files with 3140 additions and 1181 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 ()