This repository has been archived on 2024-12-15. You can view files and clone it, but cannot push or open issues or pull requests.
qSniff/source/CMakeLists.txt

37 lines
559 B
CMake
Raw Normal View History

cmake_minimum_required(VERSION 3.7)
2017-10-17 11:19:25 +00:00
2017-10-17 20:08:05 +00:00
find_package(Qt5Widgets)
set(CMAKE_INCLUDE_CURRENT_DIR ON)
set(CMAKE_AUTOMOC ON)
set(CMAKE_AUTOUIC ON)
add_definitions(-DRPI)
2017-10-17 11:19:25 +00:00
add_library(rc-switch
rc-switch/RCSwitch.cpp
rc-switch/RCSwitch.h
2017-10-17 11:19:25 +00:00
)
add_executable(qSniff
2017-10-17 20:08:05 +00:00
qsniff.cpp
mainwindow.cpp
mainwindow.h
mainwindow.ui
sniffthread.cpp
sniffthread.h
2017-10-18 20:31:39 +00:00
sniffer.cpp
sniffer.h
)
2017-10-17 20:08:05 +00:00
target_link_libraries(qSniff rc-switch wiringPi Qt5::Widgets)
2017-10-18 20:31:39 +00:00
add_executable(Sniff
sniff.cpp
sniffer.cpp
sniffer.h
)
target_link_libraries(Sniff rc-switch wiringPi)