mirror of
https://github.com/reactos/reactos.git
synced 2024-09-30 22:47:28 +00:00
886fc1b808
Time to (re)act! Step 2/2: continue Giannis' UNC hack in Shell32: - Implement the ILCreateFromNetworkPlaceW() helper, which is just Giannis' code to allow creating a hacky PIDL for enumeration. - Implement the CNetFolderEnum class, which allows enumerating network places. So far, it's pretty basic (no tree structure) but, it does its job. It would be to improve - Implement the CNetFolder::EnumObjects() function. This commit, in itself, more or less obsoletes hackssign application. Indeed, now, you just need to go to your network places, to be able to browse your network shares (like VMware or VBox shares) provided you installed the VMware/VBox additions in your VM. However, hackssign will remains in rosapps for now: we don't have any other way to assign a drive letter to a network place so far, and VMware doesn't provide such feature. Furthermore, this is a big hack. And until we have a correct implementation, we can keep another hack along ;-). Feel free to decently enjoy your network shares in ReactOS :-). CORE-10032 ROSAPPS-303 svn path=/trunk/; revision=70671
90 lines
2.2 KiB
CMake
90 lines
2.2 KiB
CMake
PROJECT(SHELL)
|
|
|
|
add_subdirectory(shelldesktop)
|
|
add_subdirectory(shellmenu)
|
|
|
|
set_cpp(WITH_RUNTIME)
|
|
spec2def(shell32.dll shell32.spec ADD_IMPORTLIB)
|
|
|
|
remove_definitions(-D_WIN32_WINNT=0x502)
|
|
add_definitions(-D_WIN32_WINNT=0x600)
|
|
|
|
add_definitions(
|
|
-D_SHELL32_
|
|
-D_WINE)
|
|
|
|
include_directories(
|
|
${REACTOS_SOURCE_DIR}/lib/recyclebin
|
|
${REACTOS_SOURCE_DIR}/lib/atl
|
|
${REACTOS_SOURCE_DIR})
|
|
|
|
list(APPEND SOURCE
|
|
CIDLDataObj.cpp
|
|
CQueryAssociations.cpp
|
|
debughlp.cpp
|
|
dialogs/dialogs.cpp
|
|
dialogs/drive.cpp
|
|
dialogs/drvdefext.cpp
|
|
dialogs/folder_options.cpp
|
|
dialogs/filedefext.cpp
|
|
dialogs/fprop.cpp
|
|
dialogs/recycler_prop.cpp
|
|
CDropTargetHelper.cpp
|
|
CEnumIDListBase.cpp
|
|
CExtractIcon.cpp
|
|
folders.cpp
|
|
iconcache.cpp
|
|
shell32.cpp
|
|
CShellItem.cpp
|
|
CShellLink.cpp
|
|
folders/CDesktopFolder.cpp
|
|
folders/CFSFolder.cpp
|
|
folders/CDrivesFolder.cpp
|
|
folders/CMyDocsFolder.cpp
|
|
folders/CPrinterFolder.cpp
|
|
folders/CAdminToolsFolder.cpp
|
|
folders/CNetFolder.cpp
|
|
folders/CFontsFolder.cpp
|
|
folders/CControlPanelFolder.cpp
|
|
folders/CRecycleBin.cpp
|
|
droptargets/CexeDropHandler.cpp
|
|
shlexec.cpp
|
|
shlfileop.cpp
|
|
shlfolder.cpp
|
|
CFileSysBindData.cpp
|
|
CDefView.cpp
|
|
stubs.cpp
|
|
systray.cpp
|
|
CDefaultContextMenu.cpp
|
|
COpenWithMenu.cpp
|
|
CNewMenu.cpp
|
|
precomp.h)
|
|
|
|
add_library(shell32 SHARED
|
|
${SOURCE}
|
|
wine/brsfolder.c
|
|
wine/changenotify.c
|
|
wine/classes.c
|
|
wine/clipboard.c
|
|
wine/control.c
|
|
wine/pidl.c
|
|
wine/shell32_main.c
|
|
wine/shellole.c
|
|
wine/shellord.c
|
|
wine/shellpath.c
|
|
wine/shellreg.c
|
|
wine/shellstring.c
|
|
wine/shlmenu.c
|
|
wine/shpolicy.c
|
|
vista.c
|
|
shell32.rc
|
|
${CMAKE_CURRENT_BINARY_DIR}/shell32_stubs.c
|
|
${CMAKE_CURRENT_BINARY_DIR}/shell32.def)
|
|
|
|
set_module_type(shell32 win32dll UNICODE)
|
|
target_link_libraries(shell32 shellmenu shelldesktop atlnew wine uuid recyclebin)
|
|
add_delay_importlibs(shell32 uxtheme ole32 userenv version fmifs)
|
|
add_importlibs(shell32 advapi32 browseui gdi32 user32 powrprof comctl32 comdlg32 shdocvw shlwapi devmgr winspool winmm msvcrt kernel32 ntdll mpr)
|
|
add_pch(shell32 precomp.h SOURCE)
|
|
add_cd_file(TARGET shell32 DESTINATION reactos/system32 FOR all)
|