sapling/eden/fs/utils
Adam Simpkins c07261c5ca update build configuration information for Python and C++
Summary:
This updates the top-level CMakeLists.txt file to compute package version
information, and expose this to C++ code in `eden-config.h`, and to Python
code in a new `eden/config.py` module.

Previously we exposed an `EDEN_VERSION` macro for the C++ code in
`eden-config.h`, but this was not initialized or used anywhere.  Now the
top-level CMakeLists.txt file computes appropriate version information and
exposes the package name, version, release, commit ID, and build time in these
configuration files.

The version selection logic in CMakeLists.txt based largely on the code that
wez wrote for watchman in D20636833.

Reviewed By: wez

Differential Revision: D21000164

fbshipit-source-id: db1a1035f1eefec058bbad558d35e113005e454e
2020-04-22 12:48:47 -07:00
..
test build the fuse privhelper unit tests in CMake-based builds 2020-04-21 17:33:31 -07:00
BucketedLog.h Tidy up license headers 2019-10-11 05:28:23 -07:00
Bug.cpp refactor the EDEN_BUG() macro 2019-11-22 15:38:33 -08:00
Bug.h Remove folly's ColdClass, which was of dubious utility 2020-01-09 13:09:56 -08:00
ChronoParse.cpp Replace Folly Format with fmt in logger to reduce binary size 2019-11-18 05:53:08 -08:00
ChronoParse.h Tidy up license headers 2019-10-11 05:28:23 -07:00
ChronoUnit.cpp Tidy up license headers 2019-10-11 05:28:23 -07:00
ChronoUnit.gperf update license header in remaining files 2019-06-19 17:02:46 -07:00
ChronoUnit.h Tidy up license headers 2019-10-11 05:28:23 -07:00
Clock.cpp Tidy up license headers 2019-10-11 05:28:23 -07:00
Clock.h Tidy up license headers 2019-10-11 05:28:23 -07:00
CMakeLists.txt update build configuration information for Python and C++ 2020-04-22 12:48:47 -07:00
CoverageSet.cpp Tidy up license headers 2019-10-11 05:28:23 -07:00
CoverageSet.h Tidy up license headers 2019-10-11 05:28:23 -07:00
DirType.h Cleaning up second definitions of dtype_t 2020-03-10 12:27:51 -07:00
FaultInjector.cpp build deprecation-clean 2019-11-12 16:31:54 -08:00
FaultInjector.h Tidy up license headers 2019-10-11 05:28:23 -07:00
Future.h add a collectSafe function 2020-02-03 11:30:50 -08:00
FutureSubprocess.cpp Tidy up license headers 2019-10-11 05:28:23 -07:00
FutureSubprocess.h Tidy up license headers 2019-10-11 05:28:23 -07:00
FutureUnixSocket.cpp Tidy up license headers 2019-10-11 05:28:23 -07:00
FutureUnixSocket.h Tidy up license headers 2019-10-11 05:28:23 -07:00
IDGen.cpp Tidy up license headers 2019-10-11 05:28:23 -07:00
IDGen.h Tidy up license headers 2019-10-11 05:28:23 -07:00
IoFuture.cpp Tidy up license headers 2019-10-11 05:28:23 -07:00
IoFuture.h Tidy up license headers 2019-10-11 05:28:23 -07:00
LazyInitialize.h Tidy up license headers 2019-10-11 05:28:23 -07:00
LeaseCache.h Tidy up license headers 2019-10-11 05:28:23 -07:00
MappedDiskVector.h make deleted default constructors explicit 2020-04-14 12:47:03 -07:00
Memory.h Tidy up license headers 2019-10-11 05:28:23 -07:00
PathFuncs.cpp Tidy up license headers 2019-10-11 05:28:23 -07:00
PathFuncs.h make deleted default constructors explicit 2020-04-14 12:47:03 -07:00
PathMap.h Tidy up license headers 2019-10-11 05:28:23 -07:00
ProcessAccessLog.cpp Tidy up license headers 2019-10-11 05:28:23 -07:00
ProcessAccessLog.h Tidy up license headers 2019-10-11 05:28:23 -07:00
ProcessNameCache.cpp clang-format 2019-10-24 14:56:43 -07:00
ProcessNameCache.h Tidy up license headers 2019-10-11 05:28:23 -07:00
ProcUtil.cpp Replace Folly Format with fmt in logger to reduce binary size 2019-11-18 05:53:08 -08:00
ProcUtil.h add memory usage statistics to macOS 2019-10-28 11:19:44 -07:00
ServiceAddress.cpp fix warnings in the macOS build 2019-12-20 16:14:17 -08:00
ServiceAddress.h Tidy up license headers 2019-10-11 05:28:23 -07:00
SortedInsert.h Tidy up license headers 2019-10-11 05:28:23 -07:00
SSLContext.cpp Tidy up license headers 2019-10-11 05:28:23 -07:00
SSLContext.h Tidy up license headers 2019-10-11 05:28:23 -07:00
StatTimes.h Tidy up license headers 2019-10-11 05:28:23 -07:00
Synchronized.h Tidy up license headers 2019-10-11 05:28:23 -07:00
SystemError.h Tidy up license headers 2019-10-11 05:28:23 -07:00
TimeUtil.cpp Tidy up license headers 2019-10-11 05:28:23 -07:00
TimeUtil.h Tidy up license headers 2019-10-11 05:28:23 -07:00
UnboundedQueueExecutor.cpp Tidy up license headers 2019-10-11 05:28:23 -07:00
UnboundedQueueExecutor.h Tidy up license headers 2019-10-11 05:28:23 -07:00
UnixSocket.cpp warn on unused exception parameter 2019-10-28 17:49:23 -07:00
UnixSocket.h Tidy up license headers 2019-10-11 05:28:23 -07:00
XAttr.cpp Tidy up license headers 2019-10-11 05:28:23 -07:00
XAttr.h Tidy up license headers 2019-10-11 05:28:23 -07:00