xref: /reactos/dll/win32/itss/CMakeLists.txt (revision d6eebaa4)
1
2add_definitions(-D__WINESRC__ -D__ROS_LONG64__)
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
14list(APPEND PCH_SKIP_SOURCE
15    guid.c
16    ${CMAKE_CURRENT_BINARY_DIR}/itss_stubs.c)
17
18add_library(itss MODULE
19    ${SOURCE}
20    ${PCH_SKIP_SOURCE}
21    rsrc.rc
22    ${CMAKE_CURRENT_BINARY_DIR}/itss.def)
23
24set_module_type(itss win32dll)
25target_link_libraries(itss uuid wine oldnames)
26add_importlibs(itss urlmon shlwapi ole32 msvcrt kernel32 ntdll)
27add_pch(itss precomp.h "${PCH_SKIP_SOURCE}")
28add_dependencies(itss wineheaders)
29add_cd_file(TARGET itss DESTINATION reactos/system32 FOR all)
30