Skip to content

Commit d502454

Browse files
committed
add config.h.in
1 parent 1210fd9 commit d502454

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

src/config.h.in

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
#ifndef SH_CONFIG_H
2+
#define SH_CONFIG_H
3+
4+
// version
5+
#define SH_CONFIG_VERSION "${VERSION}"
6+
#define SH_CONFIG_VERSION_MAJOR ${VERSION_MAJOR}
7+
#define SH_CONFIG_VERSION_MINOR ${VERSION_MINOR}
8+
#define SH_CONFIG_VERSION_ALTER ${VERSION_ALTER}
9+
#define SH_CONFIG_VERSION_BUILD ${VERSION_BUILD}
10+
#define SH_CONFIG_VERSION_BRANCH "${GIT_BRANCH}"
11+
#define SH_CONFIG_VERSION_COMMIT "${GIT_COMMIT}"
12+
13+
// defines
14+
${define HAS_PTHREAD}
15+
${define HAS_CONSTEXPR}
16+
17+
#endif

0 commit comments

Comments
 (0)