forked from andreasfertig/cppinsights
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathversion.h.in
19 lines (13 loc) · 806 Bytes
/
version.h.in
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#ifndef INSIGHTS_VERSION_H
#define INSIGHTS_VERSION_H
#define INSIGHTS_VERSION "19.1"
#define GIT_REPO_URL "@GIT_REPO_URL@"
#define GIT_COMMIT_HASH "@GIT_COMMIT_HASH@"
#define INSIGHTS_MIN_LLVM_MAJOR_VERSION @INSIGHTS_MIN_LLVM_MAJOR_VERSION@
#include <clang/Basic/Version.h>
// Build Clang's resource dir and include dir by hand. This is necessary, as we do not always have Clang installed.
// See: https://github.com/MaskRay/ccls/wiki/Install#clang-resource-directory
#define INSIGHTS_CLANG_RESOURCE_DIR R"(-resource-dir=@LLVM_LIBDIR@/clang/@LLVM_PACKAGE_VERSION_MAJOR_PLAIN@)"
#define INSIGHTS_CLANG_RESOURCE_INCLUDE_DIR R"(-I @LLVM_LIBDIR@/clang/@LLVM_PACKAGE_VERSION_MAJOR_PLAIN@/include)"
#define INSIGHTS_LLVM_INCLUDE_DIR R"(-isystem@LLVM_INCLUDE_DIR@/c++/v1)"
#endif /* INSIGHTS_VERSION_H */