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