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-12 16:48:36 +00:00
|
|
|
CStartMenu.cpp
|
2014-02-04 12:11:51 +00:00
|
|
|
misc.cpp
|
2014-02-12 16:54:58 +00:00
|
|
|
wraplog.cpp
|
2014-02-19 00:20:45 +00:00
|
|
|
logging/CMenuBandWrap.cpp
|
|
|
|
logging/CMenuDeskBarWrap.cpp
|
2014-02-19 12:19:50 +00:00
|
|
|
logging/CMenuSiteWrap.cpp
|
2014-02-04 12:11:51 +00:00
|
|
|
${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
|
|
|
|
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-02-12 16:48:36 +00:00
|
|
|
add_custom_command(TARGET rshell POST_BUILD
|
|
|
|
COMMAND "${CMAKE_COMMAND}" -E copy
|
|
|
|
"$<TARGET_FILE:rshell>"
|
2014-02-12 17:48:49 +00:00
|
|
|
"$<TARGET_FILE_DIR:explorer_new>/$<TARGET_FILE_NAME:rshell>"
|
2014-02-12 16:48:36 +00:00
|
|
|
COMMENT "Copying to output directory")
|