Moved sniff to separate sub-project
This commit is contained in:
parent
fa85202c3d
commit
35d3428321
@ -4,17 +4,8 @@ set(CMAKE_CXX_STANDARD 11)
|
|||||||
|
|
||||||
add_definitions(-DRPI)
|
add_definitions(-DRPI)
|
||||||
|
|
||||||
add_executable(Sniff
|
|
||||||
sniff.cpp
|
|
||||||
)
|
|
||||||
|
|
||||||
target_link_libraries(Sniff
|
|
||||||
sniffer
|
|
||||||
rc-switch
|
|
||||||
wiringPi
|
|
||||||
)
|
|
||||||
|
|
||||||
add_subdirectory(RCSwitch)
|
add_subdirectory(RCSwitch)
|
||||||
add_subdirectory(sniffer)
|
add_subdirectory(sniffer)
|
||||||
add_subdirectory(qsniff)
|
add_subdirectory(qsniff)
|
||||||
|
add_subdirectory(sniff)
|
||||||
|
|
||||||
|
13
source/sniff/CMakeLists.txt
Normal file
13
source/sniff/CMakeLists.txt
Normal 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
|
||||||
|
)
|
||||||
|
|
Reference in New Issue
Block a user