Moved rc-switch to sub-project
parent
6c9646291e
commit
bb82ff8317
|
@ -1,3 +1,3 @@
|
||||||
[submodule "source/rc-switch"]
|
[submodule "source/RCSwitch/rc-switch"]
|
||||||
path = source/rc-switch
|
path = source/RCSwitch/rc-switch
|
||||||
url = git@github.com:sui77/rc-switch.git
|
url = git@github.com:sui77/rc-switch.git
|
||||||
|
|
|
@ -9,11 +9,6 @@ set(CMAKE_AUTOUIC ON)
|
||||||
|
|
||||||
add_definitions(-DRPI)
|
add_definitions(-DRPI)
|
||||||
|
|
||||||
add_library(rc-switch
|
|
||||||
rc-switch/RCSwitch.cpp
|
|
||||||
rc-switch/RCSwitch.h
|
|
||||||
)
|
|
||||||
|
|
||||||
add_executable(qSniff
|
add_executable(qSniff
|
||||||
qsniff.cpp
|
qsniff.cpp
|
||||||
mainwindow.cpp
|
mainwindow.cpp
|
||||||
|
@ -35,3 +30,5 @@ add_executable(Sniff
|
||||||
|
|
||||||
target_link_libraries(Sniff rc-switch wiringPi)
|
target_link_libraries(Sniff rc-switch wiringPi)
|
||||||
|
|
||||||
|
add_subdirectory(RCSwitch)
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,11 @@
|
||||||
|
cmake_minimum_required(VERSION 3.6)
|
||||||
|
|
||||||
|
add_library(rc-switch
|
||||||
|
rc-switch/RCSwitch.cpp
|
||||||
|
rc-switch/RCSwitch.h
|
||||||
|
)
|
||||||
|
|
||||||
|
target_include_directories(rc-switch
|
||||||
|
PUBLIC .
|
||||||
|
)
|
||||||
|
|
Loading…
Reference in New Issue