Move all to deprecated folder.
This commit is contained in:
22
deprecated/3P/wiringPi/gpio/CMakeLists.txt
Normal file
22
deprecated/3P/wiringPi/gpio/CMakeLists.txt
Normal file
@@ -0,0 +1,22 @@
|
||||
cmake_minimum_required(VERSION 2.8)
|
||||
|
||||
project(gpio)
|
||||
|
||||
include (wiringPi)
|
||||
include (wiringPiDev)
|
||||
|
||||
include_directories(${WIRINGPI_INCLUDE_PATH}
|
||||
${WIRINGPIDEV_INCLUDE_PATH}
|
||||
)
|
||||
|
||||
add_executable(gpio gpio.c readall.c pins.c)
|
||||
|
||||
add_dependencies (gpio wiringPi wiringPiDev)
|
||||
|
||||
target_link_libraries(gpio
|
||||
LINK_PUBLIC
|
||||
wiringPi
|
||||
wiringPiDev
|
||||
pthread
|
||||
m
|
||||
)
|
||||
Reference in New Issue
Block a user