1b0571fc986ab5bfc5ad5258ec2cd9ee553c16cb
[reactos.git] / dll / win32 / msvfw32 / CMakeLists.txt
1
2 add_definitions(-D__WINESRC__)
3 add_definitions(-D_WINE)
4 include_directories(BEFORE ${REACTOS_SOURCE_DIR}/sdk/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 msvideo_private.h
12 ${CMAKE_CURRENT_BINARY_DIR}/msvfw32_stubs.c)
13
14 add_library(msvfw32 SHARED
15 ${SOURCE}
16 rsrc.rc
17 ${CMAKE_CURRENT_BINARY_DIR}/msvfw32.def)
18
19 set_module_type(msvfw32 win32dll)
20 target_link_libraries(msvfw32 wine)
21 add_importlibs(msvfw32 winmm comctl32 user32 gdi32 advapi32 msvcrt kernel32 ntdll)
22 add_pch(msvfw32 msvideo_private.h SOURCE)
23 add_cd_file(TARGET msvfw32 DESTINATION reactos/system32 FOR all)