aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/cmake/CopyWinLibs.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'linden/indra/cmake/CopyWinLibs.cmake')
-rw-r--r--linden/indra/cmake/CopyWinLibs.cmake33
1 files changed, 33 insertions, 0 deletions
diff --git a/linden/indra/cmake/CopyWinLibs.cmake b/linden/indra/cmake/CopyWinLibs.cmake
index 8767980..511e547 100644
--- a/linden/indra/cmake/CopyWinLibs.cmake
+++ b/linden/indra/cmake/CopyWinLibs.cmake
@@ -6,6 +6,15 @@
6 6
7include(CMakeCopyIfDifferent) 7include(CMakeCopyIfDifferent)
8 8
9set(vivox_src_dir "${CMAKE_SOURCE_DIR}/newview/vivox-runtime/i686-win32")
10set(vivox_files
11 SLVoice.exe
12 #alut.dll
13 vivoxsdk.dll
14 ortp.dll
15 wrap_oal.dll
16 )
17
9set(debug_src_dir "${CMAKE_SOURCE_DIR}/../libraries/i686-win32/lib/debug") 18set(debug_src_dir "${CMAKE_SOURCE_DIR}/../libraries/i686-win32/lib/debug")
10set(debug_files 19set(debug_files
11 alut.dll 20 alut.dll
@@ -82,6 +91,14 @@ copy_if_different(
82 ) 91 )
83set(all_targets ${all_targets} ${out_targets}) 92set(all_targets ${all_targets} ${out_targets})
84 93
94copy_if_different(
95 ${vivox_src_dir}
96 "${CMAKE_CURRENT_BINARY_DIR}/Debug"
97 out_targets
98 ${vivox_files}
99 )
100set(all_targets ${all_targets} ${out_targets})
101
85set(release_src_dir "${CMAKE_SOURCE_DIR}/../libraries/i686-win32/lib/release") 102set(release_src_dir "${CMAKE_SOURCE_DIR}/../libraries/i686-win32/lib/release")
86set(release_files 103set(release_files
87 alut.dll 104 alut.dll
@@ -158,6 +175,14 @@ copy_if_different(
158set(all_targets ${all_targets} ${out_targets}) 175set(all_targets ${all_targets} ${out_targets})
159 176
160copy_if_different( 177copy_if_different(
178 ${vivox_src_dir}
179 "${CMAKE_CURRENT_BINARY_DIR}/Release"
180 out_targets
181 ${vivox_files}
182 )
183set(all_targets ${all_targets} ${out_targets})
184
185copy_if_different(
161 ${release_src_dir} 186 ${release_src_dir}
162 "${CMAKE_CURRENT_BINARY_DIR}/RelWithDebInfo" 187 "${CMAKE_CURRENT_BINARY_DIR}/RelWithDebInfo"
163 out_targets 188 out_targets
@@ -165,6 +190,14 @@ copy_if_different(
165 ) 190 )
166set(all_targets ${all_targets} ${out_targets}) 191set(all_targets ${all_targets} ${out_targets})
167 192
193copy_if_different(
194 ${vivox_src_dir}
195 "${CMAKE_CURRENT_BINARY_DIR}/RelWithDebInfo"
196 out_targets
197 ${vivox_files}
198 )
199set(all_targets ${all_targets} ${out_targets})
200
168 201
169# Copy MS C runtime dlls, required for packaging. 202# Copy MS C runtime dlls, required for packaging.
170# We always need the VS 2005 redist. 203# We always need the VS 2005 redist.