summaryrefslogtreecommitdiff
path: root/indra/media_plugins/winmmshim/CMakeLists.txt
diff options
context:
space:
mode:
authorRichard Nelson <none@none>2010-04-27 09:41:33 -0700
committerRichard Nelson <none@none>2010-04-27 09:41:33 -0700
commitbd08f1989461b8b81ed04df6f8dc2097862a20e8 (patch)
tree491873fa21a9da11d812e4e98410890407ce289e /indra/media_plugins/winmmshim/CMakeLists.txt
parent3a7490e492b35d5dc55f6124d2e1acbca3bd4d79 (diff)
EXT-6921 - Windows Xp/Vista unified volume control
Diffstat (limited to 'indra/media_plugins/winmmshim/CMakeLists.txt')
-rw-r--r--indra/media_plugins/winmmshim/CMakeLists.txt34
1 files changed, 34 insertions, 0 deletions
diff --git a/indra/media_plugins/winmmshim/CMakeLists.txt b/indra/media_plugins/winmmshim/CMakeLists.txt
new file mode 100644
index 0000000000..d35e97fc62
--- /dev/null
+++ b/indra/media_plugins/winmmshim/CMakeLists.txt
@@ -0,0 +1,34 @@
+# -*- cmake -*-
+
+project(winmm_shim)
+
+### winmm_shim
+
+set(winmm_shim_SOURCE_FILES
+ forwarding_api.cpp
+ winmm_shim.cpp
+ )
+
+set(winmm_shim_HEADER_FILES
+ forwarding_api.h
+ winmm.def
+ )
+
+list(APPEND winmm_shim_SOURCE_FILES ${winmm_shim_HEADER_FILES})
+
+set_source_files_properties(${media_plugin_webkit_HEADER_FILES}
+ PROPERTIES HEADER_FILE_ONLY TRUE)
+
+add_library(winmm_shim
+ SHARED
+ ${winmm_shim_SOURCE_FILES}
+)
+
+if (WINDOWS)
+ set_target_properties(
+ winmm_shim
+ PROPERTIES
+ LINK_FLAGS "/MANIFEST:NO"
+ OUTPUT_NAME "winmm"
+ )
+endif (WINDOWS)