Skip to content

Commit 1503c6f

Browse files
committed
++
1 parent 1f73cd4 commit 1503c6f

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

43 files changed

+179
-12
lines changed

cmake/dependencies.cmake

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ find_package(PkgConfig REQUIRED)
33
find_package(unwind REQUIRED)
44
find_package(atomic REQUIRED)
55
find_package(lz4 REQUIRED)
6+
find_package(OpenSSL REQUIRED)
67

78
find_package(Threads REQUIRED)
89
if(NOT CMAKE_USE_PTHREADS_INIT)

src/plugins/input/dpdk/CMakeLists.txt

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
11
project(ipfixprobe-input-dpdk VERSION 1.0.0 DESCRIPTION "ipfixprobe-input-dpdk plugin")
22

3-
# Použijeme pkg-config pro hledání DPDK
43
find_package(PkgConfig REQUIRED)
54
pkg_check_modules(DPDK REQUIRED libdpdk)
65

7-
# Knihovna: ipfixprobe-input-dpdk
86
add_library(ipfixprobe-input-dpdk MODULE
97
src/dpdk.cpp
108
src/dpdkDevice.cpp
@@ -20,7 +18,11 @@ add_library(ipfixprobe-input-dpdk MODULE
2018
src/dpdk-ring.h
2119
)
2220

23-
# Přidání include cest
21+
set_target_properties(ipfixprobe-input-dpdk PROPERTIES
22+
CXX_VISIBILITY_PRESET hidden
23+
VISIBILITY_INLINES_HIDDEN YES
24+
)
25+
2426
target_include_directories(ipfixprobe-input-dpdk PRIVATE ${CMAKE_SOURCE_DIR}/include/)
2527
target_include_directories(ipfixprobe-input-dpdk PRIVATE ${DPDK_INCLUDE_DIRS})
2628
target_include_directories(ipfixprobe-input-dpdk PRIVATE ${CMAKE_SOURCE_DIR}/src/plugins/input/common)

src/plugins/input/nfb/CMakeLists.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,11 @@ add_library(ipfixprobe-input-nfb MODULE
99
src/ndpreader.hpp
1010
)
1111

12+
set_target_properties(ipfixprobe-input-nfb PROPERTIES
13+
CXX_VISIBILITY_PRESET hidden
14+
VISIBILITY_INLINES_HIDDEN YES
15+
)
16+
1217
target_include_directories(ipfixprobe-input-nfb PRIVATE
1318
${CMAKE_SOURCE_DIR}/include/
1419
${CMAKE_SOURCE_DIR}/src/plugins/input/common

src/plugins/input/raw/CMakeLists.txt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,7 @@ add_library(ipfixprobe-input-raw MODULE
55
src/raw.hpp
66
)
77

8-
set_target_properties(
9-
ipfixprobe-input-raw PROPERTIES
8+
set_target_properties(ipfixprobe-input-raw PROPERTIES
109
CXX_VISIBILITY_PRESET hidden
1110
VISIBILITY_INLINES_HIDDEN YES
1211
)

src/plugins/output/ipfix/CMakeLists.txt

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,14 @@
11
project(ipfixprobe-output-ipfix VERSION 1.0.0 DESCRIPTION "ipfixprobe-output-ipfix plugin")
22

33
add_library(ipfixprobe-output-ipfix SHARED
4-
ipfix.hpp
5-
ipfix.cpp
6-
ipfix-basiclist.cpp
4+
src/ipfix.hpp
5+
src/ipfix.cpp
6+
src/ipfix-basiclist.cpp
7+
)
8+
9+
set_target_properties(ipfixprobe-output-ipfix PROPERTIES
10+
CXX_VISIBILITY_PRESET hidden
11+
VISIBILITY_INLINES_HIDDEN YES
712
)
813

914
target_include_directories(ipfixprobe-output-ipfix PRIVATE ${CMAKE_SOURCE_DIR}/include/)
File renamed without changes.

src/plugins/output/text/CMakeLists.txt

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,13 @@
11
project(ipfixprobe-output-text VERSION 1.0.0 DESCRIPTION "ipfixprobe-output-text plugin")
22

33
add_library(ipfixprobe-output-text SHARED
4-
text.hpp
5-
text.cpp
4+
src/text.hpp
5+
src/text.cpp
6+
)
7+
8+
set_target_properties(ipfixprobe-output-text PROPERTIES
9+
CXX_VISIBILITY_PRESET hidden
10+
VISIBILITY_INLINES_HIDDEN YES
611
)
712

813
target_include_directories(ipfixprobe-output-text PRIVATE ${CMAKE_SOURCE_DIR}/include/)

0 commit comments

Comments
 (0)