Commit ba8e5f28 authored by jehan's avatar jehan
Browse files

add flexisip presence option

parent c3fce1b7
......@@ -213,6 +213,9 @@ else()
add_custom_target(TARGET_flexisip ALL)
add_dependencies(TARGET_linphone_builder TARGET_flexisip)
add_dependencies(TARGET_flexisip TARGET_ortp)
if(ENABLE_PRESENCE)
add_dependencies(TARGET_flexisip TARGET_bellesip)
endif()
if(ENABLE_BC_ODBC)
linphone_builder_add_builder_to_target(TARGET_flexisip unixodbc)
linphone_builder_add_builder_to_target(TARGET_flexisip myodbc)
......
......@@ -71,3 +71,6 @@ if(ENABLE_PUSHNOTIFICATION)
else()
list(APPEND EP_flexisip_CONFIGURE_OPTIONS "--disable-pushnotification")
endif()
list(APPEND EP_flexisip_CMAKE_OPTIONS "-DENABLE_PRESENCE=${ENABLE_PRESENCE}")
list(APPEND EP_flexisip_CMAKE_OPTIONS "-DXSDCXX_ROOT_PATH=${XSDCXX_ROOT_PATH}")
......@@ -164,7 +164,7 @@ macro(linphone_builder_create_targets_list)
elseif("${LINPHONE_BUILDER_TARGET}" STREQUAL "linphone")
list(APPEND LINPHONE_BUILDER_TARGETS "belle-sip" "ortp" "ms2" "ms2-plugins" "linphone")
elseif("${LINPHONE_BUILDER_TARGET}" STREQUAL "flexisip")
list(APPEND LINPHONE_BUILDER_TARGETS "ortp" "flexisip")
list(APPEND LINPHONE_BUILDER_TARGETS "ortp" "belle-sip" "flexisip")
elseif("${LINPHONE_BUILDER_TARGET}" STREQUAL "odb")
list(APPEND LINPHONE_BUILDER_TARGETS "odb" )
else()
......
......@@ -28,6 +28,7 @@ set(DEFAULT_VALUE_ENABLE_PACKAGING OFF)
set(DEFAULT_VALUE_ENABLE_PUSHNOTIFICATION ON)
set(DEFAULT_VALUE_ENABLE_REDIS ON)
set(DEFAULT_VALUE_ENABLE_UNIT_TESTS OFF)
set(DEFAULT_VALUE_ENABLE_PRESENCE OFF)
set(DEFAULT_VALUE_CMAKE_LINKING_TYPE "-DENABLE_STATIC=NO")
......
......@@ -34,3 +34,9 @@ add_feature_info("REDIS" ENABLE_REDIS "Enable hiredis support.")
option(ENABLE_PUSHNOTIFICATION "Enable push notification support." ${DEFAULT_VALUE_ENABLE_PUSHNOTIFICATION})
add_feature_info("PUSHNOTIFICATION" ENABLE_PUSHNOTIFICATION "Enable push notification support.")
option(ENABLE_PRESENCE "Enable presence server support." ${DEFAULT_VALUE_ENABLE_PRESENCE})
add_feature_info("PRESENCE" ENABLE_PRESENCE "Enable presence server.")
option(XSDCXX_ROOT_PATH "Path of where the bin/xsdcxx executable will be found. Comes from http://www.codesynthesis.com/products/xsd/download.xhtml" "/usr" )
add_feature_info("XSDCXX_ROOT_PATH" XSDCXX_ROOT_PATH "Path of where the bin/xsdcxx executable will be found. Comes from http://www.codesynthesis.com/products/xsd/download.xhtml")
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