2017-10-17 14:50:20 +00:00
|
|
|
cmake_minimum_required(VERSION 3.7)
|
2017-10-17 11:19:25 +00:00
|
|
|
|
2017-10-17 14:50:20 +00:00
|
|
|
add_definitions(-DRPI)
|
2017-10-17 11:19:25 +00:00
|
|
|
|
2017-10-17 14:50:20 +00:00
|
|
|
add_library(rc-switch
|
|
|
|
rc-switch/RCSwitch.cpp
|
|
|
|
rc-switch/RCSwitch.h
|
2017-10-17 11:19:25 +00:00
|
|
|
)
|
2017-10-17 14:50:20 +00:00
|
|
|
|
|
|
|
add_executable(qSniff
|
|
|
|
qsniff.cpp
|
|
|
|
)
|
|
|
|
|
|
|
|
target_link_libraries(qSniff rc-switch wiringPi)
|
|
|
|
|