Настройки компиляции
This commit is contained in:
parent
7c62d755b9
commit
873e29592c
@ -113,4 +113,9 @@ function(common_target_properties Name)
|
||||
${__visibility}
|
||||
ANALYSIS)
|
||||
endif()
|
||||
target_compile_definitions(
|
||||
${Name}
|
||||
${__visibility}
|
||||
"TARGET_LSB_ID_${LSB_DISTRIBUTOR_ID}"
|
||||
"TARGET_LSB_CODENAME_${LSB_CODENAME}")
|
||||
endfunction()
|
||||
|
@ -1,23 +0,0 @@
|
||||
#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@
|
||||
#define @CMLIB_PROJECT_NAME_CANONICAL@_BUILD_TYPE "@CMAKE_BUILD_TYPE@"
|
||||
#define @CMLIB_PROJECT_NAME_CANONICAL@_BUILD_DATE "@TODAY@"
|
||||
|
||||
#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_ */
|
||||
|
@ -54,16 +54,5 @@
|
||||
#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_ */
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user