Skip to content

Commit e5cddc0

Browse files
committed
WIP
1 parent dfbd2f2 commit e5cddc0

File tree

222 files changed

+3227
-11131
lines changed

Some content is hidden

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

222 files changed

+3227
-11131
lines changed

.gitignore

Lines changed: 2 additions & 123 deletions
Original file line numberDiff line numberDiff line change
@@ -1,123 +1,2 @@
1-
# http://www.gnu.org/software/automake
2-
3-
Makefile.in
4-
/ar-lib
5-
/mdate-sh
6-
/py-compile
7-
/test-driver
8-
/ylwrap
9-
.deps/
10-
nfbCInterface/.deps/
11-
.dirstamp
12-
13-
# http://www.gnu.org/software/autoconf
14-
15-
autom4te.cache
16-
/autoscan.log
17-
/autoscan-*.log
18-
/aclocal.m4
19-
/compile
20-
/config.guess
21-
/config.h.in
22-
/config.log
23-
/config.status
24-
/config.sub
25-
/configure
26-
/configure.scan
27-
/depcomp
28-
/install-sh
29-
/missing
30-
/stamp-h1
31-
32-
# https://www.gnu.org/software/libtool/
33-
34-
/ltmain.sh
35-
36-
# http://www.gnu.org/software/texinfo
37-
38-
/texinfo.tex
39-
40-
# http://www.gnu.org/software/m4/
41-
42-
m4/libtool.m4
43-
m4/ltoptions.m4
44-
m4/ltsugar.m4
45-
m4/ltversion.m4
46-
m4/lt~obsolete.m4
47-
48-
# Generated Makefile
49-
# (meta build system like autotools,
50-
# can automatically generate from config.status script
51-
# (which is called by configure script))
52-
Makefile
53-
54-
# Prerequisites
55-
*.d
56-
57-
# Compiled Object files
58-
*.slo
59-
*.lo
60-
*.o
61-
*.obj
62-
63-
# Precompiled Headers
64-
*.gch
65-
*.pch
66-
67-
# Compiled Dynamic libraries
68-
*.so
69-
*.dylib
70-
*.dll
71-
72-
# Fortran module files
73-
*.mod
74-
*.smod
75-
76-
# Compiled Static libraries
77-
*.lai
78-
*.la
79-
*.a
80-
*.lib
81-
82-
# Executables
83-
*.exe
84-
*.out
85-
*.app
86-
87-
88-
# Generated Ipfixprobe Files
89-
config.h
90-
.idea/
91-
ipfixprobe.bash
92-
ipfixprobe.spec
93-
libtool
94-
fields.c
95-
fields.h
96-
ipfixprobe-nemea.*
97-
ipfixprobe
98-
ipfixprobe_stats
99-
ipfixprobe-*.tar.gz
100-
101-
# Test Outputs
102-
tests/*/*.log
103-
tests/*/*.trs
104-
tests/output/
105-
tests/functional/output
106-
# Unit test binaries
107-
tests/unit/byte_utils
108-
tests/unit/flowifc
109-
tests/unit/options
110-
tests/unit/unirec
111-
tests/unit/utils
112-
113-
# Mac Finder metafile
114-
**/.DS_Store
115-
116-
# vscode settings files
117-
.vscode
118-
119-
# jekyll files
120-
docs/_site/
121-
docs/.sass-cache/
122-
docs/.jekyll-metadata/
123-
docs/.jekyll-cache/
1+
build
2+
.vscode

.travis.yml

Lines changed: 0 additions & 36 deletions
This file was deleted.

CMakeLists.txt

Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
cmake_minimum_required(VERSION 3.12)
2+
3+
set(VERSION_MAJOR 5)
4+
set(VERSION_MINOR 0)
5+
set(VERSION_PATCH 0)
6+
set(VERSION ${VERSION_MAJOR}.${VERSION_MINOR}.${VERSION_PATCH})
7+
8+
project(ipfixprobe VERSION ${VERSION})
9+
10+
include(cmake/build_type.cmake)
11+
include(cmake/installation.cmake)
12+
13+
set(CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake/modules)
14+
15+
#option(ENABLE_INPUT_PCAP "Enable Input PCAP plugin" ON)
16+
#option(ENABLE_INPUT_NFB "Enable Input NFB plugin" ON)
17+
#option(ENABLE_INPUT_DPDK "Enable Input DPDK plugin" ON)
18+
#option(ENABLE_INPUT_RAW "Enable Input RAW plugin" ON)
19+
20+
#option(ENABLE_OUTPUT_IPFIX "Enable Output IPFIX plugin" ON)
21+
#option(ENABLE_OUTPUT_TEXT "Enable Output TEXT plugin" ON)
22+
#option(ENABLE_OUTPUT_UNIREC "Enable Output UNIREC plugin" ON)
23+
24+
25+
set(CMAKE_C_STANDARD 11)
26+
set(CMAKE_C_STANDARD_REQUIRED ON)
27+
set(CMAKE_C_EXTENSIONS ON)
28+
29+
set(CMAKE_CXX_STANDARD 20)
30+
set(CMAKE_CXX_STANDARD_REQUIRED ON)
31+
set(CMAKE_CXX_EXTENSIONS ON)
32+
set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
33+
34+
35+
option(ENABLE_RPMBUILD "Enable support for building RPM packages" ON)
36+
37+
option(ENABLE_INPUT_PCAP "Enable build of input PCAP plugin" ON)
38+
option(ENABLE_INPUT_DPDK "Enable build of input DPDK plugin" ON)
39+
option(ENABLE_INPUT_NFB "Enable build of input NFB plugin" ON)
40+
41+
42+
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -g")
43+
set(CMAKE_C_FLAGS_RELEASE "${CMAKE_C_FLAGS_RELEASE} -g -O3")
44+
set(CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG} -g -ggdb3")
45+
46+
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -g")
47+
set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} -g -O3")
48+
set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -g -ggdb3")
49+
50+
if(CMAKE_EXPORT_COMPILE_COMMANDS)
51+
set(CMAKE_CXX_STANDARD_INCLUDE_DIRECTORIES ${CMAKE_CXX_IMPLICIT_INCLUDE_DIRECTORIES})
52+
endif()
53+
54+
include(cmake/dependencies.cmake)
55+
56+
add_subdirectory(external)
57+
add_subdirectory(src)
58+
add_subdirectory(pkg)

0 commit comments

Comments
 (0)