[CMAKE]
[reactos.git] / base / shell / explorer / CMakeLists.txt
1 add_subdirectory(notifyhook)
2
3 add_definitions(-DUNICODE -D_UNICODE)
4 add_definitions(-DWIN32)
5 add_definitions(-D__WINDRES__)
6
7 #add_pch(explorer ${CMAKE_CURRENT_SOURCE_DIR}/precomp.h SOURCE)
8 include_directories(${CMAKE_CURRENT_SOURCE_DIR})
9
10 list(APPEND SOURCE
11 shell/mainframe.cpp
12 shell/unixfs.cpp
13 shell/ntobjfs.cpp
14 shell/filechild.cpp
15 shell/shellfs.cpp
16 shell/fatfs.cpp
17 shell/pane.cpp
18 shell/regfs.cpp
19 shell/webchild.cpp
20 shell/entries.cpp
21 shell/shellbrowser.cpp
22 shell/winfs.cpp
23 dialogs/searchprogram.cpp
24 dialogs/settings.cpp
25 i386-stub-win32.c
26 taskbar/taskbar.cpp
27 taskbar/favorites.cpp
28 taskbar/quicklaunch.cpp
29 taskbar/desktopbar.cpp
30 taskbar/startmenu.cpp
31 taskbar/traynotify.cpp
32 precomp.cpp
33 services/startup.c
34 services/shellservices.cpp
35 desktop/desktop.cpp
36 explorer.cpp
37 utility/xs-native.cpp
38 utility/shellclasses.cpp
39 utility/dragdropimpl.cpp
40 utility/utility.cpp
41 utility/xmlstorage.cpp
42 utility/splitpath.c
43 utility/window.cpp
44 utility/shellbrowserimpl.cpp) # utility/shelltests.cpp
45
46
47 add_executable(explorer ${SOURCE}) #${CMAKE_CURRENT_BINARY_DIR}/explorer_precomp.h.gch ${SOURCE})
48
49 set_module_type(explorer win32gui)
50
51 target_link_libraries(explorer
52 mingw_wmain
53 mingw_common
54 coldname
55 oldnames
56 wine
57 uuid)
58
59 add_importlibs(explorer
60 advapi32
61 gdi32
62 user32
63 ws2_32
64 msimg32
65 comctl32
66 ole32
67 oleaut32
68 shell32
69 notifyhook
70 msvcrt)