1/** 2 * 3 * Yder Framework 4 * 5 * Logging framework library 6 * 7 * yder-cfg.h: configuration file 8 * 9 * Copyright 2018-2020 Nicolas Mora <mail@babelouest.org> 10 * 11 * This program is free software; you can redistribute it and/or 12 * modify it under the terms of the GNU Lesser General Public License 13 * as published by the Free Software Foundation; 14 * version 2.1 of the License. 15 * 16 * This library is distributed in the hope that it will be useful, 17 * but WITHOUT ANY WARRANTY; without even the implied warranty of 18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 19 * GNU GENERAL PUBLIC LICENSE for more details. 20 * 21 * You should have received a copy of the GNU General Public 22 * License along with this library. If not, see <http://www.gnu.org/licenses/>. 23 * 24 */ 25 26#ifndef _YDER_CFG_H_ 27#define _YDER_CFG_H_ 28 29#define YDER_VERSION ${PROJECT_VERSION} 30#define YDER_VERSION_STR "${PROJECT_VERSION}" 31 32#define YDER_VERSION_MAJOR ${PROJECT_VERSION_MAJOR} 33#define YDER_VERSION_MINOR ${PROJECT_VERSION_MINOR} 34#define YDER_VERSION_PATCH ${PROJECT_VERSION_PATCH} 35 36#define YDER_VERSION_NUMBER ((YDER_VERSION_MAJOR << 16) | (YDER_VERSION_MINOR << 8) | (YDER_VERSION_PATCH << 0)) 37 38#cmakedefine Y_DISABLE_JOURNALD 39 40#endif /* _YDER_CFG_H_ */ 41