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.

CMakeLists.txt 496 B

1234567891011121314
  1. cmake_minimum_required(VERSION 3.10)
  2. project(WiringPiLib)
  3. # Read version from version.h
  4. file(READ "${CMAKE_CURRENT_SOURCE_DIR}/version.h" WIRINGPI_VERSION)
  5. string(REGEX REPLACE ".*VERSION \"([0-9]+.[0-9]+)\".*" "\\1" WIRINGPI_VERSION "${WIRINGPI_VERSION}")
  6. string(REGEX REPLACE "([0-9]+)\..*" "\\1" WIRINGPI_SOVERSION "${WIRINGPI_VERSION}")
  7. # Include subdirectories
  8. add_subdirectory(devLib)
  9. add_subdirectory(gpio)
  10. #add_subdirectory(pins)
  11. add_subdirectory(wiringPi)
  12. #add_subdirectory(wiringPiD)