Merge branch 'master' of git.246060.ru:f1x1t/cmlib
This commit is contained in:
commit
58a568b2a6
@ -4,6 +4,6 @@ function(cmlib_config_hpp_generate)
|
|||||||
|
|
||||||
get_property(PROJECT_VERSION_INT GLOBAL PROPERTY PROJECT_VERSION_INT)
|
get_property(PROJECT_VERSION_INT GLOBAL PROPERTY PROJECT_VERSION_INT)
|
||||||
get_property(ORGANIZATION_NAME GLOBAL PROPERTY ORGANIZATION_NAME)
|
get_property(ORGANIZATION_NAME GLOBAL PROPERTY ORGANIZATION_NAME)
|
||||||
configure_file(${CMLIB_MODULE_DIR}/hpp/config.hpp.in
|
configure_file(${CMLIB_MODULE_DIR}/hpp/cmlib_config.hpp.in
|
||||||
${CMAKE_BINARY_DIR}/include/config.hpp)
|
${CMAKE_BINARY_DIR}/include/cmlib_config.hpp)
|
||||||
endfunction()
|
endfunction()
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#ifndef @CMLIB_PROJECT_NAME_CANONICAL@_CONFIG_HPP_
|
#ifndef @CMLIB_PROJECT_NAME_CANONICAL@_CMLIB_CONFIG_HPP_
|
||||||
#define @CMLIB_PROJECT_NAME_CANONICAL@_CONFIG_HPP_
|
#define @CMLIB_PROJECT_NAME_CANONICAL@_CMLIB_CONFIG_HPP_
|
||||||
|
|
||||||
#define @CMLIB_PROJECT_NAME_CANONICAL@_VERSION_STR "@PROJECT_VERSION@"
|
#define @CMLIB_PROJECT_NAME_CANONICAL@_VERSION_STR "@PROJECT_VERSION@"
|
||||||
#define @CMLIB_PROJECT_NAME_CANONICAL@_VERSION_INT @PROJECT_VERSION_INT@
|
#define @CMLIB_PROJECT_NAME_CANONICAL@_VERSION_INT @PROJECT_VERSION_INT@
|
||||||
@ -19,5 +19,5 @@
|
|||||||
#cmakedefine HAVE__FSEEKI64
|
#cmakedefine HAVE__FSEEKI64
|
||||||
#cmakedefine HAVE_LARGEFILES @HAVE_LARGEFILES@
|
#cmakedefine HAVE_LARGEFILES @HAVE_LARGEFILES@
|
||||||
|
|
||||||
#endif /* @CMLIB_PROJECT_NAME_CANONICAL@_CONFIG_HPP_ */
|
#endif /* @CMLIB_PROJECT_NAME_CANONICAL@_CMLIB_CONFIG_HPP_ */
|
||||||
|
|
Loading…
Reference in New Issue
Block a user