92a01fe9b32e4375205134e092f501c753623c04
[reactos.git] / dll / win32 / itss / CMakeLists.txt
1
2 add_definitions(-D__WINESRC__ -D__ROS_LONG64__)
3 include_directories(${REACTOS_SOURCE_DIR}/sdk/include/reactos/wine)
4 spec2def(itss.dll itss.spec)
5
6 list(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
15 add_library(itss MODULE
16 ${SOURCE}
17 guid.c
18 rsrc.rc
19 ${CMAKE_CURRENT_BINARY_DIR}/itss_stubs.c
20 ${CMAKE_CURRENT_BINARY_DIR}/itss.def)
21
22 set_module_type(itss win32dll)
23 target_link_libraries(itss uuid wine)
24 add_importlibs(itss urlmon shlwapi ole32 msvcrt kernel32 ntdll)
25 add_pch(itss precomp.h SOURCE)
26 add_dependencies(itss wineheaders)
27 add_cd_file(TARGET itss DESTINATION reactos/system32 FOR all)