[CMAKE]
[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 ${CMAKE_CURRENT_SOURCE_DIR}/msvfw32.spec ${CMAKE_CURRENT_BINARY_DIR}/msvfw32.def)
8
9 add_library(msvfw32 SHARED
10 mciwnd.c
11 msvideo_main.c
12 drawdib.c
13 rsrc.rc)
14
15 set_module_type(msvfw32 win32dll)
16
17 target_link_libraries(msvfw32
18 ${CMAKE_CURRENT_BINARY_DIR}/msvfw32.def
19 wine)
20
21 add_importlibs(msvfw32 winmm version comctl32 user32 gdi32 advapi32 kernel32 ntdll)
22 add_dependencies(msvfw32 msvfw32_def)
23 add_livecd_target(msvfw32 reactos/system32)