1 2add_subdirectory(notifyhook) 3 4set_cpp(WITH_RTTI WITH_EXCEPTIONS WITH_STL) 5 6add_definitions( 7 -DWIN32 8 -D__WINDRES__) 9 10include_directories(${CMAKE_CURRENT_SOURCE_DIR}) 11 12list(APPEND SOURCE 13 shell/mainframe.cpp 14 shell/unixfs.cpp 15 shell/ntobjfs.cpp 16 shell/filechild.cpp 17 shell/shellfs.cpp 18 shell/fatfs.cpp 19 shell/pane.cpp 20 shell/regfs.cpp 21 shell/webchild.cpp 22 shell/entries.cpp 23 shell/shellbrowser.cpp 24 shell/winfs.cpp 25 dialogs/searchprogram.cpp 26 dialogs/settings.cpp 27 taskbar/taskbar.cpp 28 taskbar/favorites.cpp 29 taskbar/quicklaunch.cpp 30 taskbar/desktopbar.cpp 31 taskbar/startmenu.cpp 32 taskbar/traynotify.cpp 33 services/shellservices.cpp 34 desktop/desktop.cpp 35 explorer.cpp 36 utility/xs-native.cpp 37 utility/shellclasses.cpp 38 utility/dragdropimpl.cpp 39 utility/utility.cpp 40 utility/xmlstorage.cpp 41 utility/window.cpp 42 utility/shellbrowserimpl.cpp) # utility/shelltests.cpp 43 44list(APPEND PCH_SKIP_SOURCE 45 services/startup.c) 46 47if(ARCH STREQUAL "i386") 48 list(APPEND PCH_SKIP_SOURCE i386-stub-win32.c) 49endif() 50 51add_executable(explorer_old 52 ${SOURCE} 53 ${PCH_SKIP_SOURCE} 54 explorer.rc) 55 56target_link_libraries(explorer_old comsupp wine uuid) 57set_module_type(explorer_old win32gui UNICODE) 58add_importlibs(explorer_old advapi32 gdi32 user32 ws2_32 msimg32 comctl32 ole32 oleaut32 shell32 shlwapi notifyhook msvcrt kernel32 ntdll) 59add_pch(explorer_old precomp.h "${PCH_SKIP_SOURCE}") 60add_dependencies(explorer_old psdk) 61add_cd_file(TARGET explorer_old DESTINATION reactos FOR all) 62add_cd_file(FILE ${CMAKE_CURRENT_SOURCE_DIR}/explorer-cfg-template.xml DESTINATION reactos FOR all) 63