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.

CMakeLists.txt 659 B

123456789101112131415
  1. set(devLib_src ds1302.c maxdetect.c scrollPhat.c piNes.c gertboard.c piFace.c lcd128x64.c lcd.c piGlow.c)
  2. set(LIB_INSTALL_PATH /usr/lib)
  3. set(LIB_INSTALL_HEADERS_PATH /usr/local)
  4. add_library(libwiringPiDev SHARED ${devLib_src})
  5. set(LIBRARY_OUTPUT_PATH {LIB_INSTALL_PATH)
  6. add_definitions("-lpthread")
  7. set_target_properties(libwiringPiDev PROPERTIES OUTPUT_NAME "wiringPiDev")
  8. set(root_HEADERS
  9. ds1302.h gertboard.h lcd.h
  10. lcd128x64.h maxdetect.h piFace.h
  11. piGlow.h piNes.h scrollPhat.h scrollPhatFont.h)
  12. install(FILES ${root_HEADERS} DESTINATION ${LIB_INSTALL_HEADERS_PATH}/include)
  13. install(TARGETS libwiringPiDev DESTINATION ${LIB_INSTALL_PATH})