Non puoi selezionare più di 25 argomenti Gli argomenti devono iniziare con una lettera o un numero, possono includere trattini ('-') e possono essere lunghi fino a 35 caratteri.
 
 
 
 

27 righe
1.3 KiB

  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_HASH "" )
  8. Set ( HELLOWORLD_VERSION_BEHIND 0 )
  9. Set ( HELLOWORLD_VERSION_DIRTY 0 )
  10. # Names
  11. Set ( HELLOWORLD_PROJECT_NAME "helloworld" )
  12. Set ( HELLOWORLD_PROJECT_DESCRIPTION "A simple hello world project" )
  13. # Include generated variables for further usage
  14. Include ( ${CMAKE_CURRENT_LIST_DIR}/helloworld-var.cmake )
  15. # Install directories
  16. Set ( HELLOWORLD_INSTALL_DIR_BIN "bin" )
  17. # C Standard
  18. Set ( CMAKE_C_STANDARD 11 )
  19. Set ( CMAKE_CXX_STANDARD 17 )
  20. Set ( CMAKE_C_STANDARD_REQUIRED ON )
  21. Set ( CMAKE_CXX_STANDARD_REQUIRED ON )