e6a900653a64a4ee2426fc4698f0f3ef390b8851
[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.def)
16
17 add_library(msvfw32 SHARED ${SOURCE})
18
19 set_module_type(msvfw32 win32dll)
20
21 target_link_libraries(msvfw32 wine)
22
23 add_importlibs(msvfw32 winmm version comctl32 user32 gdi32 advapi32 msvcrt kernel32 ntdll)
24
25 add_cab_target(msvfw32 1)
26 add_importlib_target(msvfw32.spec)