05c6542a95c37c8580f54d4f42805e45c2760224
[reactos.git] / dll / win32 / browseui / CMakeLists.txt
1
2 set_unicode()
3 set_cpp()
4
5 add_definitions(
6 -D__WINESRC__
7 -DROS_Headers)
8
9 remove_definitions(-D_WIN32_WINNT=0x502)
10 add_definitions(-D_WIN32_WINNT=0x600)
11
12 include_directories(
13 ${REACTOS_SOURCE_DIR}/include/reactos/wine
14 ${REACTOS_SOURCE_DIR}/lib/atl)
15
16 set_rc_compiler()
17
18 spec2def(browseui.dll browseui.spec)
19
20 list(APPEND SOURCE
21 aclmulti.cpp
22 addressband.cpp
23 addresseditbox.cpp
24 bandproxy.cpp
25 bandsite.cpp
26 bandsitemenu.cpp
27 basebar.cpp
28 basebarsite.cpp
29 brandband.cpp
30 browseui.cpp
31 browseuiord.cpp
32 commonbrowser.cpp
33 globalfoldersettings.cpp
34 internettoolbar.cpp
35 regtreeoptions.cpp
36 shellbrowser.cpp
37 toolsband.cpp
38 travellog.cpp
39 utility.cpp
40 browseui.rc
41 dllinstall.c
42 ${CMAKE_CURRENT_BINARY_DIR}/browseui.def)
43
44 add_library(browseui SHARED ${SOURCE})
45 set_module_type(browseui win32dll)
46
47 target_link_libraries(browseui
48 atlnew
49 uuid
50 wine)
51
52 add_importlibs(browseui
53 shlwapi
54 shell32
55 comctl32
56 gdi32
57 ole32
58 oleaut32
59 user32
60 advapi32
61 msvcrt
62 kernel32
63 ntdll)
64
65 add_cab_target(browseui 1)