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.
 
 
 
 

28 lines
845 B

  1. # This file contains constant variables that are fixed to this project
  2. # Version
  3. Set ( HELLOWORLD_VERSION_MAJOR 1 )
  4. Set ( HELLOWORLD_VERSION_MINOR 0 )
  5. Set ( HELLOWORLD_VERSION_PATCH 0 )
  6. Set ( HELLOWORLD_VERSION_BUILD 0 )
  7. Set ( HELLOWORLD_VERSION_BEHIND 0 )
  8. Set ( HELLOWORLD_VERSION_DIRTY 0 )
  9. Set ( HELLOWORLD_VERSION_HASH "notgit" )
  10. Set ( HELLOWORLD_VERSION_HASH_SHORT "notgit" )
  11. # Names
  12. Set ( HELLOWORLD_PROJECT_NAME "helloworld" )
  13. Set ( HELLOWORLD_PROJECT_DESCRIPTION "A simple hello world project" )
  14. # Include generated variables for further usage
  15. Include ( ${CMAKE_CURRENT_LIST_DIR}/helloworld-var.cmake )
  16. # Install directories
  17. Set ( HELLOWORLD_INSTALL_DIR_BIN "${CMAKE_INSTALL_BINDIR}" )
  18. # C Standard
  19. Set ( CMAKE_C_STANDARD 11 )
  20. Set ( CMAKE_CXX_STANDARD 20 )
  21. Set ( CMAKE_C_STANDARD_REQUIRED ON )
  22. Set ( CMAKE_CXX_STANDARD_REQUIRED ON )