diff options
author | Sven Göthel <[email protected]> | 2024-05-26 04:46:29 +0200 |
---|---|---|
committer | Sven Göthel <[email protected]> | 2024-05-26 04:46:29 +0200 |
commit | 322d95ed133f90d7c77fb66a5b942929f6a03c1d (patch) | |
tree | 1b981e01598bb08a25f806ad57a9b8dd35e0b265 /cmake/modules | |
parent | 6ecea580940de66b85e692931c33497160ff389a (diff) |
Adopt to jaulib: clangd/cland-tidy integration; Use VersionNumberv1.2.2
Diffstat (limited to 'cmake/modules')
-rw-r--r-- | cmake/modules/clangd.in | 2 | ||||
-rw-r--r-- | cmake/modules/version.cpp.in | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/cmake/modules/clangd.in b/cmake/modules/clangd.in index e6a4008..368585d 100644 --- a/cmake/modules/clangd.in +++ b/cmake/modules/clangd.in @@ -15,7 +15,7 @@ # Tell clangd to use the compile_commands.json file in the build/default folder CompileFlags: CompilationDatabase: @CMAKE_CURRENT_BINARY_DIR@ - Add: [@cipherpack_clangd_source_args@] + Add: [@cxx_clangd_flags@, @cipherpack_clangd_source_args@] Diagnostics: UnusedIncludes: Strict diff --git a/cmake/modules/version.cpp.in b/cmake/modules/version.cpp.in index a81671d..d49601d 100644 --- a/cmake/modules/version.cpp.in +++ b/cmake/modules/version.cpp.in @@ -1,5 +1,5 @@ #include <cipherpack/version.hpp> -const char* cipherpack::VERSION = "@cipherpack_VERSION_LONG@"; +const jau::util::VersionNumber cipherpack::VERSION("@cipherpack_VERSION_LONG@"); const char* cipherpack::VERSION_SHORT = "@cipherpack_VERSION_SHORT@"; const char* cipherpack::VERSION_API = "@cipherpack_VERSION_API@"; |