We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f437329 commit b44777aCopy full SHA for b44777a
2 files changed
CMakeLists.txt
@@ -1,5 +1,5 @@
1
cmake_minimum_required(VERSION 3.22)
2
-project(tcli C)
+project(tcli VERSION 1.0.0 LANGUAGES C)
3
4
option(TCLI_BUILD_EXAMPLES "Build TinyCLI examples" ${PROJECT_IS_TOP_LEVEL})
5
option(TCLI_BUILD_TESTS "Build TinyCLI unit tests" ${PROJECT_IS_TOP_LEVEL})
include/tcli.h
@@ -10,6 +10,11 @@
10
extern "C" {
11
#endif
12
13
+#define TCLI_VERSION_MAJOR 1
14
+#define TCLI_VERSION_MINOR 0
15
+#define TCLI_VERSION_PATCH 0
16
+#define TCLI_VERSION_STR "1.0.0"
17
+
18
#if defined(__GNUC__) || defined(__clang__)
19
#define TCLI_PRINTF_FORMAT(fmt_idx, args_idx) \
20
__attribute__((format(printf, fmt_idx, args_idx)))
0 commit comments