3 add_subdirectory(shelldesktop)
4 add_subdirectory(shellmenu)
7 spec2def(shell32.dll shell32.spec ADD_IMPORTLIB)
10 # HACK: this should be enabled globally!
11 add_compile_flags_language("-std=c++11" "CXX")
14 remove_definitions(-D_WIN32_WINNT=0x502)
15 add_definitions(-D_WIN32_WINNT=0x600)
22 ${REACTOS_SOURCE_DIR}/sdk/lib/recyclebin
23 ${REACTOS_SOURCE_DIR}/sdk/lib/atl
24 ${REACTOS_SOURCE_DIR})
28 CQueryAssociations.cpp
33 dialogs/folder_options.cpp
34 dialogs/filedefext.cpp
36 dialogs/recycler_prop.cpp
45 folders/CDesktopFolder.cpp
47 folders/CDrivesFolder.cpp
48 folders/CMyDocsFolder.cpp
49 folders/CPrinterFolder.cpp
50 folders/CAdminToolsFolder.cpp
51 folders/CNetFolder.cpp
52 folders/CFontsFolder.cpp
53 folders/CControlPanelFolder.cpp
54 folders/CRecycleBin.cpp
55 droptargets/CexeDropHandler.cpp
64 CDefaultContextMenu.cpp
73 add_library(shell32 SHARED
91 ${CMAKE_CURRENT_BINARY_DIR}/shell32_stubs.c
92 ${CMAKE_CURRENT_BINARY_DIR}/shell32.def)
95 add_typelib(shell32_shldisp.idl)
96 set_source_files_properties(shell32.rc PROPERTIES OBJECT_DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/shell32_shldisp.tlb)
98 set_module_type(shell32 win32dll UNICODE)
99 target_link_libraries(shell32 shellmenu shelldesktop atlnew wine uuid recyclebin)
100 add_delay_importlibs(shell32 uxtheme ole32 oleaut32 userenv version fmifs)
101 add_importlibs(shell32 advapi32 browseui gdi32 user32 powrprof comctl32 comdlg32 shdocvw shlwapi devmgr winspool winmm mpr msvcrt kernel32 ntdll)
102 add_pch(shell32 precomp.h SOURCE)
103 add_cd_file(TARGET shell32 DESTINATION reactos/system32 FOR all)