mirror of
https://github.com/libgit2/libgit2.git
synced 2026-01-25 02:56:17 +00:00
Not everybody builds libgit2 using cmake; provide an `experimental.h` with no experiments configured for those that do not. To support this, we also now create compile definitions for experimental functionality, to supplant that empty `experimental.h`. cmake will continue to generate the proper `experimental.h` file for use with `make install`.
21 lines
658 B
C
21 lines
658 B
C
/*
|
|
* Copyright (C) the libgit2 contributors. All rights reserved.
|
|
*
|
|
* This file is part of libgit2, distributed under the GNU GPL v2 with
|
|
* a Linking Exception. For full terms see the included COPYING file.
|
|
*/
|
|
|
|
#ifndef INCLUDE_experimental_h__
|
|
#define INCLUDE_experimental_h__
|
|
|
|
/*
|
|
* This file exists to support users who build libgit2 with a bespoke
|
|
* build system and do not use our cmake configuration. Normally, cmake
|
|
* will create `experimental.h` from the `experimental.h.in` file and
|
|
* will include the generated file instead of this one. For non-cmake
|
|
* users, we bundle this `experimental.h` file which will be used
|
|
* instead.
|
|
*/
|
|
|
|
#endif
|