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