options: add ENABLE_TOOLS

parent 601ecc3c
......@@ -41,6 +41,7 @@ set(EP_linphone_CMAKE_OPTIONS
"-DENABLE_VIDEO=${ENABLE_VIDEO}"
"-DENABLE_DEBUG_LOGS=${ENABLE_DEBUG_LOGS}"
"-DENABLE_DOC=${ENABLE_DOC}"
"-DENABLE_TOOLS=${ENABLE_TOOLS}"
"-DENABLE_NLS=${ENABLE_NLS}"
"-DENABLE_LIME=YES"
)
......
......@@ -101,6 +101,8 @@ if(ENABLE_DOC)
else()
list(APPEND EP_ms2_CMAKE_OPTIONS "-DENABLE_DOC=NO")
endif()
list(APPEND EP_ms2_CMAKE_OPTIONS "-DENABLE_TOOLS=${ENABLE_TOOLS}")
if(ENABLE_V4L AND LINPHONE_BUILDER_BUILD_DEPENDENCIES)
list(APPEND EP_ms2_DEPENDENCIES EP_v4l)
endif()
......
......@@ -36,6 +36,7 @@ set(EP_ortp_DEPENDENCIES EP_bctoolbox)
set(EP_ortp_SPEC_FILE "ortp.spec")
set(EP_ortp_CMAKE_OPTIONS "-DENABLE_DOC=${ENABLE_DOC}")
list(APPEND EP_ortp_CMAKE_OPTIONS "-DENABLE_TOOLS=${ENABLE_TOOLS}")
# TODO: Activate strict compilation options on IOS
if(IOS)
......
......@@ -30,3 +30,6 @@ option(ENABLE_PACKAGING "Enable packaging" "${DEFAULT_VALUE_ENABLE_PACKAGING}")
option(ENABLE_DOC "Enable documentation generation with Doxygen." YES)
add_feature_info("Documentation" ENABLE_DOC "Enable documentation generation with Doxygen.")
option(ENABLE_TOOLS "Enable tools binary compilation." YES)
add_feature_info("Tools" ENABLE_DOC "Enable tools binary compilation.")
Markdown is supported
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