2 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
3 add_definitions(-D__WINESRC__)
5 spec2def(mspatcha.dll mspatcha.spec)
9 ${CMAKE_CURRENT_BINARY_DIR}/mspatcha_stubs.c
10 ${CMAKE_CURRENT_BINARY_DIR}/mspatcha.def)
12 add_library(mspatcha SHARED ${SOURCE} version.rc)
13 set_module_type(mspatcha win32dll)
14 target_link_libraries(mspatcha wine)
15 add_importlibs(mspatcha msvcrt kernel32 ntdll)
16 add_cd_file(TARGET mspatcha DESTINATION reactos/system32 FOR all)