2014-03-01 11:46:04 +00:00
|
|
|
PROJECT(SHELL)
|
2011-05-16 13:12:07 +00:00
|
|
|
|
2017-04-09 13:51:39 +00:00
|
|
|
add_subdirectory(shellbars)
|
2019-07-19 02:15:01 +00:00
|
|
|
add_subdirectory(shellfind)
|
2017-04-09 13:51:39 +00:00
|
|
|
|
2013-01-20 08:57:34 +00:00
|
|
|
spec2def(browseui.dll browseui.spec ADD_IMPORTLIB)
|
2011-05-16 13:12:07 +00:00
|
|
|
|
|
|
|
list(APPEND SOURCE
|
2017-12-17 14:29:30 +00:00
|
|
|
ACLCustomMRU.cpp
|
|
|
|
ACLCustomMRU.h
|
2015-12-09 19:36:35 +00:00
|
|
|
aclistisf.cpp
|
2011-05-16 13:12:07 +00:00
|
|
|
aclmulti.cpp
|
|
|
|
addressband.cpp
|
|
|
|
addresseditbox.cpp
|
|
|
|
bandproxy.cpp
|
|
|
|
basebarsite.cpp
|
|
|
|
brandband.cpp
|
|
|
|
browseui.cpp
|
|
|
|
browseuiord.cpp
|
2015-02-26 18:44:34 +00:00
|
|
|
CAutoComplete.cpp
|
2020-10-27 17:25:36 +00:00
|
|
|
CShellTaskScheduler.cpp
|
|
|
|
CShellTaskScheduler.h
|
2018-12-15 15:23:22 +00:00
|
|
|
CTaskbarList.cpp
|
|
|
|
CTaskbarList.h
|
2011-05-16 13:12:07 +00:00
|
|
|
commonbrowser.cpp
|
2014-09-26 14:47:07 +00:00
|
|
|
desktopipc.cpp
|
2014-12-03 16:11:46 +00:00
|
|
|
explorerband.cpp
|
2011-05-16 13:12:07 +00:00
|
|
|
globalfoldersettings.cpp
|
|
|
|
internettoolbar.cpp
|
2014-09-08 01:59:18 +00:00
|
|
|
parsecmdline.cpp
|
2011-05-16 13:12:07 +00:00
|
|
|
regtreeoptions.cpp
|
|
|
|
shellbrowser.cpp
|
|
|
|
toolsband.cpp
|
|
|
|
travellog.cpp
|
|
|
|
utility.cpp
|
2020-10-21 14:46:09 +00:00
|
|
|
CProgressDialog.cpp
|
|
|
|
CUserAssist.cpp
|
|
|
|
CUserAssist.h)
|
2020-05-09 21:37:40 +00:00
|
|
|
|
|
|
|
list(APPEND PCH_SKIP_SOURCE
|
|
|
|
dllinstall.c)
|
2011-05-16 13:12:07 +00:00
|
|
|
|
2019-03-20 13:19:48 +00:00
|
|
|
add_library(browseui MODULE
|
2012-03-12 12:39:51 +00:00
|
|
|
${SOURCE}
|
2020-05-09 21:37:40 +00:00
|
|
|
${PCH_SKIP_SOURCE}
|
2014-02-10 12:19:56 +00:00
|
|
|
browseui.rc
|
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/browseui.def)
|
2012-03-12 12:39:51 +00:00
|
|
|
|
2011-09-03 19:11:44 +00:00
|
|
|
set_module_type(browseui win32dll UNICODE)
|
2020-09-18 09:08:58 +00:00
|
|
|
target_link_libraries(browseui shellbars shellfind uuid wine cpprt atl_classes)
|
2019-04-23 05:47:02 +00:00
|
|
|
add_importlibs(browseui uxtheme shlwapi shell32 comctl32 gdi32 ole32 oleaut32 user32 advapi32 mpr msvcrt kernel32 ntdll)
|
2020-05-09 21:37:40 +00:00
|
|
|
add_pch(browseui precomp.h "${PCH_SKIP_SOURCE}")
|
2011-05-16 13:12:07 +00:00
|
|
|
add_cd_file(TARGET browseui DESTINATION reactos/system32 FOR all)
|
2014-03-07 22:28:55 +00:00
|
|
|
|
2014-05-31 16:19:36 +00:00
|
|
|
if(NOT MSVC)
|
2020-04-16 12:59:38 +00:00
|
|
|
target_compile_options(browseui PRIVATE "-Wno-unused-but-set-variable")
|
2014-08-06 23:10:17 +00:00
|
|
|
# Binutils linker bug
|
|
|
|
if(LTCG)
|
|
|
|
add_target_link_flags(browseui "-Wl,--allow-multiple-definition")
|
|
|
|
endif()
|
2014-05-31 16:19:36 +00:00
|
|
|
endif()
|
2014-06-23 23:28:38 +00:00
|
|
|
|
2020-09-18 07:34:18 +00:00
|
|
|
add_custom_command(TARGET browseui POST_BUILD
|
|
|
|
COMMAND "${CMAKE_COMMAND}" -E copy
|
2014-03-07 22:28:55 +00:00
|
|
|
"$<TARGET_FILE:browseui>"
|
2020-09-18 07:34:18 +00:00
|
|
|
"$<TARGET_FILE_DIR:filebrowser>/$<TARGET_FILE_NAME:browseui>"
|
2014-03-07 22:28:55 +00:00
|
|
|
COMMENT "Copying to output directory")
|