70 lines
2.0 KiB
C++
70 lines
2.0 KiB
C++
|
#ifndef @CMLIB_PROJECT_NAME_CANONICAL@_CMLIB_CONFIG_HPP_
|
||
|
#define @CMLIB_PROJECT_NAME_CANONICAL@_CMLIB_CONFIG_HPP_
|
||
|
|
||
|
#pragma once
|
||
|
|
||
|
#define @CMLIB_PROJECT_NAME_CANONICAL@_VERSION_STR "@PROJECT_VERSION@"
|
||
|
#define @CMLIB_PROJECT_NAME_CANONICAL@_VERSION_INT @PROJECT_VERSION_INT@
|
||
|
|
||
|
#if defined (CMLIB_ORGANIZATION_NAME)
|
||
|
#error "Duplicate definition of macros CMLIB_ORGANIZATION_NAME"
|
||
|
#else
|
||
|
#define CMLIB_ORGANIZATION_NAME "@ORGANIZATION_NAME@"
|
||
|
#endif
|
||
|
|
||
|
#if defined (CMLIB_ORGANIZATION_NAME_LOWER)
|
||
|
#error "Duplicate definition of macros CMLIB_ORGANIZATION_NAME_LOWER"
|
||
|
#else
|
||
|
#define CMLIB_ORGANIZATION_NAME_LOWER "@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 "@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 "@CMAKE_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 "@CMAKE_PROJECT_NAME_UPPER@"
|
||
|
#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
|
||
|
|
||
|
#cmakedefine _LARGEFILE_SOURCE
|
||
|
#cmakedefine _LARGE_FILES
|
||
|
#cmakedefine _FILE_OFFSET_BITS @_FILE_OFFSET_BITS@
|
||
|
#cmakedefine HAVE_FSEEKO
|
||
|
#cmakedefine HAVE__FSEEKI64
|
||
|
#cmakedefine HAVE_LARGEFILES @HAVE_LARGEFILES@
|
||
|
|
||
|
#define TARGET_LSB_ID_@LSB_DISTRIBUTOR_ID@
|
||
|
#define TARGET_LSB_CODENAME_@LSB_CODENAME@
|
||
|
#define TARGET_LSB_RELEASE "@LSB_RELEASE@"
|
||
|
|
||
|
#endif /* @CMLIB_PROJECT_NAME_CANONICAL@_CMLIB_CONFIG_HPP_ */
|
||
|
|