diff options
Diffstat (limited to 'linden/indra/cmake/CopyWinLibs.cmake')
-rw-r--r-- | linden/indra/cmake/CopyWinLibs.cmake | 33 |
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 | ||
7 | include(CMakeCopyIfDifferent) | 7 | include(CMakeCopyIfDifferent) |
8 | 8 | ||
9 | set(vivox_src_dir "${CMAKE_SOURCE_DIR}/newview/vivox-runtime/i686-win32") | ||
10 | set(vivox_files | ||
11 | SLVoice.exe | ||
12 | #alut.dll | ||
13 | vivoxsdk.dll | ||
14 | ortp.dll | ||
15 | wrap_oal.dll | ||
16 | ) | ||
17 | |||
9 | set(debug_src_dir "${CMAKE_SOURCE_DIR}/../libraries/i686-win32/lib/debug") | 18 | set(debug_src_dir "${CMAKE_SOURCE_DIR}/../libraries/i686-win32/lib/debug") |
10 | set(debug_files | 19 | set(debug_files |
11 | alut.dll | 20 | alut.dll |
@@ -82,6 +91,14 @@ copy_if_different( | |||
82 | ) | 91 | ) |
83 | set(all_targets ${all_targets} ${out_targets}) | 92 | set(all_targets ${all_targets} ${out_targets}) |
84 | 93 | ||
94 | copy_if_different( | ||
95 | ${vivox_src_dir} | ||
96 | "${CMAKE_CURRENT_BINARY_DIR}/Debug" | ||
97 | out_targets | ||
98 | ${vivox_files} | ||
99 | ) | ||
100 | set(all_targets ${all_targets} ${out_targets}) | ||
101 | |||
85 | set(release_src_dir "${CMAKE_SOURCE_DIR}/../libraries/i686-win32/lib/release") | 102 | set(release_src_dir "${CMAKE_SOURCE_DIR}/../libraries/i686-win32/lib/release") |
86 | set(release_files | 103 | set(release_files |
87 | alut.dll | 104 | alut.dll |
@@ -158,6 +175,14 @@ copy_if_different( | |||
158 | set(all_targets ${all_targets} ${out_targets}) | 175 | set(all_targets ${all_targets} ${out_targets}) |
159 | 176 | ||
160 | copy_if_different( | 177 | copy_if_different( |
178 | ${vivox_src_dir} | ||
179 | "${CMAKE_CURRENT_BINARY_DIR}/Release" | ||
180 | out_targets | ||
181 | ${vivox_files} | ||
182 | ) | ||
183 | set(all_targets ${all_targets} ${out_targets}) | ||
184 | |||
185 | copy_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 | ) |
166 | set(all_targets ${all_targets} ${out_targets}) | 191 | set(all_targets ${all_targets} ${out_targets}) |
167 | 192 | ||
193 | copy_if_different( | ||
194 | ${vivox_src_dir} | ||
195 | "${CMAKE_CURRENT_BINARY_DIR}/RelWithDebInfo" | ||
196 | out_targets | ||
197 | ${vivox_files} | ||
198 | ) | ||
199 | set(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. |