You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

30 lines
1.0 KiB

  1. # This file contains constant variables that are fixed to this project
  2. # Version
  3. Set ( LIBHELLOWORLD_VERSION_MAJOR 1 )
  4. Set ( LIBHELLOWORLD_VERSION_MINOR 0 )
  5. Set ( LIBHELLOWORLD_VERSION_PATCH 0 )
  6. Set ( LIBHELLOWORLD_VERSION_BUILD 0 )
  7. Set ( LIBHELLOWORLD_VERSION_BEHIND 0 )
  8. Set ( LIBHELLOWORLD_VERSION_DIRTY 0 )
  9. Set ( LIBHELLOWORLD_VERSION_HASH "nogit" )
  10. Set ( LIBHELLOWORLD_VERSION_HASH_SHORT "nogit" )
  11. # Names
  12. Set ( LIBHELLOWORLD_PROJECT_NAME "libhelloworld" )
  13. Set ( LIBHELLOWORLD_PROJECT_DESCRIPTION "A simple hello world library" )
  14. # Include generated variables for further usage
  15. Include ( ${CMAKE_CURRENT_LIST_DIR}/libhelloworld-var.cmake )
  16. # Install directories
  17. Set ( LIBHELLOWORLD_INSTALL_DIR_LIB "${CMAKE_INSTALL_LIBDIR}" )
  18. Set ( LIBHELLOWORLD_INSTALL_DIR_SHARE "${CMAKE_INSTALL_DATAROOTDIR}/${LIBHELLOWORLD_NAME}" )
  19. Set ( LIBHELLOWORLD_INSTALL_DIR_INCLUDE "${CMAKE_INSTALL_INCLUDEDIR}/${LIBHELLOWORLD_NAME}" )
  20. # C Standard
  21. Set ( CMAKE_C_STANDARD 11 )
  22. Set ( CMAKE_CXX_STANDARD 20 )
  23. Set ( CMAKE_C_STANDARD_REQUIRED ON )
  24. Set ( CMAKE_CXX_STANDARD_REQUIRED ON )