config.hpp переименован в cmlib_config.hpp
This commit is contained in:
parent
eabbde0701
commit
1fdbd267dd
@ -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