Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.
 
 
 
 
 

26 rindas
795 B

  1. cmake_minimum_required(VERSION 3.10)
  2. include("${CMAKE_CURRENT_SOURCE_DIR}/cmake/get-version.cmake")
  3. project(wiringPi_lib VERSION ${VERSION})
  4. add_subdirectory(wiringPi)
  5. add_subdirectory(devLib)
  6. add_subdirectory(wiringPiD)
  7. add_subdirectory(gpio)
  8. # CPack
  9. set(CPACK_PACKAGE_NAME "wiringPi")
  10. set(CPACK_PACKAGE_DESCRIPTION "WiringPi Library for RaspberryPi")
  11. set(CPACK_PACKAGE_HOMEPAGE_URL "https://github.com/WiringPi/WiringPi")
  12. set(CPACK_RESOURCE_FILE_LICENSE "${CMAKE_CURRENT_SOURCE_DIR}/COPYING.LESSER")
  13. set(CPACK_RESOURCE_FILE_README "${CMAKE_CURRENT_SOURCE_DIR}/README.md")
  14. set(CPACK_GENERATOR "DEB")
  15. set(CPACK_DEBIAN_FILE_NAME DEB-DEFAULT)
  16. set(CPACK_DEBIAN_PACKAGE_MAINTAINER "WiringPi")
  17. set(CPACK_DEBIAN_PACKAGE_ARCHITECTURE "armhf")
  18. set(CPACK_SOURCE_GENERATOR "TGZ;ZIP")
  19. include(CPack)