- Update to r53061
[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 if (MSVC)
10 add_compiler_flags(/EHa-)
11 endif()
12
13 remove_definitions(-D_WIN32_WINNT=0x502)
14 add_definitions(-D_WIN32_WINNT=0x600)
15
16 include_directories(
17 ${REACTOS_SOURCE_DIR}/include/reactos/wine
18 ${REACTOS_SOURCE_DIR}/lib/atl)
19
20 set_rc_compiler()
21
22 spec2def(browseui.dll browseui.spec)
23
24 list(APPEND SOURCE
25 aclmulti.cpp
26 addressband.cpp
27 addresseditbox.cpp
28 bandproxy.cpp
29 bandsite.cpp
30 bandsitemenu.cpp
31 basebar.cpp
32 basebarsite.cpp
33 brandband.cpp
34 browseui.cpp
35 browseuiord.cpp
36 commonbrowser.cpp
37 globalfoldersettings.cpp
38 internettoolbar.cpp
39 regtreeoptions.cpp
40 shellbrowser.cpp
41 toolsband.cpp
42 travellog.cpp
43 utility.cpp
44 browseui.rc
45 dllinstall.c
46 ${CMAKE_CURRENT_BINARY_DIR}/browseui.def)
47
48 add_library(browseui SHARED ${SOURCE})
49 set_module_type(browseui win32dll)
50
51 target_link_libraries(browseui
52 atlnew
53 uuid
54 wine)
55
56 add_importlibs(browseui
57 shlwapi
58 shell32
59 comctl32
60 gdi32
61 ole32
62 oleaut32
63 user32
64 advapi32
65 msvcrt
66 kernel32
67 ntdll)
68
69 add_pch(browseui precomp.h)
70 add_cd_file(TARGET browseui DESTINATION reactos/system32 FOR all)