Commit 3b1360f5 authored by Ghislain MARY's avatar Ghislain MARY

Add LINPHONE_BUILDER_LATEST option to build latest versions from git.

parent 7635c93a
......@@ -28,6 +28,7 @@ include(FeatureSummary)
set(LINPHONE_BUILDER_CONFIG_FILE "configs/config-desktop.cmake" CACHE STRING "Path to the linphone builder configuration file.")
set(LINPHONE_BUILDER_WORK_DIR "${CMAKE_CURRENT_SOURCE_DIR}/WORK" CACHE PATH "Working directory for the build.")
set(LINPHONE_BUILDER_TARGET "linphone" CACHE STRING "Target to build: one of belle-sip, ortp, ms2, ms2-plugins, linphone.")
option(LINPHONE_BUILDER_LATEST "Build latest versions (from git)." OFF)
# Include macros definition to be used by builders
......
......@@ -21,7 +21,11 @@
############################################################################
set(EP_antlr3c_GIT_REPOSITORY "git://git.linphone.org/antlr3.git")
set(EP_antlr3c_GIT_TAG "c2a2df0abc72e0611dd068c93731b3561b7c713c") # Branch 'linphone'
if(${LINPHONE_TARGET_LINPHONE})
set(EP_antlr3c_GIT_TAG "linphone")
else()
set(EP_antlr3c_GIT_TAG "c2a2df0abc72e0611dd068c93731b3561b7c713c")
endif()
set(EP_antlr3c_CMAKE_OPTIONS "-DENABLE_DEBUGGER=0")
set(EP_antlr3c_LINKING_TYPE "-DENABLE_STATIC=0")
if(MSVC)
......
......@@ -21,7 +21,11 @@
############################################################################
set(EP_bcg729_GIT_REPOSITORY "git://git.linphone.org/bcg729.git")
set(EP_bcg729_GIT_TAG "2634faf85a13f79fece045e37515ddd1ea48dc25") # Branch 'master'
if(${LINPHONE_BUILDER_HOST})
set(EP_bcg729_GIT_TAG "master")
else()
set(EP_bcg729_GIT_TAG "2634faf85a13f79fece045e37515ddd1ea48dc25")
endif()
set(EP_bcg729_BUILD_METHOD "autotools")
set(EP_bcg729_USE_AUTOGEN "yes")
set(EP_bcg729_CROSS_COMPILATION_OPTIONS
......
......@@ -21,7 +21,11 @@
############################################################################
set(EP_bellesip_GIT_REPOSITORY "git://git.linphone.org/belle-sip.git")
set(EP_bellesip_GIT_TAG "e4616ba4eba8e590175dd85cc872257b92aa52f4") # Branch 'master'
if(${LINPHONE_BUILDER_LATEST})
set(EP_bellesip_GIT_TAG "master")
else()
set(EP_bellesip_GIT_TAG "e4616ba4eba8e590175dd85cc872257b92aa52f4")
endif()
set(EP_bellesip_CMAKE_OPTIONS )
set(EP_bellesip_LINKING_TYPE "-DENABLE_STATIC=0")
set(EP_bellesip_DEPENDENCIES EP_antlr3c EP_polarssl)
......
......@@ -21,7 +21,11 @@
############################################################################
set(EP_bzrtp_GIT_REPOSITORY "git://git.linphone.org/bzrtp.git")
set(EP_bzrtp_GIT_TAG "1983008781bba8c001795948c1462be2670f45e0") # Branch 'master'
if(${LINPHONE_BUILDER_LATEST})
set(EP_bzrtp_GIT_TAG "master")
else()
set(EP_bzrtp_GIT_TAG "1983008781bba8c001795948c1462be2670f45e0")
endif()
set(EP_bzrtp_BUILD_METHOD "autotools")
set(EP_bzrtp_USE_AUTOGEN "yes")
set(EP_bzrtp_CROSS_COMPILATION_OPTIONS
......
......@@ -21,7 +21,11 @@
############################################################################
set(EP_cunit_GIT_REPOSITORY "git://git.linphone.org/cunit.git")
set(EP_cunit_GIT_TAG "86562ef04d0d66c007d7822944a75f540ae37f19") # Branch 'linphone'
if(${LINPHONE_BUILDER_LATEST})
set(EP_cunit_GIT_TAG "linphone")
else()
set(EP_cunit_GIT_TAG "86562ef04d0d66c007d7822944a75f540ae37f19")
endif()
set(EP_cunit_CMAKE_OPTIONS "-DENABLE_AUTOMATED=0" "-DENABLE_CONSOLE=0")
set(EP_cunit_LINKING_TYPE "-DENABLE_STATIC=0")
if(MSVC)
......
......@@ -21,7 +21,11 @@
############################################################################
set(EP_gsm_GIT_REPOSITORY "git://git.linphone.org/gsm.git")
set(EP_gsm_GIT_TAG "8729c98e098341582e9c9f00e56b74f7e53e1034") # Branch 'linphone'
if(${LINPHONE_BUILDER_LATEST})
set(EP_gsm_GIT_TAG "linphone")
else()
set(EP_gsm_GIT_TAG "8729c98e098341582e9c9f00e56b74f7e53e1034")
endif()
set(EP_gsm_PATCH_COMMAND "${CMAKE_COMMAND}" "-E" "copy" "${CMAKE_CURRENT_SOURCE_DIR}/builders/gsm/CMakeLists.txt" "<SOURCE_DIR>")
set(EP_gsm_LINKING_TYPE "-DENABLE_STATIC=0")
if(MSVC)
......
......@@ -21,7 +21,11 @@
############################################################################
set(EP_libilbcrfc3951_GIT_REPOSITORY "git://git.linphone.org/libilbc-rfc3951.git")
set(EP_libilbcrfc3951_GIT_TAG "e8084bdc3b182a3dcf57ae97ea72bbef26d423db")
if(${LINPHONE_BUILDER_LATEST})
set(EP_libilbcrfc3951_GIT_TAG "master")
else()
set(EP_libilbcrfc3951_GIT_TAG "e8084bdc3b182a3dcf57ae97ea72bbef26d423db")
endif()
set(EP_libilbcrfc3951_BUILD_METHOD "autotools")
set(EP_libilbcrfc3951_USE_AUTOGEN "yes")
set(EP_libilbcrfc3951_CROSS_COMPILATION_OPTIONS
......
......@@ -21,7 +21,11 @@
############################################################################
set(EP_linphone_GIT_REPOSITORY "git://git.linphone.org/linphone.git")
set(EP_linphone_GIT_TAG "0c68cdcfbae933c0d6895f05733069cf37f2c547") # Branch 'master'
if(${LINPHONE_BUILDER_LATEST})
set(EP_linphone_GIT_TAG "master")
else()
set(EP_linphone_GIT_TAG "0c68cdcfbae933c0d6895f05733069cf37f2c547")
endif()
if(MSVC)
# Use temporary CMake build scripts for Windows. TODO: Port fully to CMake.
......
......@@ -21,7 +21,11 @@
############################################################################
set(EP_ms2_GIT_REPOSITORY "git://git.linphone.org/mediastreamer2.git")
set(EP_ms2_GIT_TAG "e51c106c7e48cfc961fbd74b5c8d5a0588a21080") # Branch 'master'
if(${LINPHONE_BUILDER_LATEST})
set(EP_ms2_GIT_TAG "master")
else()
set(EP_ms2_GIT_TAG "e51c106c7e48cfc961fbd74b5c8d5a0588a21080")
endif()
if(MSVC)
# Use temporary CMake build scripts for Windows. TODO: Port fully to CMake.
......
......@@ -21,7 +21,11 @@
############################################################################
set(EP_msamr_GIT_REPOSITORY "git://git.linphone.org/msamr.git")
set(EP_msamr_GIT_TAG "d09a19cb27076c45f093e8abc9a00d07258779e9") # Branch 'master'
if(${LINPHONE_BUILDER_LATEST})
set(EP_msamr_GIT_TAG "master")
else()
set(EP_msamr_GIT_TAG "d09a19cb27076c45f093e8abc9a00d07258779e9")
endif()
set(EP_msamr_BUILD_METHOD "autotools")
set(EP_msamr_USE_AUTOGEN "yes")
set(EP_msamr_CONFIGURE_OPTIONS )
......
......@@ -21,7 +21,11 @@
############################################################################
set(EP_msilbc_GIT_REPOSITORY "git://git.linphone.org/msilbc.git")
set(EP_msilbc_GIT_TAG "3185bbbbda97c2b93cd4f720809b96d79d810bd9") # Branch 'master'
if(${LINPHONE_BUILDER_LATEST})
set(EP_msilbc_GIT_TAG "master")
else()
set(EP_msilbc_GIT_TAG "3185bbbbda97c2b93cd4f720809b96d79d810bd9")
endif()
set(EP_msilbc_BUILD_METHOD "autotools")
set(EP_msilbc_USE_AUTOGEN "yes")
set(EP_msilbc_CROSS_COMPILATION_OPTIONS
......
......@@ -21,7 +21,11 @@
############################################################################
set(EP_msisac_GIT_REPOSITORY "git://git.linphone.org/msisac.git")
set(EP_msisac_GIT_TAG "fafe68323df68b5f4e18b15b350134a54888f2b4") # Branch 'master'
if(${LINPHONE_BUILDER_LATEST})
set(EP_msisac_GIT_TAG "master")
else()
set(EP_msisac_GIT_TAG "fafe68323df68b5f4e18b15b350134a54888f2b4")
endif()
set(EP_msisac_BUILD_METHOD "autotools")
set(EP_msisac_USE_AUTOGEN "yes")
set(EP_msisac_CROSS_COMPILATION_OPTIONS
......
......@@ -21,7 +21,11 @@
############################################################################
set(EP_msopenh264_GIT_REPOSITORY "git://git.linphone.org/msopenh264.git")
set(EP_msopenh264_GIT_TAG "60d2f94333a43a9aeb7448fb703d3e5cd046dced") # Branch 'master'
if(${LINPHONE_BUILDER_LATEST})
set(EP_msopenh264_GIT_TAG "master")
else()
set(EP_msopenh264_GIT_TAG "60d2f94333a43a9aeb7448fb703d3e5cd046dced")
endif()
set(EP_msopenh264_BUILD_METHOD "autotools")
set(EP_msopenh264_USE_AUTOGEN "yes")
set(EP_msopenh264_CROSS_COMPILATION_OPTIONS
......
......@@ -21,7 +21,11 @@
############################################################################
set(EP_mssilk_GIT_REPOSITORY "git://git.linphone.org/mssilk.git")
set(EP_mssilk_GIT_TAG "07b55ce81adca894bf6bd1ed86eb27f4578562f1") # Branch 'master'
if(${LINPHONE_BUILDER_LATEST})
set(EP_mssilk_GIT_TAG "master")
else()
set(EP_mssilk_GIT_TAG "07b55ce81adca894bf6bd1ed86eb27f4578562f1")
endif()
set(EP_mssilk_BUILD_METHOD "autotools")
set(EP_mssilk_USE_AUTOGEN "yes")
set(EP_mssilk_CROSS_COMPILATION_OPTIONS
......
......@@ -21,7 +21,11 @@
############################################################################
set(EP_msx264_GIT_REPOSITORY "git://git.linphone.org/msx264.git")
set(EP_msx264_GIT_TAG "6532dd845c59631a9149e9146ba5cf9426db906b") # Branch 'master'
if(${LINPHONE_BUILDER_LATEST})
set(EP_msx264_GIT_TAG "master")
else()
set(EP_msx264_GIT_TAG "6532dd845c59631a9149e9146ba5cf9426db906b")
endif()
set(EP_msx264_BUILD_METHOD "autotools")
set(EP_msx264_USE_AUTOGEN "yes")
set(EP_msx264_CROSS_COMPILATION_OPTIONS
......
......@@ -21,7 +21,11 @@
############################################################################
set(EP_ortp_GIT_REPOSITORY "git://git.linphone.org/ortp.git")
set(EP_ortp_GIT_TAG "393857c0e8e5cab10a8d647cc89c8390355745a7") # Branch 'master'
if(${LINPHONE_BUILDER_LATEST})
set(EP_ortp_GIT_TAG "master")
else()
set(EP_ortp_GIT_TAG "393857c0e8e5cab10a8d647cc89c8390355745a7")
endif()
if(MSVC)
# Use temporary CMake build scripts for Windows. TODO: Port fully to CMake.
......
......@@ -21,7 +21,11 @@
############################################################################
set(EP_polarssl_GIT_REPOSITORY "git://git.linphone.org/polarssl.git")
set(EP_polarssl_GIT_TAG "3681900a1e0a3a8c77fc33c545cccd93977a1cf2") # Branch 'linphone'
if(${LINPHONE_BUILDER_LATEST})
set(EP_polarssl_GIT_TAG "linphone")
else()
set(EP_polarssl_GIT_TAG "3681900a1e0a3a8c77fc33c545cccd93977a1cf2")
endif()
set(EP_polarssl_LINKING_TYPE "-DUSE_SHARED_POLARSSL_LIBRARY=1")
if(MSVC)
set(EP_polarssl_EXTRA_LDFLAGS "/SAFESEH:NO")
......
......@@ -21,7 +21,11 @@
############################################################################
set(EP_speex_GIT_REPOSITORY "git://git.linphone.org/speex.git")
set(EP_speex_GIT_TAG "302ce26e309efb1b4a4b7b6ea4807375d157258f") # Branch 'linphone'
if(${LINPHONE_BUILDER_LATEST})
set(EP_speex_GIT_TAG "linphone")
else()
set(EP_speex_GIT_TAG "302ce26e309efb1b4a4b7b6ea4807375d157258f")
endif()
set(EP_speex_LINKING_TYPE "-DENABLE_STATIC=0")
if(MSVC)
set(EP_speex_EXTRA_LDFLAGS "/SAFESEH:NO")
......
......@@ -21,7 +21,11 @@
############################################################################
set(EP_srtp_GIT_REPOSITORY "git://git.linphone.org/srtp.git")
set(EP_srtp_GIT_TAG "da2ece56f18d35a12f0fee5dcb99e03ff15864de") # Branch 'master'
if(${LINPHONE_BUILDER_LATEST})
set(EP_srtp_GIT_TAG "master")
else()
set(EP_srtp_GIT_TAG "da2ece56f18d35a12f0fee5dcb99e03ff15864de")
endif()
set(EP_srtp_LINKING_TYPE "-DENABLE_STATIC=0")
if(MSVC)
set(EP_srtp_EXTRA_LDFLAGS "/SAFESEH:NO")
......
......@@ -21,7 +21,11 @@
############################################################################
set(EP_tunnel_GIT_REPOSITORY "gitosis@git.linphone.org:tunnel.git") # Private repository
set(EP_tunnel_GIT_TAG "e6d100c33e0147ae35cdf693dbcd7b9413cb84ef") # Branch 'master'
if(${LINPHONE_BUILDER_LATEST})
set(EP_tunnel_GIT_TAG "master")
else()
set(EP_tunnel_GIT_TAG "e6d100c33e0147ae35cdf693dbcd7b9413cb84ef")
endif()
set(EP_tunnel_BUILD_METHOD "autotools")
set(EP_tunnel_USE_AUTOGEN "yes")
set(EP_tunnel_CROSS_COMPILATION_OPTIONS
......
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