Moved rc-switch to sub-project

subprojects
mandlm 2017-10-19 13:57:55 +02:00
parent 6c9646291e
commit bb82ff8317
4 changed files with 15 additions and 7 deletions

4
.gitmodules vendored
View File

@ -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

View File

@ -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)

View File

@ -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 .
)