[MSPATCHA] Initial patch decoding + applying.
[reactos.git] / dll / win32 / mspatcha / CMakeLists.txt
1
2 include_directories(${REACTOS_SOURCE_DIR}/sdk/include/reactos/wine)
3 add_definitions(-D__WINESRC__)
4 spec2def(mspatcha.dll mspatcha.spec ADD_IMPORTLIB)
5
6 list(APPEND SOURCE
7 mspatcha_main.c
8 lzx.c
9 lzx.h
10 ${CMAKE_CURRENT_BINARY_DIR}/mspatcha_stubs.c
11 ${CMAKE_CURRENT_BINARY_DIR}/mspatcha.def)
12
13 add_library(mspatcha SHARED ${SOURCE} version.rc)
14 set_module_type(mspatcha win32dll)
15 target_link_libraries(mspatcha wine)
16 add_importlibs(mspatcha msvcrt kernel32 ntdll)
17 add_cd_file(TARGET mspatcha DESTINATION reactos/system32 FOR all)