2014-02-04 12:11:51 +00:00
|
|
|
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
|
2014-02-12 16:48:36 +00:00
|
|
|
CMenuBand.cpp
|
2014-02-12 17:48:49 +00:00
|
|
|
CMenuDeskBar.cpp
|
2014-02-24 11:59:34 +00:00
|
|
|
CMenuFocusManager.cpp
|
2014-02-12 16:35:29 +00:00
|
|
|
CMenuSite.cpp
|
2014-02-24 11:59:34 +00:00
|
|
|
CMenuToolbars.cpp
|
2014-02-25 18:23:02 +00:00
|
|
|
CMergedFolder.cpp
|
2014-02-12 16:48:36 +00:00
|
|
|
CStartMenu.cpp
|
2014-02-04 12:11:51 +00:00
|
|
|
misc.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
|
2014-06-19 23:14:39 +00:00
|
|
|
uxtheme
|
2014-02-04 12:11:51 +00:00
|
|
|
shlwapi
|
|
|
|
shell32
|
2014-02-12 19:46:24 +00:00
|
|
|
gdi32
|
2014-02-04 12:11:51 +00:00
|
|
|
ole32
|
|
|
|
user32
|
|
|
|
msvcrt
|
|
|
|
kernel32
|
|
|
|
ntdll)
|
2014-02-12 16:48:36 +00:00
|
|
|
|
2014-02-13 23:49:19 +00:00
|
|
|
add_cd_file(TARGET rshell DESTINATION reactos FOR all)
|
2014-03-03 11:14:04 +00:00
|
|
|
|
|
|
|
add_custom_command(TARGET rshell POST_BUILD
|
|
|
|
COMMAND "${CMAKE_COMMAND}" -E copy
|
|
|
|
"$<TARGET_FILE:rshell>"
|
2014-03-07 22:39:49 +00:00
|
|
|
"$<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>"
|
2014-03-03 11:14:04 +00:00
|
|
|
COMMENT "Copying to output directory")
|
2014-03-07 22:28:55 +00:00
|
|
|
|
|
|
|
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")
|