[CMAKE]
[reactos.git] / dll / win32 / itss / CMakeLists.txt
1
2 add_definitions(
3 -D__WINESRC__
4 -D_DLL -D__USE_CRTIMP)
5
6 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
7
8 set_rc_compiler()
9
10 spec2def(itss.dll itss.spec)
11
12 list(APPEND SOURCE
13 chm_lib.c
14 lzx.c
15 itss.c
16 moniker.c
17 protocol.c
18 storage.c
19 rsrc.rc
20 #${REACTOS_BINARY_DIR}/include/reactos/wine/itss_i.c
21 ${CMAKE_CURRENT_BINARY_DIR}/itss_stubs.c
22 ${CMAKE_CURRENT_BINARY_DIR}/itss.def)
23
24 add_library(itss SHARED ${SOURCE})
25
26 set_module_type(itss win32dll)
27
28 target_link_libraries(itss uuid wine)
29
30 add_importlibs(itss
31 urlmon
32 shlwapi
33 ole32
34 msvcrt
35 kernel32
36 ntdll)
37
38 add_dependencies(itss wineheaders)
39 add_cd_file(TARGET itss DESTINATION reactos/system32)