cmlib/CMLibConfigHPPGenerate.cmake

9 lines
344 B
CMake

function(cmlib_config_hpp_generate)
include(CMLibLargeFiles)
cmlib_test_large_files(HAVE_LARGEFILES)
get_property(PROJECT_VERSION_INT GLOBAL PROPERTY PROJECT_VERSION_INT)
configure_file(${CMLIB_MODULE_DIR}/hpp/cmlib_config.hpp.in
${CMAKE_BINARY_DIR}/include/cmlib_${CMLIB_PROJECT_NAME_LOWER}_config.hpp)
endfunction()