diff options
author | Konstantinos Sideris <sideris.konstantin@gmail.com> | 2018-09-30 14:33:54 +0300 |
---|---|---|
committer | Konstantinos Sideris <sideris.konstantin@gmail.com> | 2018-09-30 14:33:54 +0300 |
commit | 4b1b0623887c24f45257c409ce332af9b765b50d (patch) | |
tree | f299367542d90eaa869a5e5010f1ac2dbfc81136 /cmake | |
parent | Change the minimum width for modals (diff) | |
download | nheko-4b1b0623887c24f45257c409ce332af9b765b50d.tar.xz |
Enable debug logs
Diffstat (limited to 'cmake')
-rw-r--r-- | cmake/nheko.h | 6 | ||||
-rw-r--r-- | cmake/version.h | 5 |
2 files changed, 6 insertions, 5 deletions
diff --git a/cmake/nheko.h b/cmake/nheko.h new file mode 100644 index 00000000..bf1a54fe --- /dev/null +++ b/cmake/nheko.h @@ -0,0 +1,6 @@ +namespace nheko { +constexpr auto version = "${PROJECT_VERSION}"; +constexpr auto build_user = "${BUILD_USER}@${BUILD_HOST}"; +constexpr auto build_os = "${CMAKE_HOST_SYSTEM_NAME}"; +constexpr auto enable_debug_log = ${SPDLOG_DEBUG_ON}; +} diff --git a/cmake/version.h b/cmake/version.h deleted file mode 100644 index 204bc895..00000000 --- a/cmake/version.h +++ /dev/null @@ -1,5 +0,0 @@ -namespace nheko { -static constexpr const char *version = "${PROJECT_VERSION}"; -static constexpr const char *build_user = "${BUILD_USER}@${BUILD_HOST}"; -static constexpr const char *build_os = "${CMAKE_HOST_SYSTEM_NAME}"; -} |