From 2b229750a40f48b35f04d45a7e8b998420035dd5 Mon Sep 17 00:00:00 2001 From: Ged Murphy Date: Thu, 26 May 2011 22:04:22 +0000 Subject: [PATCH] [SHELL32_NEW] - Merge 51783 - The final revision to merge from the existing shell32 code. - The C++ shell32 module is now fully up to date and ready for testing. svn path=/branches/shell32_new-bringup/; revision=51941 --- dll/win32/shell32/CMakeLists.txt | 106 +++++++++++++++++++++++++++++++ 1 file changed, 106 insertions(+) create mode 100644 dll/win32/shell32/CMakeLists.txt diff --git a/dll/win32/shell32/CMakeLists.txt b/dll/win32/shell32/CMakeLists.txt new file mode 100644 index 00000000000..9bdd9f16463 --- /dev/null +++ b/dll/win32/shell32/CMakeLists.txt @@ -0,0 +1,106 @@ + +remove_definitions(-D_WIN32_WINNT=0x502) +add_definitions(-D_WIN32_WINNT=0x600) + +add_definitions( + -D_SHELL32_ + -DCOM_NO_WINDOWS_H + -D_WINE) + +include_directories( + ${REACTOS_SOURCE_DIR}/include/reactos/wine + ${REACTOS_SOURCE_DIR}/lib/recyclebin + ${REACTOS_SOURCE_DIR}) + +generate_idl_iids(shobjidl_local.idl) + +spec2def(shell32.dll shell32.spec) + +list(APPEND SOURCE + authors.c + autocomplete.c + brsfolder.c + changenotify.c + classes.c + clipboard.c + control.c + dataobject.c + dde.c + debughlp.c + desktop.c + dialogs.c + dragdrophelper.c + enumidlist.c + extracticon.c + folders.c + iconcache.c + pidl.c + regsvr.c + shell32_main.c + shellitem.c + shelllink.c + shellole.c + shellord.c + shellpath.c + shellreg.c + shellstring.c + shfldr_desktop.c + shfldr_fs.c + shfldr_mycomp.c + shfldr_mydocuments.c + shfldr_printers.c + shfldr_admintools.c + shfldr_netplaces.c + shfldr_fonts.c + shfldr_cpanel.c + shfldr_recyclebin.c + shlexec.c + shlfileop.c + shlfolder.c + shlfsbind.c + shlmenu.c + shlview.c + shpolicy.c + shv_def_cmenu.c + startmenu.c + stubs.c + ros-systray.c + fprop.c + drive.c + she_ocmenu.c + shv_item_new.c + folder_options.c + shell32.rc + ${CMAKE_CURRENT_BINARY_DIR}/shobjidl_local_i.c + ${CMAKE_CURRENT_BINARY_DIR}/shell32_stubs.c + ${CMAKE_CURRENT_BINARY_DIR}/shell32.def) + +add_pch(shell32 ${CMAKE_CURRENT_SOURCE_DIR}/precomp.h ${SOURCE}) + +add_library(shell32 SHARED ${CMAKE_CURRENT_BINARY_DIR}/shell32_precomp.h.gch ${SOURCE}) + +set_module_type(shell32 win32dll) + +target_link_libraries(shell32 + wine + uuid + recyclebin) + +add_importlibs(shell32 + advapi32 + gdi32 + user32 + comctl32 + comdlg32 + shlwapi + ole32 + version + devmgr + winspool + winmm + kernel32 + msvcrt + ntdll) + +add_cd_file(TARGET shell32 DESTINATION reactos/system32 FOR all) +add_importlib_target(shell32.spec)