083ba15dc5d90a7ae7ebb6d301397f0cdc5ab28c
[reactos.git] / dll / win32 / msvidc32 / 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(msvidc32 ${CMAKE_CURRENT_SOURCE_DIR}/msvidc32.spec ${CMAKE_CURRENT_BINARY_DIR}/msvidc32.def)
8
9 add_library(msvidc32 SHARED msvideo1.c rsrc.rc)
10
11 set_module_type(msvidc32 win32dll)
12
13 target_link_libraries(msvidc32
14 ${CMAKE_CURRENT_BINARY_DIR}/msvidc32.def
15 wine)
16
17 add_importlibs(msvidc32 user32 kernel32 ntdll)
18 add_dependencies(msvidc32 msvidc32_def)
19 add_cab_target(msvidc32 1)