summaryrefslogtreecommitdiff
path: root/indra/media_plugins/winmmshim/CMakeLists.txt
diff options
context:
space:
mode:
authorRichard Nelson <none@none>2010-04-27 09:42:49 -0700
committerRichard Nelson <none@none>2010-04-27 09:42:49 -0700
commit42c2e62014d835818451cfbb7639db01de09c351 (patch)
treeab86933430a5870d04b355cbcb9612cfeb40b91a /indra/media_plugins/winmmshim/CMakeLists.txt
parent6a6af64e072968f94440c137f5f83985755eda8b (diff)
parentbd08f1989461b8b81ed04df6f8dc2097862a20e8 (diff)
merge
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)