Commit 3c31c3ad authored by Ghislain MARY's avatar Ghislain MARY
Browse files

Add option to enable build of SIP parser benchmark.

Showing with 2 additions and 1 deletion
......@@ -36,6 +36,7 @@ set(BELLESIP_SO_VERSION 1) # set for 4.4.0 release.
option(ENABLE_RTP_MAP_ALWAYS_IN_SDP "Always include rtpmap in SDP." OFF)
option(ENABLE_SIP_PARSER_BENCHMARK "Enable build of SIP parser benchmark." OFF)
option(ENABLE_STRICT "Build with strict compile options." YES)
option(ENABLE_TUNNEL "Enable tunnel support" OFF)
option(ENABLE_UNIT_TESTS "Enable compilation of tests" ON)
......
......@@ -187,7 +187,7 @@ elseif(NOT ANDROID)
endif()
target_link_libraries(belle-sip-http-get PRIVATE ${BCToolbox_TARGET} belle-sip)
if(NOT WIN32)
if(ENABLE_SIP_PARSER_BENCHMARK)
set(BENCH_SOURCES bench.cc)
add_executable(belle-sip-bench ${USE_BUNDLE} ${BENCH_SOURCES})
set_target_properties(belle-sip-bench PROPERTIES LINKER_LANGUAGE CXX CXX_STANDARD 17 CXX_STANDARD_REQUIRED TRUE)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment