2014-02-04 12:11:51 +00:00
|
|
|
PROJECT(SHELL)
|
|
|
|
|
|
|
|
spec2def(rshell.dll rshell.spec ADD_IMPORTLIB)
|
|
|
|
|
|
|
|
list(APPEND SOURCE
|
2017-10-16 20:56:34 +00:00
|
|
|
CQuickLaunchBand.cpp
|
2014-02-04 12:11:51 +00:00
|
|
|
misc.cpp
|
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/rshell.def)
|
|
|
|
|
2019-03-20 13:19:48 +00:00
|
|
|
add_library(rshell MODULE ${SOURCE})
|
2014-02-04 12:11:51 +00:00
|
|
|
|
|
|
|
set_module_type(rshell win32dll UNICODE)
|
|
|
|
|
|
|
|
target_link_libraries(rshell
|
2017-04-09 15:10:08 +00:00
|
|
|
shellbars
|
2015-08-19 09:05:54 +00:00
|
|
|
shellmenu
|
2015-08-19 13:51:20 +00:00
|
|
|
shelldesktop
|
2014-02-04 12:11:51 +00:00
|
|
|
uuid
|
2020-09-18 07:34:18 +00:00
|
|
|
wine
|
2020-09-18 09:08:58 +00:00
|
|
|
cpprt
|
|
|
|
atl_classes)
|
2014-02-04 12:11:51 +00:00
|
|
|
|
|
|
|
add_importlibs(rshell
|
2015-08-19 13:51:20 +00:00
|
|
|
browseui
|
2014-06-19 23:14:39 +00:00
|
|
|
uxtheme
|
2014-02-04 12:11:51 +00:00
|
|
|
shlwapi
|
2014-12-20 16:04:45 +00:00
|
|
|
advapi32
|
2014-02-04 12:11:51 +00:00
|
|
|
shell32
|
2014-06-28 15:38:25 +00:00
|
|
|
comctl32
|
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
|
|
|
|
2020-09-18 07:34:18 +00:00
|
|
|
add_custom_command(TARGET rshell POST_BUILD
|
|
|
|
COMMAND "${CMAKE_COMMAND}" -E copy
|
2014-03-03 11:14:04 +00:00
|
|
|
"$<TARGET_FILE:rshell>"
|
2020-09-18 07:34:18 +00:00
|
|
|
"$<TARGET_FILE_DIR:explorer>/$<TARGET_FILE_NAME:rshell>"
|
2014-03-07 22:39:49 +00:00
|
|
|
COMMENT "Copying to output directory")
|
|
|
|
|
2020-09-18 07:34:18 +00:00
|
|
|
add_custom_command(TARGET rshell POST_BUILD
|
|
|
|
COMMAND "${CMAKE_COMMAND}" -E copy
|
2014-03-07 22:39:49 +00:00
|
|
|
"$<TARGET_FILE:rshell>"
|
2020-09-18 07:34:18 +00:00
|
|
|
"$<TARGET_FILE_DIR:filebrowser>/$<TARGET_FILE_NAME:rshell>"
|
2014-03-03 11:14:04 +00:00
|
|
|
COMMENT "Copying to output directory")
|