myx-cmake/MyxCMake/functions/hpp/myx_cmake_private_config.hpp.in

95 lines
2.8 KiB
C++
Raw Normal View History

2021-12-09 11:41:26 +00:00
#ifndef @MYX_CMAKE_PROJECT_NAME_UPPER@_MYX_CMAKE_CONFIG_HPP_
#define @MYX_CMAKE_PROJECT_NAME_UPPER@_MYX_CMAKE_CONFIG_HPP_
2021-12-08 11:32:04 +00:00
#pragma once
2021-12-09 11:41:26 +00:00
#define @MYX_CMAKE_PROJECT_NAME_UPPER@_VERSION_STR "@PROJECT_VERSION@"
#define @MYX_CMAKE_PROJECT_NAME_UPPER@_VERSION_INT @PROJECT_VERSION_INT@
2021-12-08 11:32:04 +00:00
2021-12-09 11:41:26 +00:00
#if defined (MYX_CMAKE_ORGANIZATION_NAME)
#error "Duplicate definition of macros MYX_CMAKE_ORGANIZATION_NAME"
2021-12-08 11:32:04 +00:00
#else
2021-12-09 11:41:26 +00:00
#define MYX_CMAKE_ORGANIZATION_NAME "@MYX_CMAKE_ORGANIZATION_NAME@"
2021-12-08 11:32:04 +00:00
#endif
2021-12-09 11:41:26 +00:00
#if defined (MYX_CMAKE_ORGANIZATION_NAME_LOWER)
#error "Duplicate definition of macros MYX_CMAKE_ORGANIZATION_NAME_LOWER"
2021-12-08 11:32:04 +00:00
#else
2021-12-09 11:41:26 +00:00
#define MYX_CMAKE_ORGANIZATION_NAME_LOWER "@MYX_CMAKE_ORGANIZATION_NAME_LOWER@"
2021-12-08 11:32:04 +00:00
#endif
2021-12-09 11:41:26 +00:00
#if defined (MYX_CMAKE_ORGANIZATION_NAME_UPPER)
#error "Duplicate definition of macros MYX_CMAKE_ORGANIZATION_NAME_UPPER"
2021-12-08 11:32:04 +00:00
#else
2021-12-09 11:41:26 +00:00
#define MYX_CMAKE_ORGANIZATION_NAME_UPPER "@MYX_CMAKE_ORGANIZATION_NAME_UPPER@"
2021-12-08 11:32:04 +00:00
#endif
2021-12-09 11:41:26 +00:00
#if defined (MYX_CMAKE_PROJECT_NAME)
#error "Duplicate definition of macros MYX_CMAKE_PROJECT_NAME"
2021-12-08 11:32:04 +00:00
#else
2021-12-09 11:41:26 +00:00
#define MYX_CMAKE_PROJECT_NAME "@CMAKE_PROJECT_NAME@"
2021-12-08 11:32:04 +00:00
#endif
2021-12-09 11:41:26 +00:00
#if defined (MYX_CMAKE_PROJECT_NAME_LOWER)
#error "Duplicate definition of macros MYX_CMAKE_PROJECT_NAME_LOWER"
2021-12-08 11:32:04 +00:00
#else
2021-12-09 11:41:26 +00:00
#define MYX_CMAKE_PROJECT_NAME_LOWER "@MYX_CMAKE_PROJECT_NAME_LOWER@"
2021-12-08 11:32:04 +00:00
#endif
2021-12-09 11:41:26 +00:00
#if defined (MYX_CMAKE_PROJECT_NAME_UPPER)
#error "Duplicate definition of macros MYX_CMAKE_PROJECT_NAME_UPPER"
2021-12-08 11:32:04 +00:00
#else
2021-12-09 11:41:26 +00:00
#define MYX_CMAKE_PROJECT_NAME_UPPER "@MYX_CMAKE_PROJECT_NAME_UPPER@"
2021-12-08 11:32:04 +00:00
#endif
2021-12-09 11:41:26 +00:00
#if defined (MYX_CMAKE_THEME_NAME)
#error "Duplicate definition of macros MYX_CMAKE_THEME_NAME"
2021-12-08 11:32:04 +00:00
#else
2021-12-09 11:41:26 +00:00
#define MYX_CMAKE_THEME_NAME "@MYX_CMAKE_THEME_NAME@"
2021-12-08 11:32:04 +00:00
#endif
2021-12-09 11:41:26 +00:00
#if defined (MYX_CMAKE_THEME_NAME_LOWER)
#error "Duplicate definition of macros MYX_CMAKE_THEME_NAME_LOWER"
2021-12-08 11:32:04 +00:00
#else
2021-12-09 11:41:26 +00:00
#define MYX_CMAKE_THEME_NAME_LOWER "@MYX_CMAKE_THEME_NAME_LOWER@"
2021-12-08 11:32:04 +00:00
#endif
2021-12-09 11:41:26 +00:00
#if defined (MYX_CMAKE_THEME_NAME_UPPER)
#error "Duplicate definition of macros MYX_CMAKE_THEME_NAME_UPPER"
2021-12-08 11:32:04 +00:00
#else
2021-12-09 11:41:26 +00:00
#define MYX_CMAKE_THEME_NAME_UPPER "@MYX_CMAKE_THEME_NAME_UPPER@"
2021-12-08 11:32:04 +00:00
#endif
2021-12-09 11:41:26 +00:00
#if defined (MYX_CMAKE_AUTHOR_NAME)
#error "Duplicate definition of macros MYX_CMAKE_AUTHOR_NAME"
2021-12-08 11:32:04 +00:00
#else
2021-12-09 11:41:26 +00:00
#define MYX_CMAKE_AUTHOR_NAME "@MYX_CMAKE_AUTHOR_NAME@"
2021-12-08 11:32:04 +00:00
#endif
2021-12-09 11:41:26 +00:00
#if defined (MYX_CMAKE_AUTHOR_EMAIL)
#error "Duplicate definition of macros MYX_CMAKE_AUTHOR_EMAIL"
2021-12-08 11:32:04 +00:00
#else
2021-12-09 11:41:26 +00:00
#define MYX_CMAKE_AUTHOR_EMAIL "@MYX_CMAKE_AUTHOR_EMAIL@"
2021-12-08 11:32:04 +00:00
#endif
2021-12-09 11:41:26 +00:00
#if defined (MYX_CMAKE_DESCRIPTION)
#error "Duplicate definition of macros MYX_CMAKE_DESCRIPTION"
2021-12-08 11:32:04 +00:00
#else
2021-12-09 11:41:26 +00:00
#define MYX_CMAKE_DESCRIPTION "@MYX_CMAKE_DESCRIPTION@"
2021-12-08 11:32:04 +00:00
#endif
2021-12-09 11:41:26 +00:00
#if defined (MYX_CMAKE_BUILD_TYPE)
#error "Duplicate definition of macros MYX_CMAKE_BUILD_TYPE"
2021-12-08 11:32:04 +00:00
#else
2021-12-09 11:41:26 +00:00
#define MYX_CMAKE_BUILD_TYPE "@CMAKE_BUILD_TYPE@"
2021-12-08 11:32:04 +00:00
#endif
2021-12-09 11:41:26 +00:00
#if defined (MYX_CMAKE_BUILD_DATE)
#error "Duplicate definition of macros MYX_CMAKE_BUILD_DATE"
2021-12-08 11:32:04 +00:00
#else
2021-12-09 11:41:26 +00:00
#define MYX_CMAKE_BUILD_DATE "@TODAY@"
2021-12-08 11:32:04 +00:00
#endif
2021-12-09 11:41:26 +00:00
#endif /* @MYX_CMAKE_PROJECT_NAME_UPPER@_MYX_CMAKE_CONFIG_HPP_ */
2021-12-08 11:32:04 +00:00