95 lines
2.6 KiB
C++
95 lines
2.6 KiB
C++
#ifndef @CMLIB_PROJECT_NAME_UPPER@_CMLIB_CONFIG_HPP_
|
|
#define @CMLIB_PROJECT_NAME_UPPER@_CMLIB_CONFIG_HPP_
|
|
|
|
#pragma once
|
|
|
|
#define @CMLIB_PROJECT_NAME_UPPER@_VERSION_STR "@PROJECT_VERSION@"
|
|
#define @CMLIB_PROJECT_NAME_UPPER@_VERSION_INT @PROJECT_VERSION_INT@
|
|
|
|
#if defined (CMLIB_ORGANIZATION_NAME)
|
|
#error "Duplicate definition of macros CMLIB_ORGANIZATION_NAME"
|
|
#else
|
|
#define CMLIB_ORGANIZATION_NAME "@CMLIB_ORGANIZATION_NAME@"
|
|
#endif
|
|
|
|
#if defined (CMLIB_ORGANIZATION_NAME_LOWER)
|
|
#error "Duplicate definition of macros CMLIB_ORGANIZATION_NAME_LOWER"
|
|
#else
|
|
#define CMLIB_ORGANIZATION_NAME_LOWER "@CMLIB_ORGANIZATION_NAME_LOWER@"
|
|
#endif
|
|
|
|
#if defined (CMLIB_ORGANIZATION_NAME_UPPER)
|
|
#error "Duplicate definition of macros CMLIB_ORGANIZATION_NAME_UPPER"
|
|
#else
|
|
#define CMLIB_ORGANIZATION_NAME_UPPER "@CMLIB_ORGANIZATION_NAME_UPPER@"
|
|
#endif
|
|
|
|
#if defined (CMLIB_PROJECT_NAME)
|
|
#error "Duplicate definition of macros CMLIB_PROJECT_NAME"
|
|
#else
|
|
#define CMLIB_PROJECT_NAME "@CMAKE_PROJECT_NAME@"
|
|
#endif
|
|
|
|
#if defined (CMLIB_PROJECT_NAME_LOWER)
|
|
#error "Duplicate definition of macros CMLIB_PROJECT_NAME_LOWER"
|
|
#else
|
|
#define CMLIB_PROJECT_NAME_LOWER "@CMLIB_PROJECT_NAME_LOWER@"
|
|
#endif
|
|
|
|
#if defined (CMLIB_PROJECT_NAME_UPPER)
|
|
#error "Duplicate definition of macros CMLIB_PROJECT_NAME_UPPER"
|
|
#else
|
|
#define CMLIB_PROJECT_NAME_UPPER "@CMLIB_PROJECT_NAME_UPPER@"
|
|
#endif
|
|
|
|
#if defined (CMLIB_THEME_NAME)
|
|
#error "Duplicate definition of macros CMLIB_THEME_NAME"
|
|
#else
|
|
#define CMLIB_THEME_NAME "@CMLIB_THEME_NAME@"
|
|
#endif
|
|
|
|
#if defined (CMLIB_THEME_NAME_LOWER)
|
|
#error "Duplicate definition of macros CMLIB_THEME_NAME_LOWER"
|
|
#else
|
|
#define CMLIB_THEME_NAME_LOWER "@CMLIB_THEME_NAME_LOWER@"
|
|
#endif
|
|
|
|
#if defined (CMLIB_THEME_NAME_UPPER)
|
|
#error "Duplicate definition of macros CMLIB_THEME_NAME_UPPER"
|
|
#else
|
|
#define CMLIB_THEME_NAME_UPPER "@CMLIB_THEME_NAME_UPPER@"
|
|
#endif
|
|
|
|
#if defined (CMLIB_AUTHOR_NAME)
|
|
#error "Duplicate definition of macros CMLIB_AUTHOR_NAME"
|
|
#else
|
|
#define CMLIB_AUTHOR_NAME "@CMLIB_AUTHOR_NAME@"
|
|
#endif
|
|
|
|
#if defined (CMLIB_AUTHOR_EMAIL)
|
|
#error "Duplicate definition of macros CMLIB_AUTHOR_EMAIL"
|
|
#else
|
|
#define CMLIB_AUTHOR_EMAIL "@CMLIB_AUTHOR_EMAIL@"
|
|
#endif
|
|
|
|
#if defined (CMLIB_DESCRIPTION)
|
|
#error "Duplicate definition of macros CMLIB_DESCRIPTION"
|
|
#else
|
|
#define CMLIB_DESCRIPTION "@CMLIB_DESCRIPTION@"
|
|
#endif
|
|
|
|
#if defined (CMLIB_BUILD_TYPE)
|
|
#error "Duplicate definition of macros CMLIB_BUILD_TYPE"
|
|
#else
|
|
#define CMLIB_BUILD_TYPE "@CMAKE_BUILD_TYPE@"
|
|
#endif
|
|
|
|
#if defined (CMLIB_BUILD_DATE)
|
|
#error "Duplicate definition of macros CMLIB_BUILD_DATE"
|
|
#else
|
|
#define CMLIB_BUILD_DATE "@TODAY@"
|
|
#endif
|
|
|
|
#endif /* @CMLIB_PROJECT_NAME_UPPER@_CMLIB_CONFIG_HPP_ */
|
|
|