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-06-22 14:44:56 +00:00
|
|
|
set_cpp(WITH_RUNTIME)
|
2011-05-16 13:12:07 +00:00
|
|
|
|
2017-12-17 14:29:30 +00:00
|
|
|
add_definitions(
|
|
|
|
-D_ATL_NO_EXCEPTIONS)
|
|
|
|
|
2016-04-20 12:36:25 +00:00
|
|
|
include_directories(${REACTOS_SOURCE_DIR}/sdk/lib/atl)
|
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
|
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
|
2015-02-09 22:29:23 +00:00
|
|
|
CProgressDialog.cpp
|
2014-02-10 12:19:56 +00:00
|
|
|
precomp.h)
|
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}
|
2014-02-10 12:19:56 +00:00
|
|
|
dllinstall.c
|
|
|
|
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)
|
2019-07-19 02:15:01 +00:00
|
|
|
target_link_libraries(browseui shellbars shellfind uuid wine)
|
2019-04-23 05:47:02 +00:00
|
|
|
add_importlibs(browseui uxtheme shlwapi shell32 comctl32 gdi32 ole32 oleaut32 user32 advapi32 mpr msvcrt kernel32 ntdll)
|
2014-02-10 12:19:56 +00:00
|
|
|
add_pch(browseui precomp.h 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)
|
2017-10-27 21:18:01 +00:00
|
|
|
add_target_compile_flags(browseui "-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
|
|
|
|
2014-03-07 22:28:55 +00:00
|
|
|
add_custom_command(TARGET browseui POST_BUILD
|
|
|
|
COMMAND "${CMAKE_COMMAND}" -E copy
|
|
|
|
"$<TARGET_FILE:browseui>"
|
|
|
|
"$<TARGET_FILE_DIR:filebrowser>/$<TARGET_FILE_NAME:browseui>"
|
|
|
|
COMMENT "Copying to output directory")
|