function(cmlib_generate_private_config_hpp) include(CMLibLargeFiles) cmlib_test_large_files(HAVE_LARGEFILES) 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() get_property(PROJECT_VERSION_INT GLOBAL PROPERTY PROJECT_VERSION_INT) configure_file(${CMLIB_MODULE_DIR}/hpp/cmlib_private_config.hpp.in ${output_file}) endfunction()