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 ( CPPFS_VERSION_MAJOR 1 )
  4. Set ( CPPFS_VERSION_MINOR 0 )
  5. Set ( CPPFS_VERSION_PATCH 0 )
  6. Set ( CPPFS_VERSION_BUILD 0 )
  7. Set ( CPPFS_VERSION_HASH "" )
  8. Set ( CPPFS_VERSION_BEHIND 0 )
  9. Set ( CPPFS_VERSION_DIRTY 0 )
  10. # Names
  11. Set ( CPPFS_PROJECT_NAME "cppfs" )
  12. Set ( CPPFS_PROJECT_DESCRIPTION "A simple interface library" )
  13. # Include generated variables for further usage
  14. Include ( ${CMAKE_CURRENT_LIST_DIR}/cppfs-var.cmake )
  15. # Install directories
  16. Set ( CPPFS_INSTALL_DIR_INCLUDE "${CMAKE_INSTALL_INCLUDEDIR}/${CPPFS_NAME}" )
  17. Set ( CPPFS_INSTALL_DIR_LIB "${CMAKE_INSTALL_LIBDIR}" )
  18. Set ( CPPFS_INSTALL_DIR_SHARE "${CMAKE_INSTALL_DATAROOTDIR}/${CPPFS_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 )