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