2017-10-19 12:10:00 +00:00
|
|
|
project(sniffer)
|
|
|
|
cmake_minimum_required(VERSION 3.6)
|
|
|
|
|
2017-10-19 15:01:21 +00:00
|
|
|
set(CMAKE_CXX_STANDARD 11)
|
|
|
|
|
2017-10-19 12:10:00 +00:00
|
|
|
add_library(${PROJECT_NAME}
|
|
|
|
sniffer.cpp
|
|
|
|
sniffer.h
|
|
|
|
)
|
|
|
|
|
|
|
|
target_link_libraries(${PROJECT_NAME}
|
|
|
|
rc-switch
|
|
|
|
)
|
|
|
|
|
|
|
|
target_include_directories(${PROJECT_NAME}
|
|
|
|
PUBLIC .
|
|
|
|
)
|
|
|
|
|