Moved sniff to separate sub-project

This commit is contained in:
mandlm 2017-10-19 16:45:24 +02:00
parent fa85202c3d
commit 35d3428321
3 changed files with 14 additions and 10 deletions

View File

@ -4,17 +4,8 @@ set(CMAKE_CXX_STANDARD 11)
add_definitions(-DRPI)
add_executable(Sniff
sniff.cpp
)
target_link_libraries(Sniff
sniffer
rc-switch
wiringPi
)
add_subdirectory(RCSwitch)
add_subdirectory(sniffer)
add_subdirectory(qsniff)
add_subdirectory(sniff)

View File

@ -0,0 +1,13 @@
project(Sniff)
cmake_minimum_required(VERSION 3.6)
add_executable(${PROJECT_NAME}
sniff.cpp
)
target_link_libraries(${PROJECT_NAME}
sniffer
rc-switch
wiringPi
)