2019-02-12 16:31:17 +00:00
|
|
|
function(cmlib_config_hpp_generate)
|
2019-02-15 04:43:50 +00:00
|
|
|
include(CMLibLargeFiles)
|
|
|
|
cmlib_test_large_files(HAVE_LARGEFILES)
|
|
|
|
|
2019-02-20 14:18:32 +00:00
|
|
|
get_property(PROJECT_VERSION_INT GLOBAL PROPERTY PROJECT_VERSION_INT)
|
2019-10-04 08:25:56 +00:00
|
|
|
string(TOLOWER ${ORGANIZATION_NAME} ORGANIZATION_NAME_LOWER)
|
2019-10-04 09:35:35 +00:00
|
|
|
string(TOUPPER ${ORGANIZATION_NAME} ORGANIZATION_NAME_UPPER)
|
2019-10-04 08:25:56 +00:00
|
|
|
string(TOLOWER ${CMAKE_PROJECT_NAME} CMAKE_PROJECT_NAME_LOWER)
|
2019-10-04 09:35:35 +00:00
|
|
|
string(TOUPPER ${CMAKE_PROJECT_NAME} CMAKE_PROJECT_NAME_UPPER)
|
2019-07-16 05:31:35 +00:00
|
|
|
configure_file(${CMLIB_MODULE_DIR}/hpp/cmlib_config.hpp.in
|
|
|
|
${CMAKE_BINARY_DIR}/include/cmlib_config.hpp)
|
2019-02-12 16:31:17 +00:00
|
|
|
endfunction()
|