mirror of
https://github.com/reactos/reactos.git
synced 2024-11-18 21:13:52 +00:00
2351bdda50
* Add a shell DDE skeleton, based on shell32's DDE stubs. svn path=/branches/shell-experiments/; revision=63934
61 lines
1.4 KiB
CMake
61 lines
1.4 KiB
CMake
PROJECT(SHELL)
|
|
|
|
set_cpp(WITH_RUNTIME)
|
|
|
|
include_directories(${REACTOS_SOURCE_DIR}/lib/atl)
|
|
|
|
spec2def(rshell.dll rshell.spec ADD_IMPORTLIB)
|
|
|
|
list(APPEND SOURCE
|
|
CDesktopBrowser.cpp
|
|
CMenuBand.cpp
|
|
CMenuDeskBar.cpp
|
|
CMenuFocusManager.cpp
|
|
CMenuSite.cpp
|
|
CMenuToolbars.cpp
|
|
CMergedFolder.cpp
|
|
CStartMenu.cpp
|
|
misc.cpp
|
|
ShellDDE.cpp
|
|
${CMAKE_CURRENT_BINARY_DIR}/rshell.def)
|
|
|
|
add_library(rshell SHARED ${SOURCE})
|
|
|
|
set_module_type(rshell win32dll UNICODE)
|
|
|
|
target_link_libraries(rshell
|
|
atlnew
|
|
uuid
|
|
wine)
|
|
|
|
add_importlibs(rshell
|
|
uxtheme
|
|
shlwapi
|
|
shell32
|
|
comctl32
|
|
gdi32
|
|
ole32
|
|
user32
|
|
msvcrt
|
|
kernel32
|
|
ntdll)
|
|
|
|
add_cd_file(TARGET rshell DESTINATION reactos FOR all)
|
|
|
|
add_custom_command(TARGET rshell POST_BUILD
|
|
COMMAND "${CMAKE_COMMAND}" -E copy
|
|
"$<TARGET_FILE:rshell>"
|
|
"$<TARGET_FILE_DIR:explorer>/$<TARGET_FILE_NAME:rshell>"
|
|
COMMENT "Copying to output directory")
|
|
|
|
add_custom_command(TARGET rshell POST_BUILD
|
|
COMMAND "${CMAKE_COMMAND}" -E copy
|
|
"$<TARGET_FILE:rshell>"
|
|
"$<TARGET_FILE_DIR:filebrowser>/$<TARGET_FILE_NAME:rshell>"
|
|
COMMENT "Copying to output directory")
|
|
|
|
add_custom_command(TARGET rshell POST_BUILD
|
|
COMMAND "${CMAKE_COMMAND}" -E copy
|
|
"$<TARGET_FILE:rshell>"
|
|
"$<TARGET_FILE_DIR:filebrowser>/$<TARGET_FILE_NAME:rshell>"
|
|
COMMENT "Copying to output directory")
|