bb50265e14fca708e21a1e49ceaabf0b56b067ec
[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 set_rc_compiler()
10
11 spec2def(urlmon.dll urlmon.spec)
12
13 add_rpcproxy_library(urlmonproxy urlmon_urlmon.idl)
14
15 list(APPEND SOURCE
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 protproxy.c
30 regsvr.c
31 sec_mgr.c
32 session.c
33 umon.c
34 umstream.c
35 uri.c
36 urlmon_main.c
37 usrmarshal.c
38 rsrc.rc
39 ${CMAKE_CURRENT_BINARY_DIR}/urlmon_stubs.c
40 ${CMAKE_CURRENT_BINARY_DIR}/urlmon.def)
41
42 add_library(urlmon SHARED ${SOURCE})
43
44
45 set_module_type(urlmon win32dll)
46
47 target_link_libraries(urlmon
48 urlmonproxy
49 uuid
50 wine
51 ${PSEH_LIB})
52
53 add_importlibs(urlmon
54 rpcrt4
55 ole32
56 oleaut32
57 shlwapi
58 shell32
59 wininet
60 user32
61 advapi32
62 msvcrt
63 kernel32
64 ntdll)
65
66
67 add_definitions(
68 -DENTRY_PREFIX=URLMON_
69 -DPROXY_DELEGATION
70 -DREGISTER_PROXY_DLL
71 -D_URLMON_)
72
73 add_definitions(-DPROXY_CLSID_IS="{0x79EAC9F1,0xBAF9,0x11CE,{0x8C,0x82,0x00,0xAA,0x00,0x4B,0xA9,0x0B}}")
74
75 add_cab_target(urlmon 1)
76 add_importlib_target(urlmon.spec)