[REACTOS]
[reactos.git] / reactos / base / shell / explorer / CMakeLists.txt
1
2 add_subdirectory(notifyhook)
3
4 set_cpp()
5
6 add_definitions(
7 -DWIN32
8 -D__WINDRES__)
9
10 #add_pch(explorer precomp.h)
11 include_directories(${CMAKE_CURRENT_SOURCE_DIR})
12
13 list(APPEND SOURCE
14 shell/mainframe.cpp
15 shell/unixfs.cpp
16 shell/ntobjfs.cpp
17 shell/filechild.cpp
18 shell/shellfs.cpp
19 shell/fatfs.cpp
20 shell/pane.cpp
21 shell/regfs.cpp
22 shell/webchild.cpp
23 shell/entries.cpp
24 shell/shellbrowser.cpp
25 shell/winfs.cpp
26 dialogs/searchprogram.cpp
27 dialogs/settings.cpp
28 i386-stub-win32.c
29 taskbar/taskbar.cpp
30 taskbar/favorites.cpp
31 taskbar/quicklaunch.cpp
32 taskbar/desktopbar.cpp
33 taskbar/startmenu.cpp
34 taskbar/traynotify.cpp
35 precomp.cpp
36 explorer.rc
37 services/startup.c
38 services/shellservices.cpp
39 desktop/desktop.cpp
40 explorer.cpp
41 utility/xs-native.cpp
42 utility/shellclasses.cpp
43 utility/dragdropimpl.cpp
44 utility/utility.cpp
45 utility/xmlstorage.cpp
46 utility/window.cpp
47 utility/shellbrowserimpl.cpp) # utility/shelltests.cpp
48
49 add_executable(explorer ${SOURCE})
50 target_link_libraries(explorer comsupp wine uuid)
51 set_module_type(explorer win32gui UNICODE)
52
53 add_importlibs(explorer advapi32 gdi32 user32 ws2_32 msimg32 comctl32 ole32 oleaut32 shell32 shlwapi notifyhook msvcrt kernel32 ntdll)
54 add_dependencies(explorer psdk)
55 add_cd_file(TARGET explorer DESTINATION reactos FOR all)
56 add_cd_file(FILE ${CMAKE_CURRENT_SOURCE_DIR}/explorer-cfg-template.xml DESTINATION reactos FOR all)