Sync with trunk for console graphics palettes.
[reactos.git] / base / shell / explorer / CMakeLists.txt
1
2 add_subdirectory(notifyhook)
3
4 set_cpp(WITH_RTTI WITH_EXCEPTIONS WITH_STL)
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 taskbar/taskbar.cpp
29 taskbar/favorites.cpp
30 taskbar/quicklaunch.cpp
31 taskbar/desktopbar.cpp
32 taskbar/startmenu.cpp
33 taskbar/traynotify.cpp
34 precomp.cpp
35 explorer.rc
36 services/startup.c
37 services/shellservices.cpp
38 desktop/desktop.cpp
39 explorer.cpp
40 utility/xs-native.cpp
41 utility/shellclasses.cpp
42 utility/dragdropimpl.cpp
43 utility/utility.cpp
44 utility/xmlstorage.cpp
45 utility/window.cpp
46 utility/shellbrowserimpl.cpp) # utility/shelltests.cpp
47
48 if(ARCH MATCHES i386)
49 list(APPEND SOURCE
50 i386-stub-win32.c)
51 endif()
52
53 add_executable(explorer ${SOURCE})
54 target_link_libraries(explorer comsupp wine uuid)
55 set_module_type(explorer win32gui UNICODE)
56
57 add_importlibs(explorer advapi32 gdi32 user32 ws2_32 msimg32 comctl32 ole32 oleaut32 shell32 shlwapi notifyhook msvcrt kernel32 ntdll)
58 add_dependencies(explorer psdk)
59 add_cd_file(TARGET explorer DESTINATION reactos FOR all)
60 add_cd_file(FILE ${CMAKE_CURRENT_SOURCE_DIR}/explorer-cfg-template.xml DESTINATION reactos FOR all)