summaryrefslogtreecommitdiff
path: root/indra/media_plugins/winmmshim/CMakeLists.txt
blob: 387214088f16f474ab4582827d5304d6e4ad1cb6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
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)