[WMVCORE] Sync with Wine Staging 2.16. CORE-13762
[reactos.git] / dll / win32 / wmvcore / CMakeLists.txt
1
2 add_definitions(-D__WINESRC__)
3 include_directories(${REACTOS_SOURCE_DIR}/sdk/include/reactos/wine)
4 spec2def(wmvcore.dll wmvcore.spec ADD_IMPORTLIB)
5
6 list(APPEND SOURCE
7 wmvcore_main.c
8 writer.c
9 ${CMAKE_CURRENT_BINARY_DIR}/wmvcore_stubs.c
10 ${CMAKE_CURRENT_BINARY_DIR}/wmvcore.def)
11
12 add_library(wmvcore SHARED ${SOURCE})
13 set_module_type(wmvcore win32dll)
14 target_link_libraries(wmvcore wine)
15 add_importlibs(wmvcore msvcrt kernel32 ntdll)
16 add_cd_file(TARGET wmvcore DESTINATION reactos/system32 FOR all)