sapling/CMake/eden-config.h.in
Genevieve (Genna) Helsel 4f8e90b558 LMDBInodeCatalog + LMDBFileContentStore
Summary:
X-link: https://github.com/facebookincubator/velox/pull/7542

ties all of the pieces together. The bulk of the net-new logic is in `OverlayFile`, with the LMDB stuff being ported from other implementations or just delegating calls to other classes.

Reviewed By: kmancini

Differential Revision: D46914322

fbshipit-source-id: 3434b71c92ece6b94a3c08828df286b04152d50f
2023-11-13 12:47:14 -08:00

38 lines
1.2 KiB
C

/*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This software may be used and distributed according to the terms of the
* GNU General Public License version 2.
*/
#pragma once
#include <cstdint>
/*
* We put the build version and timestamp in a .cpp file to avoid changing
* this header any time CMake is re-run. We don't want to have to re-compile
* files that include this header simply because the build timestamp changed.
*/
extern "C" {
extern const char* const Eden_BuildInfo_kPackageName;
extern const char* const Eden_BuildInfo_kPackageVersion;
extern const char* const Eden_BuildInfo_kPackageRelease;
extern const char* const Eden_BuildInfo_kRevision;
extern const uint64_t Eden_BuildInfo_kTimeUnix;
}
#define EDEN_PACKAGE_NAME (::Eden_BuildInfo_kPackageName)
#define EDEN_VERSION (::Eden_BuildInfo_kPackageVersion)
#define EDEN_RELEASE (::Eden_BuildInfo_kPackageRelease)
#define EDEN_BUILD_REVISION (::Eden_BuildInfo_kRevision)
#define EDEN_BUILD_TIME_UNIX (::Eden_BuildInfo_kTimeUnix)
#define EDEN_ETC_EDEN_DIR "${ETC_EDEN_DIR}"
#cmakedefine EDEN_HAVE_GIT
#cmakedefine EDEN_HAVE_ROCKSDB
#cmakedefine EDEN_HAVE_SELINUX
#cmakedefine EDEN_HAVE_SQLITE3
#cmakedefine EDEN_HAVE_LMDB
#cmakedefine EDEN_HAVE_USAGE_SERVICE