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 ${CMAKE_CURRENT_SOURCE_DIR}/precomp.h SOURCE)
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}) #${CMAKE_CURRENT_BINARY_DIR}/explorer_precomp.h.gch ${SOURCE})
58 set_subsystem(explorer windows)
59 set_entrypoint(explorer WinMainCRTStartup)
61 target_link_libraries(explorer
71 add_importlibs(explorer advapi32 gdi32 user32 ws2_32 msimg32 comctl32 ole32 oleaut32 shell32 notifyhook msvcrt kernel32 ntdll)
73 set_image_base(explorer 0x00400000)
75 add_dependencies(explorer psdk buildno_header)
76 add_cab_target(explorer 4)
77 add_cab(${CMAKE_CURRENT_SOURCE_DIR}/explorer-cfg-template.xml 4)