2011-05-31 16:55:10 +00:00
|
|
|
set_cpp()
|
2011-05-16 13:12:07 +00:00
|
|
|
|
|
|
|
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
|
2011-05-31 16:55:10 +00:00
|
|
|
${REACTOS_SOURCE_DIR}/lib/atl
|
2011-05-16 13:12:07 +00:00
|
|
|
${REACTOS_SOURCE_DIR})
|
|
|
|
|
2011-06-26 21:29:55 +00:00
|
|
|
spec2def(shell32.dll shell32.spec)
|
2011-05-16 13:12:07 +00:00
|
|
|
|
|
|
|
list(APPEND SOURCE
|
2011-05-31 16:55:10 +00:00
|
|
|
authors.cpp
|
|
|
|
autocomplete.cpp
|
|
|
|
brsfolder.cpp
|
|
|
|
changenotify.cpp
|
|
|
|
classes.cpp
|
|
|
|
clipboard.cpp
|
|
|
|
control.cpp
|
|
|
|
dataobject.cpp
|
|
|
|
dde.cpp
|
|
|
|
debughlp.cpp
|
|
|
|
desktop.cpp
|
|
|
|
dialogs.cpp
|
|
|
|
dragdrophelper.cpp
|
|
|
|
enumidlist.cpp
|
|
|
|
extracticon.cpp
|
|
|
|
folders.cpp
|
|
|
|
iconcache.cpp
|
|
|
|
pidl.cpp
|
|
|
|
shell32_main.cpp
|
|
|
|
shellitem.cpp
|
|
|
|
shelllink.cpp
|
|
|
|
shellole.cpp
|
|
|
|
shellord.cpp
|
|
|
|
shellpath.cpp
|
|
|
|
shellreg.cpp
|
|
|
|
shellstring.cpp
|
2011-12-18 15:47:41 +00:00
|
|
|
folders/desktop.cpp
|
|
|
|
folders/fs.cpp
|
|
|
|
folders/mycomp.cpp
|
|
|
|
folders/mydocuments.cpp
|
|
|
|
folders/printers.cpp
|
|
|
|
folders/admintools.cpp
|
|
|
|
folders/netplaces.cpp
|
|
|
|
folders/fonts.cpp
|
|
|
|
folders/cpanel.cpp
|
|
|
|
folders/recyclebin.cpp
|
2011-05-31 16:55:10 +00:00
|
|
|
shlexec.cpp
|
|
|
|
shlfileop.cpp
|
|
|
|
shlfolder.cpp
|
|
|
|
shlfsbind.cpp
|
|
|
|
shlmenu.cpp
|
|
|
|
shlview.cpp
|
|
|
|
shpolicy.cpp
|
|
|
|
stubs.cpp
|
2011-12-18 15:47:41 +00:00
|
|
|
systray.cpp
|
2011-05-31 16:55:10 +00:00
|
|
|
fprop.cpp
|
|
|
|
drive.cpp
|
2011-12-18 15:47:41 +00:00
|
|
|
defcontextmenu.cpp
|
|
|
|
openwithmenu.cpp
|
|
|
|
newmenu.cpp
|
|
|
|
startmenu.cpp
|
2011-05-31 16:55:10 +00:00
|
|
|
folder_options.cpp
|
2012-01-11 20:20:01 +00:00
|
|
|
filedefext.cpp
|
|
|
|
drvdefext.cpp
|
2011-05-16 13:12:07 +00:00
|
|
|
shell32.rc
|
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/shell32_stubs.c
|
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/shell32.def)
|
|
|
|
|
2011-06-02 12:18:22 +00:00
|
|
|
add_library(shell32 SHARED ${SOURCE})
|
2011-09-19 14:41:04 +00:00
|
|
|
allow_warnings(shell32)
|
2011-09-09 10:55:09 +00:00
|
|
|
set_module_type(shell32 win32dll UNICODE)
|
2011-05-26 22:04:22 +00:00
|
|
|
|
|
|
|
target_link_libraries(shell32
|
2011-05-31 16:55:10 +00:00
|
|
|
atlnew
|
2011-05-26 22:04:22 +00:00
|
|
|
wine
|
|
|
|
uuid
|
|
|
|
recyclebin)
|
|
|
|
|
2012-01-11 21:58:47 +00:00
|
|
|
add_delay_importlibs(shell32 ole32 version fmifs)
|
2011-05-16 13:12:07 +00:00
|
|
|
|
|
|
|
add_importlibs(shell32
|
|
|
|
advapi32
|
|
|
|
gdi32
|
|
|
|
user32
|
|
|
|
comctl32
|
|
|
|
comdlg32
|
2011-11-05 16:40:42 +00:00
|
|
|
shdocvw
|
2011-05-16 13:12:07 +00:00
|
|
|
shlwapi
|
|
|
|
devmgr
|
|
|
|
winspool
|
|
|
|
winmm
|
|
|
|
msvcrt
|
2011-08-14 20:34:13 +00:00
|
|
|
kernel32
|
2011-05-16 13:12:07 +00:00
|
|
|
ntdll)
|
2011-06-22 15:18:05 +00:00
|
|
|
|
2011-11-05 16:40:42 +00:00
|
|
|
add_dependencies(shdocvw shdocvw_v1)
|
|
|
|
|
2011-06-19 16:35:43 +00:00
|
|
|
add_pch(shell32 precomp.h)
|
2011-08-19 17:45:34 +00:00
|
|
|
|
2011-05-16 13:12:07 +00:00
|
|
|
add_cd_file(TARGET shell32 DESTINATION reactos/system32 FOR all)
|
|
|
|
add_importlib_target(shell32.spec)
|