2014-09-23 19:48:41 +00:00
|
|
|
|
2016-04-20 12:36:25 +00:00
|
|
|
include_directories(${REACTOS_SOURCE_DIR}/sdk/include/reactos/wine)
|
2014-09-23 19:48:41 +00:00
|
|
|
add_definitions(-D__WINESRC__)
|
2015-07-19 23:02:13 +00:00
|
|
|
spec2def(mspatcha.dll mspatcha.spec ADD_IMPORTLIB)
|
2014-09-23 19:48:41 +00:00
|
|
|
|
|
|
|
list(APPEND SOURCE
|
|
|
|
mspatcha_main.c
|
2018-12-08 22:49:57 +00:00
|
|
|
lzx.c
|
|
|
|
lzx.h
|
2014-09-23 19:48:41 +00:00
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/mspatcha_stubs.c
|
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/mspatcha.def)
|
|
|
|
|
2019-03-20 13:19:48 +00:00
|
|
|
add_library(mspatcha MODULE ${SOURCE} version.rc)
|
2014-09-23 19:48:41 +00:00
|
|
|
set_module_type(mspatcha win32dll)
|
|
|
|
target_link_libraries(mspatcha wine)
|
|
|
|
add_importlibs(mspatcha msvcrt kernel32 ntdll)
|
|
|
|
add_cd_file(TARGET mspatcha DESTINATION reactos/system32 FOR all)
|