1126af7e61a95a41bc376515d031a00aec50a3aa
[reactos.git] / dll / win32 / urlmon / CMakeLists.txt
1
2 add_definitions(-D__WINESRC__)
3
4 remove_definitions(-D_WIN32_WINNT=0x502)
5 add_definitions(-D_WIN32_WINNT=0x600)
6
7 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
8
9 spec2def(urlmon.dll urlmon.spec)
10
11 add_rpcproxy_library(urlmonproxy urlmon_urlmon.idl)
12
13 list(APPEND SOURCE
14 bindctx.c
15 binding.c
16 bindprot.c
17 download.c
18 file.c
19 format.c
20 ftp.c
21 gopher.c
22 http.c
23 internet.c
24 mimefilter.c
25 mk.c
26 protocol.c
27 protproxy.c
28 regsvr.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 rsrc.rc
37 ${CMAKE_CURRENT_BINARY_DIR}/urlmon_stubs.c
38 ${CMAKE_CURRENT_BINARY_DIR}/urlmon.def)
39
40 add_library(urlmon SHARED ${SOURCE})
41
42
43 set_module_type(urlmon win32dll)
44
45 target_link_libraries(urlmon
46 urlmonproxy
47 uuid
48 wine
49 ${PSEH_LIB})
50
51 add_importlibs(urlmon
52 rpcrt4
53 ole32
54 oleaut32
55 shlwapi
56 shell32
57 wininet
58 user32
59 advapi32
60 msvcrt
61 kernel32
62 ntdll)
63
64
65 add_definitions(
66 -DENTRY_PREFIX=URLMON_
67 -DPROXY_DELEGATION
68 -DREGISTER_PROXY_DLL
69 -D_URLMON_)
70
71 add_definitions(-DPROXY_CLSID_IS="{0x79EAC9F1,0xBAF9,0x11CE,{0x8C,0x82,0x00,0xAA,0x00,0x4B,0xA9,0x0B}}")
72
73 add_cab_target(urlmon 1)
74 add_importlib_target(urlmon.spec)