diff options
author | McCabe Maxsted | 2009-02-06 01:49:25 -0700 |
---|---|---|
committer | McCabe Maxsted | 2009-02-06 01:49:25 -0700 |
commit | 40811dbf0d99f07acaedcd8c0f01803b39971df9 (patch) | |
tree | 4cce39e11db1cc2b0767f23e6576c52156f671f6 /linden/indra | |
parent | Updated CMake files to RC1 (diff) | |
download | meta-impy-40811dbf0d99f07acaedcd8c0f01803b39971df9.zip meta-impy-40811dbf0d99f07acaedcd8c0f01803b39971df9.tar.gz meta-impy-40811dbf0d99f07acaedcd8c0f01803b39971df9.tar.bz2 meta-impy-40811dbf0d99f07acaedcd8c0f01803b39971df9.tar.xz |
develop.py should now work again under windows
Diffstat (limited to 'linden/indra')
-rw-r--r-- | linden/indra/cmake/CopyWinLibs.cmake | 25 | ||||
-rw-r--r-- | linden/indra/cmake/GStreamer.cmake | 2 | ||||
-rw-r--r-- | linden/indra/cmake/OPENAL.cmake | 13 |
3 files changed, 24 insertions, 16 deletions
diff --git a/linden/indra/cmake/CopyWinLibs.cmake b/linden/indra/cmake/CopyWinLibs.cmake index 1484663..e80f0c3 100644 --- a/linden/indra/cmake/CopyWinLibs.cmake +++ b/linden/indra/cmake/CopyWinLibs.cmake | |||
@@ -6,8 +6,8 @@ | |||
6 | 6 | ||
7 | include(CMakeCopyIfDifferent) | 7 | include(CMakeCopyIfDifferent) |
8 | 8 | ||
9 | set(gst_plugin_debug_dir "${CMAKE_SOURCE_DIR}/../libraries/i686-win32/lib/debug/gstreamer-plugins") | 9 | set(gst_plugin_release_dir "${CMAKE_SOURCE_DIR}/../libraries/i686-win32/lib/release/lib/gstreamer-plugins") |
10 | set(gst_plugin_debug_files | 10 | set(gst_plugin_release_files |
11 | libdshowsrcwrapper.dll | 11 | libdshowsrcwrapper.dll |
12 | libfsselector.dll | 12 | libfsselector.dll |
13 | libfsvalve.dll | 13 | libfsvalve.dll |
@@ -86,15 +86,15 @@ set(gst_plugin_debug_files | |||
86 | ) | 86 | ) |
87 | 87 | ||
88 | copy_if_different( | 88 | copy_if_different( |
89 | ${gst_plugin_debug_dir} | 89 | ${gst_plugin_release_dir} |
90 | "${CMAKE_CURRENT_BINARY_DIR}/Debug/lib/gstreamer-plugins" | 90 | "${CMAKE_CURRENT_BINARY_DIR}/Release/lib/gstreamer-plugins" |
91 | out_targets | 91 | out_targets |
92 | ${gst_plugin_debug_files} | 92 | ${gst_plugin_release_files} |
93 | ) | 93 | ) |
94 | set(all_targets ${all_targets} ${out_targets}) | 94 | set(all_targets ${all_targets} ${out_targets}) |
95 | 95 | ||
96 | set(gst_plugin_release_dir "${CMAKE_SOURCE_DIR}/../libraries/i686-win32/lib/release/gstreamer-plugins") | 96 | set(gst_plugin_debug_dir "${CMAKE_SOURCE_DIR}/../libraries/i686-win32/lib/debug/lib/gstreamer-plugins") |
97 | set(gst_plugin_release_files | 97 | set(gst_plugin_debug_files |
98 | libdshowsrcwrapper.dll | 98 | libdshowsrcwrapper.dll |
99 | libfsselector.dll | 99 | libfsselector.dll |
100 | libfsvalve.dll | 100 | libfsvalve.dll |
@@ -173,10 +173,10 @@ set(gst_plugin_release_files | |||
173 | ) | 173 | ) |
174 | 174 | ||
175 | copy_if_different( | 175 | copy_if_different( |
176 | ${gst_plugin_release_dir} | 176 | ${gst_plugin_debug_dir} |
177 | "${CMAKE_CURRENT_BINARY_DIR}/Release/lib/gstreamer-plugins" | 177 | "${CMAKE_CURRENT_BINARY_DIR}/Debug/lib/gstreamer-plugins" |
178 | out_targets | 178 | out_targets |
179 | ${gst_plugin_release_files} | 179 | ${gst_plugin_debug_files} |
180 | ) | 180 | ) |
181 | set(all_targets ${all_targets} ${out_targets}) | 181 | set(all_targets ${all_targets} ${out_targets}) |
182 | 182 | ||
@@ -184,11 +184,8 @@ set(vivox_src_dir "${CMAKE_SOURCE_DIR}/newview/vivox-runtime/i686-win32") | |||
184 | set(vivox_files | 184 | set(vivox_files |
185 | tntk.dll | 185 | tntk.dll |
186 | libeay32.dll | 186 | libeay32.dll |
187 | SLVoice.exe | ||
188 | ssleay32.dll | 187 | ssleay32.dll |
189 | SLVoiceAgent.exe | ||
190 | srtp.dll | 188 | srtp.dll |
191 | vivoxsdk.dll | ||
192 | ortp.dll | 189 | ortp.dll |
193 | wrap_oal.dll | 190 | wrap_oal.dll |
194 | ) | 191 | ) |
@@ -414,4 +411,4 @@ if (MSVC80) | |||
414 | endif (EXISTS ${release_msvc8_redist_path}) | 411 | endif (EXISTS ${release_msvc8_redist_path}) |
415 | endif (MSVC80) | 412 | endif (MSVC80) |
416 | 413 | ||
417 | add_custom_target(copy_win_libs ALL DEPENDS ${all_targets}) | 414 | add_custom_target(copy_win_libs ALL DEPENDS ${all_targets}) \ No newline at end of file |
diff --git a/linden/indra/cmake/GStreamer.cmake b/linden/indra/cmake/GStreamer.cmake index fc256a8..b4b984d 100644 --- a/linden/indra/cmake/GStreamer.cmake +++ b/linden/indra/cmake/GStreamer.cmake | |||
@@ -10,6 +10,8 @@ include(Prebuilt) | |||
10 | if (WINDOWS) | 10 | if (WINDOWS) |
11 | 11 | ||
12 | use_prebuilt_binary(libxml) | 12 | use_prebuilt_binary(libxml) |
13 | use_prebuilt_binary(iconv) | ||
14 | use_prebuilt_binary(gstreamer-plugins) | ||
13 | set(GSTREAMER_FOUND ON FORCE BOOL) | 15 | set(GSTREAMER_FOUND ON FORCE BOOL) |
14 | set(GSTREAMER_INCLUDE_DIRS | 16 | set(GSTREAMER_INCLUDE_DIRS |
15 | ${LIBS_PREBUILT_DIR}/${LL_ARCH_DIR}/include/glib | 17 | ${LIBS_PREBUILT_DIR}/${LL_ARCH_DIR}/include/glib |
diff --git a/linden/indra/cmake/OPENAL.cmake b/linden/indra/cmake/OPENAL.cmake index f24ec22..5e71f66 100644 --- a/linden/indra/cmake/OPENAL.cmake +++ b/linden/indra/cmake/OPENAL.cmake | |||
@@ -12,7 +12,7 @@ if (OPENAL) | |||
12 | if (WINDOWS) | 12 | if (WINDOWS) |
13 | find_library(OPENAL_LIB | 13 | find_library(OPENAL_LIB |
14 | NAMES openal openal32 OpenAL OpenAL32 wrap_oal | 14 | NAMES openal openal32 OpenAL OpenAL32 wrap_oal |
15 | PATHS ${LIBS_PREBUILT_DIR}/${LL_ARCH_DIR}/libraries/i686-win32/lib/release/ | 15 | PATHS ${CMAKE_SOURCE_DIR}/../libraries/i686-win32/lib/release |
16 | ) | 16 | ) |
17 | 17 | ||
18 | else (WINDOWS) | 18 | else (WINDOWS) |
@@ -20,7 +20,8 @@ if (OPENAL) | |||
20 | NAMES openal openal32 OpenAL OpenAL32 wrap_oal | 20 | NAMES openal openal32 OpenAL OpenAL32 wrap_oal |
21 | PATHS ${ARCH_PREBUILT_DIRS_RELEASE} | 21 | PATHS ${ARCH_PREBUILT_DIRS_RELEASE} |
22 | ) | 22 | ) |
23 | 23 | endif (WINDOWS) | |
24 | |||
24 | if (NOT OPENAL_LIB) | 25 | if (NOT OPENAL_LIB) |
25 | message(FATAL_ERROR "OpenAL not found!") | 26 | message(FATAL_ERROR "OpenAL not found!") |
26 | else (NOT OPENAL_LIB) | 27 | else (NOT OPENAL_LIB) |
@@ -46,10 +47,18 @@ if (OPENAL) | |||
46 | 47 | ||
47 | # ALUT_LIB | 48 | # ALUT_LIB |
48 | 49 | ||
50 | if (WINDOWS) | ||
51 | find_library(ALUT_LIB | ||
52 | NAMES alut freealut | ||
53 | PATHS ${CMAKE_SOURCE_DIR}/../libraries/i686-win32/lib/release | ||
54 | ) | ||
55 | |||
56 | else (WINDOWS) | ||
49 | find_library(ALUT_LIB | 57 | find_library(ALUT_LIB |
50 | NAMES alut freealut | 58 | NAMES alut freealut |
51 | PATHS ${ARCH_PREBUILT_DIRS_RELEASE} | 59 | PATHS ${ARCH_PREBUILT_DIRS_RELEASE} |
52 | ) | 60 | ) |
61 | endif (WINDOWS) | ||
53 | 62 | ||
54 | if (NOT ALUT_LIB) | 63 | if (NOT ALUT_LIB) |
55 | message(FATAL_ERROR "ALUT not found!") | 64 | message(FATAL_ERROR "ALUT not found!") |