diff --git a/include/spdlog/common.h b/include/spdlog/common.h index 5f6240ea..b8d45175 100644 --- a/include/spdlog/common.h +++ b/include/spdlog/common.h @@ -5,8 +5,6 @@ #pragma once -#define SPDLOG_VERSION "1.0.0-rc" - #include "spdlog/tweakme.h" #include diff --git a/include/spdlog/version.h b/include/spdlog/version.h new file mode 100644 index 00000000..729fcba0 --- /dev/null +++ b/include/spdlog/version.h @@ -0,0 +1,12 @@ +// +// Copyright(c) 2015 Gabi Melman. +// Distributed under the MIT License (http://opensource.org/licenses/MIT) +// + +#pragma once + +#define SPDLOG_VER_MAJOR 1 +#define SPDLOG_VER_MINOR 0 +#define SPDLOG_VER_PATCH 0 + +#define SPDLOG_VERSION (SPDLOG_VER_MAJOR * 10000 + SPDLOG_VER_MINOR * 100 + SPDLOG_VER_PATCH)