forked from andreasfertig/cppinsights
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathversion.h.in
More file actions
16 lines (12 loc) · 759 Bytes
/
Copy pathversion.h.in
File metadata and controls
16 lines (12 loc) · 759 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#ifndef INSIGHTS_VERSION_H
#define INSIGHTS_VERSION_H
#define INSIGHTS_VERSION "0.10"
#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@
// 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_PLAIN@)"
#define INSIGHTS_CLANG_RESOURCE_INCLUDE_DIR R"(-I @LLVM_LIBDIR@/clang/@LLVM_PACKAGE_VERSION_PLAIN@/include)"
#define INSIGHTS_LLVM_INCLUDE_DIR R"(-isystem@LLVM_INCLUDE_DIR@/c++/v1)"
#endif /* INSIGHTS_VERSION_H */