Sync with trunk r58687.
[reactos.git] / dll / win32 / msvfw32 / CMakeLists.txt
1
2 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
3
4 add_definitions(-D__WINESRC__)
5 add_definitions(-D_WINE)
6
7 spec2def(msvfw32.dll msvfw32.spec ADD_IMPORTLIB)
8
9 list(APPEND SOURCE
10 mciwnd.c
11 msvideo_main.c
12 drawdib.c
13 rsrc.rc
14 ${CMAKE_CURRENT_BINARY_DIR}/msvfw32_stubs.c
15 ${CMAKE_CURRENT_BINARY_DIR}/msvfw32.def)
16
17 add_library(msvfw32 SHARED ${SOURCE})
18 set_module_type(msvfw32 win32dll)
19 target_link_libraries(msvfw32 wine)
20 add_importlibs(msvfw32 winmm version comctl32 user32 gdi32 advapi32 msvcrt kernel32 ntdll)
21 add_cd_file(TARGET msvfw32 DESTINATION reactos/system32 FOR all)