Commit ddcc2bed authored by Ghislain MARY's avatar Ghislain MARY
Browse files

Some cleaning in builders options.

parent 761c20c2
......@@ -25,8 +25,8 @@ set(EP_antlr3c_GIT_TAG_LATEST "linphone")
set(EP_antlr3c_GIT_TAG "099946426e30916ff97e4e52c3bd7d920359a933")
set(EP_antlr3c_EXTERNAL_SOURCE_PATHS "antlr3c" "antlr3")
set(EP_antlr3c_CMAKE_OPTIONS "-DENABLE_DEBUGGER=0")
set(EP_antlr3c_LINKING_TYPE "-DENABLE_STATIC=0")
set(EP_antlr3c_CMAKE_OPTIONS "-DENABLE_DEBUGGER=NO")
set(EP_antlr3c_LINKING_TYPE "-DENABLE_STATIC=NO")
if(MSVC)
set(EP_antlr3c_EXTRA_LDFLAGS "/SAFESEH:NO")
endif()
......@@ -26,7 +26,7 @@ set(EP_bellesip_GIT_TAG "21f2c2212a68239b32dbdb0914cc24d560a0d7a0")
set(EP_bellesip_EXTERNAL_SOURCE_PATHS "belle-sip")
set(EP_bellesip_CMAKE_OPTIONS )
set(EP_bellesip_LINKING_TYPE "-DENABLE_STATIC=0")
set(EP_bellesip_LINKING_TYPE "-DENABLE_STATIC=NO")
set(EP_bellesip_DEPENDENCIES )
if(LINPHONE_BUILDER_BUILD_DEPENDENCIES)
list(APPEND EP_bellesip_DEPENDENCIES EP_antlr3c EP_polarssl)
......@@ -36,16 +36,16 @@ if(MSVC)
endif()
if(ENABLE_TUNNEL)
list(APPEND EP_bellesip_CMAKE_OPTIONS "-DENABLE_TUNNEL=1")
list(APPEND EP_bellesip_CMAKE_OPTIONS "-DENABLE_TUNNEL=YES")
list(APPEND EP_bellesip_DEPENDENCIES EP_tunnel)
else()
list(APPEND EP_bellesip_CMAKE_OPTIONS "-DENABLE_TUNNEL=0")
list(APPEND EP_bellesip_CMAKE_OPTIONS "-DENABLE_TUNNEL=NO")
endif()
if(ENABLE_UNIT_TESTS)
list(APPEND EP_bellesip_CMAKE_OPTIONS "-DENABLE_TESTS=1")
list(APPEND EP_bellesip_CMAKE_OPTIONS "-DENABLE_TESTS=YES")
if(LINPHONE_BUILDER_BUILD_DEPENDENCIES)
list(APPEND EP_bellesip_DEPENDENCIES EP_cunit)
endif()
else()
list(APPEND EP_bellesip_CMAKE_OPTIONS "-DENABLE_TESTS=0")
list(APPEND EP_bellesip_CMAKE_OPTIONS "-DENABLE_TESTS=NO")
endif()
......@@ -74,18 +74,18 @@ else()
list(APPEND EP_ms2_CMAKE_OPTIONS "-DENABLE_VIDEO=NO")
endif()
if(ENABLE_SRTP)
list(APPEND EP_ms2_CMAKE_OPTIONS "-DENABLE_SRTP=1")
list(APPEND EP_ms2_CMAKE_OPTIONS "-DENABLE_SRTP=YES")
if(LINPHONE_BUILDER_BUILD_DEPENDENCIES)
list(APPEND EP_ms2_DEPENDENCIES EP_srtp)
endif()
else()
list(APPEND EP_ms2_CMAKE_OPTIONS "-DENABLE_SRTP=0")
list(APPEND EP_ms2_CMAKE_OPTIONS "-DENABLE_SRTP=NO")
endif()
if(ENABLE_ZRTP)
list(APPEND EP_ms2_CMAKE_OPTIONS "-DENABLE_ZRTP=1")
list(APPEND EP_ms2_CMAKE_OPTIONS "-DENABLE_ZRTP=YES")
list(APPEND EP_ms2_DEPENDENCIES EP_bzrtp)
else()
list(APPEND EP_ms2_CMAKE_OPTIONS "-DENABLE_ZRTP=0")
list(APPEND EP_ms2_CMAKE_OPTIONS "-DENABLE_ZRTP=NO")
endif()
if(ENABLE_UNIT_TESTS)
list(APPEND EP_ms2_CMAKE_OPTIONS "-DENABLE_UNIT_TESTS=YES")
......
......@@ -29,7 +29,7 @@ if("${EP_ortp_FORCE_AUTOTOOLS}" STREQUAL "yes")
set(EP_ortp_LINKING_TYPE "--enable-static")
set(EP_ortp_USE_AUTOGEN "yes")
else()
set(EP_ortp_LINKING_TYPE "-DENABLE_STATIC=0")
set(EP_ortp_LINKING_TYPE "-DENABLE_STATIC=NO")
endif()
set(EP_ortp_CMAKE_OPTIONS )
......
......@@ -25,7 +25,7 @@ set(EP_speex_GIT_TAG_LATEST "linphone")
set(EP_speex_GIT_TAG "f3df5a5451088921fe539bbb21dc4cf20704e08f")
set(EP_speex_EXTERNAL_SOURCE_PATHS "speex")
set(EP_speex_LINKING_TYPE "-DENABLE_STATIC=0")
set(EP_speex_LINKING_TYPE "-DENABLE_STATIC=NO")
if(MSVC)
set(EP_speex_EXTRA_LDFLAGS "/SAFESEH:NO")
endif()
......@@ -25,7 +25,7 @@ set(EP_srtp_GIT_TAG_LATEST "master")
set(EP_srtp_GIT_TAG "6271df37613cce36dfa61c97fcf751228755727c")
set(EP_srtp_EXTERNAL_SOURCE_PATHS "srtp")
set(EP_srtp_LINKING_TYPE "-DENABLE_STATIC=0")
set(EP_srtp_LINKING_TYPE "-DENABLE_STATIC=NO")
if(MSVC)
set(EP_srtp_EXTRA_LDFLAGS "/SAFESEH:NO")
endif()
......@@ -25,7 +25,6 @@ set(EP_zlib_GIT_TAG_LATEST "master")
set(EP_zlib_GIT_TAG "91eb77a7c5bfe7b4cc6b722aa96548d7143a9936")
set(EP_zlib_EXTERNAL_SOURCE_PATHS "zlib")
set(EP_zlib_LINKING_TYPE "-DENABLE_STATIC=NO")
if(MSVC)
set(EP_zlib_EXTRA_LDFLAGS "/SAFESEH:NO")
endif()
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