mirror of
https://github.com/emanuele-f/PCAPdroid.git
synced 2026-06-19 21:05:25 +08:00
Add nDPI cmake file
This commit is contained in:
parent
acfabc2991
commit
e7e8d154d4
16
nDPI/CMakeLists.txt
Normal file
16
nDPI/CMakeLists.txt
Normal file
@ -0,0 +1,16 @@
|
||||
cmake_minimum_required(VERSION 2.8.11)
|
||||
|
||||
# A C project
|
||||
project(C)
|
||||
|
||||
set(CMAKE_VERBOSE_MAKEFILE ON)
|
||||
|
||||
add_definitions(-DNDPI_LIB_COMPILATION)
|
||||
|
||||
include_directories(./src/include ./src/lib/third_party/include)
|
||||
|
||||
AUX_SOURCE_DIRECTORY(./src/lib AllSources)
|
||||
AUX_SOURCE_DIRECTORY(./src/lib/protocols AllSources)
|
||||
|
||||
# libndpi.so target
|
||||
ADD_LIBRARY(ndpi SHARED ${AllSources})
|
||||
Loading…
Reference in New Issue
Block a user