xref: /reactos/dll/win32/mspatcha/CMakeLists.txt (revision 23373acb)
1c2c66affSColin Finck
2c2c66affSColin Finckinclude_directories(${REACTOS_SOURCE_DIR}/sdk/include/reactos/wine)
3c2c66affSColin Finckadd_definitions(-D__WINESRC__)
4c2c66affSColin Finckspec2def(mspatcha.dll mspatcha.spec ADD_IMPORTLIB)
5c2c66affSColin Finck
6c2c66affSColin Fincklist(APPEND SOURCE
7c2c66affSColin Finck    mspatcha_main.c
897d7206fSMark Jansen    lzx.c
997d7206fSMark Jansen    lzx.h
10c2c66affSColin Finck    ${CMAKE_CURRENT_BINARY_DIR}/mspatcha_stubs.c
11c2c66affSColin Finck    ${CMAKE_CURRENT_BINARY_DIR}/mspatcha.def)
12c2c66affSColin Finck
13*23373acbSJérôme Gardouadd_library(mspatcha MODULE ${SOURCE} version.rc)
14c2c66affSColin Finckset_module_type(mspatcha win32dll)
15c2c66affSColin Fincktarget_link_libraries(mspatcha wine)
16c2c66affSColin Finckadd_importlibs(mspatcha msvcrt kernel32 ntdll)
17c2c66affSColin Finckadd_cd_file(TARGET mspatcha DESTINATION reactos/system32 FOR all)
18