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.
 
 
 

29 lines
1.6 KiB

  1. # This file contains constant variables that are fixed to this project
  2. # Version
  3. Set ( CPPCURL_VERSION_MAJOR 1 )
  4. Set ( CPPCURL_VERSION_MINOR 0 )
  5. Set ( CPPCURL_VERSION_PATCH 0 )
  6. Set ( CPPCURL_VERSION_BUILD 0 )
  7. Set ( CPPCURL_VERSION_HASH "" )
  8. Set ( CPPCURL_VERSION_BEHIND 0 )
  9. Set ( CPPCURL_VERSION_DIRTY 0 )
  10. # Names
  11. Set ( CPPCURL_PROJECT_NAME "cppcurl" )
  12. Set ( CPPCURL_PROJECT_DESCRIPTION "C++ wrapper library for curl." )
  13. # Include generated variables for further usage
  14. Include ( ${CMAKE_CURRENT_LIST_DIR}/cppcurl-var.cmake )
  15. # Install directories
  16. Set ( CPPCURL_INSTALL_DIR_INCLUDE "${CMAKE_INSTALL_INCLUDEDIR}/${CPPCURL_NAME}" )
  17. Set ( CPPCURL_INSTALL_DIR_LIB "${CMAKE_INSTALL_LIBDIR}" )
  18. Set ( CPPCURL_INSTALL_DIR_SHARE "${CMAKE_INSTALL_DATAROOTDIR}/${CPPCURL_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 )