Sync with trunk r63793.
[reactos.git] / dll / win32 / urlmon / CMakeLists.txt
1
2 add_definitions(
3 -D__WINESRC__
4 -D_URLMON_
5 -DENTRY_PREFIX=URLMON_
6 -DPROXY_DELEGATION
7 -DWINE_REGISTER_DLL
8 -DPROXY_CLSID_IS="{0x79EAC9F1,0xBAF9,0x11CE,{0x8C,0x82,0x00,0xAA,0x00,0x4B,0xA9,0x0B}}")
9
10 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
11 spec2def(urlmon.dll urlmon.spec ADD_IMPORTLIB)
12 add_rpcproxy_files(urlmon_urlmon.idl)
13
14 list(APPEND SOURCE
15 axinstall.c
16 bindctx.c
17 binding.c
18 bindprot.c
19 download.c
20 file.c
21 format.c
22 ftp.c
23 gopher.c
24 http.c
25 internet.c
26 mimefilter.c
27 mk.c
28 protocol.c
29 sec_mgr.c
30 session.c
31 umon.c
32 umstream.c
33 uri.c
34 urlmon_main.c
35 usrmarshal.c
36 urlmon_main.h)
37
38 add_library(urlmon SHARED
39 ${SOURCE}
40 urlmon.rc
41 ${CMAKE_CURRENT_BINARY_DIR}/proxy.dlldata.c
42 ${CMAKE_CURRENT_BINARY_DIR}/urlmon_urlmon_p.c
43 ${CMAKE_CURRENT_BINARY_DIR}/urlmon_stubs.c
44 ${CMAKE_CURRENT_BINARY_DIR}/urlmon.def)
45
46 set_module_type(urlmon win32dll)
47 target_link_libraries(urlmon uuid wine ${PSEH_LIB})
48 add_importlibs(urlmon rpcrt4 propsys ole32 oleaut32 shlwapi shell32 wininet user32 advapi32 advpack msvcrt kernel32 ntdll)
49 add_pch(urlmon urlmon_main.h SOURCE)
50 add_cd_file(TARGET urlmon DESTINATION reactos/system32 FOR all)