Browse Source

wiringPi/CMakeLists.txt ,update for lastest change [part 1]

pull/47/head^2
dnv_aps sn 8 years ago
committed by GitHub
parent
commit
649f0cfe77
1 changed files with 11 additions and 16 deletions
  1. +11
    -16
      wiringPi/CMakeLists.txt

+ 11
- 16
wiringPi/CMakeLists.txt View File

@@ -1,16 +1,13 @@
set(wiringPi_src wiringPi.c
wiringSerial.c wiringShift.c
piHiPri.c piThread.c
wiringPiSPI.c wiringPiI2C.c
softPwm.c softTone.c
wiringPiSPI.c wiringPiI2C.c
softPwm.c softTone.c ads1115.c
mcp23008.c mcp23016.c mcp23017.c
mcp23s08.c mcp23s17.c
sr595.c
pcf8574.c pcf8591.c
mcp23s08.c mcp23s17.c sr595.c
pcf8574.c pcf8591.c sn3218.c
mcp3002.c mcp3004.c mcp4802.c mcp3422.c
max31855.c max5322.c
sn3218.c
drcSerial.c
max31855.c max5322.c drcSerial.c
wpiExtensions.c)
set(LIB_INSTALL_PATH /usr/lib)
set(LIB_INSTALL_HEADERS_PATH /usr/local)
@@ -23,17 +20,15 @@ set(root_HEADERS
wiringPi.h
wiringSerial.h wiringShift.h
wiringPiSPI.h wiringPiI2C.h
softPwm.h softTone.h
softPwm.h softTone.h
mcp23008.h mcp23016.h mcp23017.h
mcp23s08.h mcp23s17.h
sr595.h
pcf8574.h pcf8591.h
mcp23s08.h mcp23s17.h
sr595.h ads1115.h
pcf8574.h pcf8591.h
mcp3002.h mcp3004.h mcp4802.h mcp3422.h
max31855.h max5322.h
sn3218.h
drcSerial.h
wpiExtensions.h
)
sn3218.h drcSerial.h
wpiExtensions.h)

install(FILES ${root_HEADERS} DESTINATION ${LIB_INSTALL_HEADERS_PATH}/include)
install(TARGETS libwiringPi DESTINATION ${LIB_INSTALL_PATH})

Loading…
Cancel
Save