diff options
| author | Oz Linden <oz@lindenlab.com> | 2019-09-06 11:51:36 -0400 | 
|---|---|---|
| committer | Oz Linden <oz@lindenlab.com> | 2019-09-06 11:51:36 -0400 | 
| commit | b74f698caaaa6ac8d498ea0461c354bb9cbb2b95 (patch) | |
| tree | 43e935a278de38b4f4419f18f1235de7af7164a2 /indra/cmake | |
| parent | 4cbef35f503bb7ee8f489b354e4afb2350085709 (diff) | |
handle slvoice executable separately from the vivox libraries, and update mac slvoice package
Diffstat (limited to 'indra/cmake')
| -rw-r--r-- | indra/cmake/Copy3rdPartyLibs.cmake | 59 | 
1 files changed, 28 insertions, 31 deletions
| diff --git a/indra/cmake/Copy3rdPartyLibs.cmake b/indra/cmake/Copy3rdPartyLibs.cmake index 808b4601fb..c73a1fdb47 100644 --- a/indra/cmake/Copy3rdPartyLibs.cmake +++ b/indra/cmake/Copy3rdPartyLibs.cmake @@ -17,17 +17,16 @@ if(WINDOWS)      #*******************************      # VIVOX - *NOTE: no debug version -    set(vivox_src_dir "${ARCH_PREBUILT_DIRS_RELEASE}") -    set(vivox_files -        SLVoice.exe -        ) +    set(vivox_lib_dir "${ARCH_PREBUILT_DIRS_RELEASE}") +    set(slvoice_src_dir "${ARCH_PREBUILT_BIN_RELEASE}")     +    set(slvoice_files SLVoice.exe )      if (ADDRESS_SIZE EQUAL 64) -        list(APPEND vivox_files +        list(APPEND vivox_libs              vivoxsdk_x64.dll              ortp_x64.dll              )      else (ADDRESS_SIZE EQUAL 64) -        list(APPEND vivox_files +        list(APPEND vivox_libs              vivoxsdk.dll              ortp.dll              ) @@ -169,9 +168,9 @@ elseif(DARWIN)      set(SHARED_LIB_STAGING_DIR_RELWITHDEBINFO   "${SHARED_LIB_STAGING_DIR}/RelWithDebInfo/Resources")      set(SHARED_LIB_STAGING_DIR_RELEASE          "${SHARED_LIB_STAGING_DIR}/Release/Resources") -    set(vivox_src_dir "${ARCH_PREBUILT_DIRS_RELEASE}") -    set(vivox_files -        SLVoice +    set(vivox_lib_dir "${ARCH_PREBUILT_DIRS_RELEASE}") +    set(slvoice_files SLVoice) +    set(vivox_libs          libortp.dylib          libvivoxsdk.dylib         ) @@ -205,14 +204,15 @@ elseif(LINUX)      set(SHARED_LIB_STAGING_DIR_RELWITHDEBINFO   "${SHARED_LIB_STAGING_DIR}")      set(SHARED_LIB_STAGING_DIR_RELEASE          "${SHARED_LIB_STAGING_DIR}") -    set(vivox_src_dir "${ARCH_PREBUILT_DIRS_RELEASE}") -    set(vivox_files +    set(vivox_lib_dir "${ARCH_PREBUILT_DIRS_RELEASE}") +    set(vivox_libs          libsndfile.so.1          libortp.so          libvivoxoal.so.1          libvivoxsdk.so -        SLVoice -       ) +        ) +    set(slvoice_files SLVoice) +      # *TODO - update this to use LIBS_PREBUILT_DIR and LL_ARCH_DIR variables      # or ARCH_PREBUILT_DIRS      set(debug_src_dir "${ARCH_PREBUILT_DIRS_DEBUG}") @@ -249,8 +249,8 @@ elseif(LINUX)  else(WINDOWS)      message(STATUS "WARNING: unrecognized platform for staging 3rd party libs, skipping...") -    set(vivox_src_dir "${CMAKE_SOURCE_DIR}/newview/vivox-runtime/i686-linux") -    set(vivox_files "") +    set(vivox_lib_dir "${CMAKE_SOURCE_DIR}/newview/vivox-runtime/i686-linux") +    set(vivox_libs "")      # *TODO - update this to use LIBS_PREBUILT_DIR and LL_ARCH_DIR variables      # or ARCH_PREBUILT_DIRS      set(debug_src_dir "${CMAKE_SOURCE_DIR}/../libraries/i686-linux/lib/debug") @@ -273,39 +273,36 @@ endif(WINDOWS)  ################################################################  copy_if_different( -    ${vivox_src_dir} +    ${vivox_lib_dir}      "${SHARED_LIB_STAGING_DIR_DEBUG}"      out_targets  -    ${vivox_files} +    ${vivox_libs}      )  set(third_party_targets ${third_party_targets} ${out_targets})  copy_if_different( -    ${vivox_src_dir} +    ${slvoice_src_dir} +    "${SHARED_LIB_STAGING_DIR_RELEASE}" +    out_targets +    ${slvoice_files} +    ) +copy_if_different( +    ${vivox_lib_dir}      "${SHARED_LIB_STAGING_DIR_RELEASE}"      out_targets -    ${vivox_files} +    ${vivox_libs}      ) +  set(third_party_targets ${third_party_targets} ${out_targets})  copy_if_different( -    ${vivox_src_dir} +    ${vivox_lib_dir}      "${SHARED_LIB_STAGING_DIR_RELWITHDEBINFO}"      out_targets -    ${vivox_files} +    ${vivox_libs}      )  set(third_party_targets ${third_party_targets} ${out_targets}) - - -#copy_if_different( -#    ${debug_src_dir} -#    "${SHARED_LIB_STAGING_DIR_DEBUG}" -#    out_targets -#    ${debug_files} -#    ) -#set(third_party_targets ${third_party_targets} ${out_targets}) -  copy_if_different(      ${release_src_dir}      "${SHARED_LIB_STAGING_DIR_RELEASE}" | 
