2 add_subdirectory(notifyhook)
6 #NOTE : explorer doesn't follow standard c++, and so doesn't compile with stlport headers
7 #I'm not willing to do it if explorer_new is hanging around.
14 -D_DLL -D__USE_CRTIMP)
16 #add_pch(explorer precomp.h)
17 include_directories(${CMAKE_CURRENT_SOURCE_DIR})
30 shell/shellbrowser.cpp
32 dialogs/searchprogram.cpp
37 taskbar/quicklaunch.cpp
38 taskbar/desktopbar.cpp
40 taskbar/traynotify.cpp
44 services/shellservices.cpp
48 utility/shellclasses.cpp
49 utility/dragdropimpl.cpp
51 utility/xmlstorage.cpp
52 # utility/splitpath.c msvcrt has _wsplitpath already
54 utility/shellbrowserimpl.cpp) # utility/shelltests.cpp
56 add_executable(explorer ${SOURCE})
58 set_subsystem(explorer windows)
59 set_entrypoint(explorer WinMainCRTStartup)
61 target_link_libraries(explorer
69 add_importlibs(explorer advapi32 gdi32 user32 ws2_32 msimg32 comctl32 ole32 oleaut32 shell32 notifyhook msvcrt kernel32 ntdll)
71 set_image_base(explorer 0x00400000)
73 add_dependencies(explorer psdk)
74 add_cd_file(TARGET explorer DESTINATION reactos FOR all)
75 add_cd_file(FILE ${CMAKE_CURRENT_SOURCE_DIR}/explorer-cfg-template.xml DESTINATION reactos FOR all)