c95dc4434e696fc19fcc6ca818f54b8bb05ff683
[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 set_rc_compiler()
8 spec2def(msvfw32.dll msvfw32.spec)
9
10 list(APPEND SOURCE
11 mciwnd.c
12 msvideo_main.c
13 drawdib.c
14 rsrc.rc
15 ${CMAKE_CURRENT_BINARY_DIR}/msvfw32_stubs.c
16 ${CMAKE_CURRENT_BINARY_DIR}/msvfw32.def)
17
18 add_library(msvfw32 SHARED ${SOURCE})
19
20 set_module_type(msvfw32 win32dll)
21
22 target_link_libraries(msvfw32 wine)
23
24 add_importlibs(msvfw32 winmm version comctl32 user32 gdi32 advapi32 msvcrt kernel32 ntdll)
25
26 add_cab_target(msvfw32 1)
27 add_importlib_target(msvfw32.spec)