cmlib/CMLibConfigHPPGenerate.cmake

11 lines
412 B
CMake
Raw Normal View History

2019-02-12 16:31:17 +00:00
function(cmlib_config_hpp_generate)
include(CMLibLargeFiles)
cmlib_test_large_files(HAVE_LARGEFILES)
2019-02-12 16:31:17 +00:00
get_property(VERSION_INT GLOBAL PROPERTY VERSION_INT)
get_property(VERSION_STR GLOBAL PROPERTY VERSION_STR)
get_property(ORGANIZATION_NAME GLOBAL PROPERTY ORGANIZATION_NAME)
2019-02-16 10:10:12 +00:00
configure_file(${CMLIB_MODULE_DIR}/hpp/config.hpp.in
${CMAKE_BINARY_DIR}/include/config.hpp)
2019-02-12 16:31:17 +00:00
endfunction()