2021-05-30 20:07:16 +00:00
|
|
|
function(cmlib_generate_private_config_hpp)
|
2019-02-15 04:43:50 +00:00
|
|
|
include(CMLibLargeFiles)
|
|
|
|
cmlib_test_large_files(HAVE_LARGEFILES)
|
|
|
|
|
2020-04-21 09:26:03 +00:00
|
|
|
set(OUTPUT_FILE ${CMAKE_BINARY_DIR}/include/cmlib_private_config.hpp)
|
|
|
|
if(CMLIB_GENERATED_HEADERS_PATH)
|
|
|
|
set(OUTPUT_FILE ${CMLIB_GENERATED_HEADERS_PATH}/cmlib_private_config.hpp)
|
|
|
|
elseif(ARGV0)
|
|
|
|
set(OUTPUT_FILE ${ARGV0})
|
|
|
|
endif()
|
|
|
|
|
2019-02-20 14:18:32 +00:00
|
|
|
get_property(PROJECT_VERSION_INT GLOBAL PROPERTY PROJECT_VERSION_INT)
|
2020-04-21 09:26:03 +00:00
|
|
|
configure_file(${CMLIB_MODULE_DIR}/hpp/cmlib_private_config.hpp.in ${OUTPUT_FILE})
|
2019-02-12 16:31:17 +00:00
|
|
|
endfunction()
|