3 add_subdirectory(shelldesktop)
4 add_subdirectory(shellmenu)
5 add_subdirectory(shellrecyclebin)
8 spec2def(shell32.dll shell32.spec ADD_IMPORTLIB)
11 # HACK: this should be enabled globally!
12 add_compile_flags_language("-std=c++11" "CXX")
15 remove_definitions(-D_WIN32_WINNT=0x502)
16 add_definitions(-D_WIN32_WINNT=0x600)
24 ${REACTOS_SOURCE_DIR}/sdk/lib/atl
25 ${REACTOS_SOURCE_DIR})
29 CQueryAssociations.cpp
34 dialogs/folder_options.cpp
35 dialogs/filedefext.cpp
37 dialogs/recycler_prop.cpp
47 folders/CDesktopFolder.cpp
49 folders/CDrivesFolder.cpp
50 folders/CMyDocsFolder.cpp
51 folders/CPrinterFolder.cpp
52 folders/CAdminToolsFolder.cpp
53 folders/CNetFolder.cpp
54 folders/CFontsFolder.cpp
55 folders/CControlPanelFolder.cpp
56 folders/CRecycleBin.cpp
57 folders/CRegFolder.cpp
58 droptargets/CexeDropHandler.cpp
59 droptargets/CFSDropTarget.cpp
68 CDefaultContextMenu.cpp
77 file(GLOB_RECURSE shell32_rc_deps res/*.*)
78 list(APPEND shell32_rc_deps ${CMAKE_CURRENT_BINARY_DIR}/shell32_shldisp.tlb)
79 add_rc_deps(shell32.rc ${shell32_rc_deps})
81 add_library(shell32 SHARED
99 ${CMAKE_CURRENT_BINARY_DIR}/shell32_stubs.c
100 ${CMAKE_CURRENT_BINARY_DIR}/shell32.def)
103 add_typelib(shell32_shldisp.idl)
104 set_source_files_properties(shell32.rc PROPERTIES OBJECT_DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/shell32_shldisp.tlb)
106 set_module_type(shell32 win32dll UNICODE)
107 target_link_libraries(shell32 shellmenu shelldesktop atlnew wine uuid recyclebin)
108 add_delay_importlibs(shell32 uxtheme ole32 oleaut32 userenv version fmifs)
109 add_importlibs(shell32 advapi32 browseui gdi32 user32 powrprof comctl32 comdlg32 shdocvw shlwapi devmgr winspool winmm mpr msvcrt kernel32 ntdll)
110 add_dependencies(shell32 stdole2) # shell32_shldisp.tlb needs stdole2.tlb
111 add_pch(shell32 precomp.h SOURCE)
112 add_cd_file(TARGET shell32 DESTINATION reactos/system32 FOR all)