From 360879521a5c0806a821ff5e91a79698006d597b Mon Sep 17 00:00:00 2001 From: Dominik Meyer Date: Sun, 18 Feb 2024 13:15:34 +0100 Subject: [PATCH] ADD: added template for global config.hpp --- src/config.hpp.in | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 src/config.hpp.in diff --git a/src/config.hpp.in b/src/config.hpp.in new file mode 100644 index 0000000..d16a29a --- /dev/null +++ b/src/config.hpp.in @@ -0,0 +1,28 @@ +#ifndef __LIBCMS_CONFIG_HPP__ +#define __LIBCMS_CONFIG_HPP__ +/* +* Copyright (C) 2024 Dominik Meyer +* +* This program is free software: you can redistribute it and/or modify +* it under the terms of the GNU General Public License as published by +* the Free Software Foundation, either version 3 of the License, or +* (at your option) any later version. +* +* This program is distributed in the hope that it will be useful, +* but WITHOUT ANY WARRANTY; without even the implied warranty of +* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +* GNU General Public License for more details. +* +* You should have received a copy of the GNU General Public License +* along with this program. If not, see . +*/ + + +#define PROJECT_NAME @PROJECT_NAME@ + +#define VERSION_MAJOR @PROJECT_VERSION_MAJOR@ +#define VERSION_MINOR @PROJECT_VERSION_MINOR@ +#define VERSION_PATCH @PROJECT_VERSION_PATCH@ +#define PROJECT_VERSION "@PROJECT_VERSION_MAJOR@.@PROJECT_VERSION_MINOR@.@PROJECT_VERSION_PATCH@" + +#endif