1 2add_definitions(-D__WINESRC__) 3include_directories(${REACTOS_SOURCE_DIR}/sdk/include/reactos/wine) 4spec2def(itss.dll itss.spec) 5 6list(APPEND SOURCE 7 chm_lib.c 8 lzx.c 9 itss.c 10 moniker.c 11 protocol.c 12 storage.c 13 precomp.h) 14 15add_library(itss SHARED 16 ${SOURCE} 17 guid.c 18 rsrc.rc 19 ${CMAKE_CURRENT_BINARY_DIR}/itss_stubs.c 20 ${CMAKE_CURRENT_BINARY_DIR}/itss.def) 21 22set_module_type(itss win32dll) 23target_link_libraries(itss uuid wine) 24add_importlibs(itss urlmon shlwapi ole32 msvcrt kernel32 ntdll) 25add_pch(itss precomp.h SOURCE) 26add_dependencies(itss wineheaders) 27add_cd_file(TARGET itss DESTINATION reactos/system32 FOR all) 28