- Merge the remaining portion of the wlan-bringup branch
[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 else()
28 allow_warnings(itss)
29 endif()
30
31 add_importlibs(itss
32 urlmon
33 shlwapi
34 ole32
35 msvcrt
36 kernel32
37 ntdll)
38
39 add_dependencies(itss wineheaders)
40 add_cd_file(TARGET itss DESTINATION reactos/system32 FOR all)