Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.
 
 
 

29 rader
1.6 KiB

  1. # This file contains constant variables that are fixed to this project
  2. # Version
  3. Set ( CPPMICROHTTPD_VERSION_MAJOR 1 )
  4. Set ( CPPMICROHTTPD_VERSION_MINOR 0 )
  5. Set ( CPPMICROHTTPD_VERSION_PATCH 0 )
  6. Set ( CPPMICROHTTPD_VERSION_BUILD 0 )
  7. Set ( CPPMICROHTTPD_VERSION_HASH "" )
  8. Set ( CPPMICROHTTPD_VERSION_BEHIND 0 )
  9. Set ( CPPMICROHTTPD_VERSION_DIRTY 0 )
  10. # Names
  11. Set ( CPPMICROHTTPD_PROJECT_NAME "cppmicrohttpd" )
  12. Set ( CPPMICROHTTPD_PROJECT_DESCRIPTION "A simple hello world library" )
  13. # Include generated variables for further usage
  14. Include ( ${CMAKE_CURRENT_LIST_DIR}/cppmicrohttpd-var.cmake )
  15. # Install directories
  16. Set ( CPPMICROHTTPD_INSTALL_DIR_INCLUDE "${CMAKE_INSTALL_INCLUDEDIR}/${CPPMICROHTTPD_NAME}" )
  17. Set ( CPPMICROHTTPD_INSTALL_DIR_LIB "${CMAKE_INSTALL_LIBDIR}" )
  18. Set ( CPPMICROHTTPD_INSTALL_DIR_SHARE "${CMAKE_INSTALL_DATAROOTDIR}/${CPPMICROHTTPD_NAME}" )
  19. # C Standard
  20. Set ( CMAKE_C_STANDARD 11 )
  21. Set ( CMAKE_CXX_STANDARD 17 )
  22. Set ( CMAKE_C_STANDARD_REQUIRED ON )
  23. Set ( CMAKE_CXX_STANDARD_REQUIRED ON )