File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed
Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -21,6 +21,12 @@ option(ENABLE_OUTPUT_UNIREC "Enable build of output UNIREC plugin" OFF)
2121option (ENABLE_PROCESS_EXPERIMENTAL "Enable build of experimental process plugins" OFF )
2222option (ENABLE_RPMBUILD "Enable build of RPM package" ON )
2323
24+ option (ENABLE_MILISECONDS_TIMESTAMP "Compile ipfixprobe with miliseconds timestamp precesion" OFF )
25+
26+ if (ENABLE_MILISECONDS_TIMESTAMP)
27+ add_compile_definitions (IPXP_TS_MSEC)
28+ endif ()
29+
2430set (CMAKE_C_STANDARD 11)
2531set (CMAKE_C_STANDARD_REQUIRED ON )
2632set (CMAKE_C_EXTENSIONS ON )
@@ -35,7 +41,6 @@ set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -Wextra")
3541set (CMAKE_C_FLAGS_RELEASE "${CMAKE_C_FLAGS_RELEASE} -O3" )
3642set (CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG} -g -ggdb3" )
3743
38-
3944set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -Wextra" )
4045set (CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} -O3" )
4146set (CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -g -ggdb3" )
You can’t perform that action at this time.
0 commit comments