Revision cd3286faead177cac6f04b8d07eae0de05b3eae3 authored by Vasili Svirski on 20 October 2015, 18:27:48 UTC, committed by Vasili Svirski on 20 October 2015, 18:51:19 UTC
* add validation is git found
* add validation is .git folder exists in project (project zip archive download without .git folder)
* get head commit SHA if git found and .git folder exists

Tested:
* configure project by CMake 3.0.0 successfully (with and without git), with project zip archive (without .git folder) and with project cloned from github
* configure project by command: cmake -G "Visual Studio 12 Win64"
* build solution by Visual Studio
* manually validate that file utils/build_version.cc contains valid head revision value
1 parent 033c6f1
History
File Mode Size
.gitignore -rw-r--r-- 155 bytes
Makefile -rw-r--r-- 1.7 KB
README.md -rw-r--r-- 67 bytes
c_simple_example.c -rw-r--r-- 2.3 KB
column_families_example.cc -rw-r--r-- 2.0 KB
compact_files_example.cc -rw-r--r-- 5.7 KB
compaction_filter_example.cc -rw-r--r-- 2.8 KB
optimistic_transaction_example.cc -rw-r--r-- 4.1 KB
rocksdb_option_file_example.ini -rw-r--r-- 6.1 KB
simple_example.cc -rw-r--r-- 1.4 KB
transaction_example.cc -rw-r--r-- 4.2 KB

README.md

back to top