mirror of
https://github.com/reactos/reactos.git
synced 2025-02-25 01:39:30 +00:00
60 lines
1.5 KiB
CMake
60 lines
1.5 KiB
CMake
|
|
add_subdirectory(notifyhook)
|
|
|
|
set_cpp(WITH_RTTI WITH_EXCEPTIONS WITH_STL)
|
|
|
|
add_definitions(
|
|
-DWIN32
|
|
-D__WINDRES__)
|
|
|
|
#add_pch(explorer precomp.h)
|
|
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
|
|
precomp.cpp
|
|
explorer.rc
|
|
services/startup.c
|
|
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
|
|
utility/shellbrowserimpl.cpp) # utility/shelltests.cpp
|
|
|
|
if(ARCH MATCHES i386)
|
|
list(APPEND SOURCE
|
|
i386-stub-win32.c)
|
|
endif()
|
|
|
|
add_executable(explorer ${SOURCE})
|
|
target_link_libraries(explorer comsupp wine uuid)
|
|
set_module_type(explorer win32gui UNICODE)
|
|
|
|
add_importlibs(explorer advapi32 gdi32 user32 ws2_32 msimg32 comctl32 ole32 oleaut32 shell32 shlwapi notifyhook msvcrt kernel32 ntdll)
|
|
add_dependencies(explorer psdk)
|
|
add_cd_file(TARGET explorer DESTINATION reactos FOR all)
|
|
add_cd_file(FILE ${CMAKE_CURRENT_SOURCE_DIR}/explorer-cfg-template.xml DESTINATION reactos FOR all)
|