f4e7febf22
Summary: Record the version of the source that we are compiling. We keep a record of the git revision in util/version.cc. This source file is then built as a regular source file as part of the compilation process. One can run "strings executable_filename | grep _build_" to find the version of the source that we used to build the executable file. Test Plan: none Differential Revision: https://reviews.facebook.net/D4785
15 lines
376 B
C
15 lines
376 B
C
/*version.h*/
|
|
#ifndef VERSION_H_
|
|
#define VERSION_H_
|
|
|
|
// these variables tell us about the git config and time
|
|
extern const char* leveldb_build_git_sha;
|
|
extern const char* leveldb_build_git_datetime;
|
|
|
|
// these variables tell us when the compilation occured
|
|
extern const char* leveldb_build_compile_time;
|
|
extern const char* leveldb_build_compile_date;
|
|
|
|
|
|
#endif /* VERSION_H_ */
|