[MSPATCHA]
[reactos.git] / reactos / dll / win32 / mspatcha / CMakeLists.txt
1
2 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
3 add_definitions(-D__WINESRC__)
4
5 spec2def(mspatcha.dll mspatcha.spec)
6
7 list(APPEND SOURCE
8 mspatcha_main.c
9 ${CMAKE_CURRENT_BINARY_DIR}/mspatcha_stubs.c
10 ${CMAKE_CURRENT_BINARY_DIR}/mspatcha.def)
11
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)