Skip to content

Commit 3832dae

Browse files
Lukas HutakLukas955
authored andcommitted
fdsdump: enable build of the application
1 parent a44bfaf commit 3832dae

File tree

4 files changed

+36
-1
lines changed

4 files changed

+36
-1
lines changed

pkg/rpm/ipfixcol2.spec.in

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@ make install DESTDIR=%{buildroot}
6161
# %doc add-docs-here
6262
%{_bindir}/ipfixcol2
6363
%{_bindir}/ipfixsend2
64+
%{_bindir}/fdsdump
6465
%{_libdir}/ipfixcol2/*.so*
6566
%{_mandir}/man7/*.7.gz
6667

src/tools/CMakeLists.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,4 @@
11
# Tools
2-
add_subdirectory(ipfixsend)
2+
add_subdirectory(ipfixsend)
3+
add_subdirectory(fdsdump)
4+

src/tools/fdsdump/CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
add_subdirectory(src)
2+
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
add_executable(fdsdump
2+
common.cpp
3+
main.cpp
4+
printer.cpp
5+
jsonPrinter.cpp
6+
jsonRawPrinter.cpp
7+
tablePrinter.cpp
8+
flowProvider.cpp
9+
filelist.cpp
10+
field.cpp
11+
fieldView.cpp
12+
options.cpp
13+
ipaddr.cpp
14+
storageRecord.cpp
15+
storageSorter.cpp
16+
storageSorted.cpp)
17+
18+
target_include_directories(fdsdump
19+
PUBLIC
20+
${FDS_INCLUDE_DIRS})
21+
22+
target_link_libraries(fdsdump
23+
PUBLIC
24+
${FDS_LIBRARIES})
25+
26+
# Installation targets
27+
install(
28+
TARGETS fdsdump
29+
DESTINATION bin)
30+

0 commit comments

Comments
 (0)