2011-05-16 13:12:07 +00:00
|
|
|
|
|
|
|
add_subdirectory(notifyhook)
|
|
|
|
|
|
|
|
add_definitions(
|
|
|
|
-DWIN32
|
2013-01-26 15:06:49 +00:00
|
|
|
-D__WINDRES__)
|
2011-05-16 13:12:07 +00:00
|
|
|
|
|
|
|
include_directories(${CMAKE_CURRENT_SOURCE_DIR})
|
|
|
|
|
|
|
|
list(APPEND SOURCE
|
|
|
|
shell/mainframe.cpp
|
|
|
|
shell/unixfs.cpp
|
|
|
|
shell/ntobjfs.cpp
|
|
|
|
shell/filechild.cpp
|
|
|
|
shell/shellfs.cpp
|
|
|
|
shell/fatfs.cpp
|
|
|
|
shell/pane.cpp
|
|
|
|
shell/regfs.cpp
|
|
|
|
shell/webchild.cpp
|
|
|
|
shell/entries.cpp
|
|
|
|
shell/shellbrowser.cpp
|
|
|
|
shell/winfs.cpp
|
|
|
|
dialogs/searchprogram.cpp
|
|
|
|
dialogs/settings.cpp
|
|
|
|
taskbar/taskbar.cpp
|
|
|
|
taskbar/favorites.cpp
|
|
|
|
taskbar/quicklaunch.cpp
|
|
|
|
taskbar/desktopbar.cpp
|
|
|
|
taskbar/startmenu.cpp
|
|
|
|
taskbar/traynotify.cpp
|
|
|
|
services/shellservices.cpp
|
|
|
|
desktop/desktop.cpp
|
|
|
|
explorer.cpp
|
|
|
|
utility/xs-native.cpp
|
|
|
|
utility/shellclasses.cpp
|
|
|
|
utility/dragdropimpl.cpp
|
|
|
|
utility/utility.cpp
|
|
|
|
utility/xmlstorage.cpp
|
|
|
|
utility/window.cpp
|
2020-05-09 21:37:40 +00:00
|
|
|
utility/shellbrowserimpl.cpp) # utility/shelltests.cpp
|
|
|
|
|
|
|
|
list(APPEND PCH_SKIP_SOURCE
|
|
|
|
services/startup.c)
|
2011-05-16 13:12:07 +00:00
|
|
|
|
2014-02-10 12:43:14 +00:00
|
|
|
if(ARCH STREQUAL "i386")
|
2020-05-09 21:37:40 +00:00
|
|
|
list(APPEND PCH_SKIP_SOURCE i386-stub-win32.c)
|
2013-09-15 18:39:50 +00:00
|
|
|
endif()
|
|
|
|
|
2014-11-25 16:17:58 +00:00
|
|
|
add_executable(explorer_old
|
2014-02-12 11:00:35 +00:00
|
|
|
${SOURCE}
|
2020-05-09 21:37:40 +00:00
|
|
|
${PCH_SKIP_SOURCE}
|
2014-02-12 11:00:35 +00:00
|
|
|
explorer.rc)
|
|
|
|
|
2020-09-18 07:34:18 +00:00
|
|
|
target_link_libraries(explorer_old comsupp wine uuid cppstl)
|
|
|
|
set_target_cpp_properties(explorer_old WITH_EXCEPTIONS WITH_RTTI)
|
2014-11-25 16:17:58 +00:00
|
|
|
set_module_type(explorer_old win32gui UNICODE)
|
|
|
|
add_importlibs(explorer_old advapi32 gdi32 user32 ws2_32 msimg32 comctl32 ole32 oleaut32 shell32 shlwapi notifyhook msvcrt kernel32 ntdll)
|
2020-05-09 21:37:40 +00:00
|
|
|
add_pch(explorer_old precomp.h "${PCH_SKIP_SOURCE}")
|
2014-11-25 16:17:58 +00:00
|
|
|
add_dependencies(explorer_old psdk)
|
|
|
|
add_cd_file(TARGET explorer_old DESTINATION reactos FOR all)
|
2011-05-16 13:12:07 +00:00
|
|
|
add_cd_file(FILE ${CMAKE_CURRENT_SOURCE_DIR}/explorer-cfg-template.xml DESTINATION reactos FOR all)
|