9ee8f0de80c4ab9282a1171bec1128de504f2e82
[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_library(urlmon SHARED
12 bindctx.c
13 binding.c
14 bindprot.c
15 download.c
16 file.c
17 format.c
18 ftp.c
19 gopher.c
20 http.c
21 internet.c
22 mimefilter.c
23 mk.c
24 protocol.c
25 protproxy.c
26 regsvr.c
27 sec_mgr.c
28 session.c
29 umon.c
30 umstream.c
31 uri.c
32 urlmon_main.c
33 usrmarshal.c
34 rsrc.rc
35 ${CMAKE_CURRENT_BINARY_DIR}/urlmon.def)
36
37 set_module_type(urlmon win32dll)
38
39 target_link_libraries(urlmon
40 urlmon_proxy
41 uuid
42 wine
43 ${PSEH_LIB})
44
45 add_importlibs(urlmon
46 rpcrt4
47 ole32
48 oleaut32
49 shlwapi
50 shell32
51 wininet
52 user32
53 advapi32
54 msvcrt
55 kernel32
56 ntdll)
57
58
59 add_definitions(
60 -DENTRY_PREFIX=URLMON_
61 -DPROXY_DELEGATION
62 -DREGISTER_PROXY_DLL
63 -D_URLMON_)
64
65 # FIXME : this should be quotes enclosed
66 add_definitions(-DPROXY_CLSID_IS={0x79EAC9F1,0xBAF9,0x11CE,{0x8C,0x82,0x00,0xAA,0x00,0x4B,0xA9,0x0B}})
67 #add_definitions(-DPROXY_CLSID_IS="{0x79EAC9F1,0xBAF9,0x11CE,{0x8C,0x82,0x00,0xAA,0x00,0x4B,0xA9,0x0B}}")
68
69 rpcproxy(urlmon urlmon_urlmon.idl)
70 add_cab_target(urlmon 1)
71 add_importlib_target(urlmon.spec)