Synchronize with trunk's revision r57652.
[reactos.git] / dll / win32 / itss / CMakeLists.txt
1
2 add_definitions(-D__WINESRC__)
3 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
4
5 spec2def(itss.dll itss.spec)
6
7 list(APPEND SOURCE
8 chm_lib.c
9 lzx.c
10 itss.c
11 moniker.c
12 protocol.c
13 storage.c
14 #${REACTOS_BINARY_DIR}/include/reactos/wine/itss_i.c
15 ${CMAKE_CURRENT_BINARY_DIR}/itss_stubs.c
16 ${CMAKE_CURRENT_BINARY_DIR}/itss.def)
17
18 add_library(itss SHARED
19 ${SOURCE}
20 rsrc.rc)
21
22 set_module_type(itss win32dll)
23 target_link_libraries(itss uuid wine)
24
25 if(NOT MSVC)
26 # FIXME: http://www.cmake.org/Bug/view.php?id=12998
27 #allow_warnings(itss)
28 set_source_files_properties(${SOURCE} PROPERTIES COMPILE_FLAGS "-Wno-error")
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)