mirror of
https://github.com/reactos/reactos.git
synced 2024-09-02 00:28:00 +00:00
![David Quintana](/assets/img/avatar_default.png)
* Rename the output to explorer_old [EXPLORER-NEW] * Rename the output to explorer * Launch a browseui window when explorer is run with an existing shell process. Shell-experiments will now be running the new shell by default. This allows me to test the shell classes under more accurate conditions, so I was using it locally for a while. I decided to commit because of two reasons: 1. It was making me temporarily revert some changes done to some files when I wanted to commit, and 2. It lets everyone see the results of the shell-experiments project without having to mess with the task manager. Keep in mind that, as the branch name implies, it STILL is an experiment. CORE-7586 svn path=/branches/shell-experiments/; revision=62449
74 lines
1.5 KiB
CMake
74 lines
1.5 KiB
CMake
PROJECT(SHELL)
|
|
|
|
set_cpp(WITH_RUNTIME)
|
|
|
|
remove_definitions(-D_WIN32_WINNT=0x502)
|
|
add_definitions(-D_WIN32_WINNT=0x600)
|
|
|
|
include_directories(${REACTOS_SOURCE_DIR}/lib/atl)
|
|
|
|
spec2def(browseui.dll browseui.spec ADD_IMPORTLIB)
|
|
|
|
list(APPEND SOURCE
|
|
aclmulti.cpp
|
|
addressband.cpp
|
|
addresseditbox.cpp
|
|
bandproxy.cpp
|
|
bandsite.cpp
|
|
bandsitemenu.cpp
|
|
basebar.cpp
|
|
basebarsite.cpp
|
|
brandband.cpp
|
|
browseui.cpp
|
|
browseuiord.cpp
|
|
commonbrowser.cpp
|
|
globalfoldersettings.cpp
|
|
internettoolbar.cpp
|
|
regtreeoptions.cpp
|
|
shellbrowser.cpp
|
|
toolsband.cpp
|
|
travellog.cpp
|
|
utility.cpp
|
|
precomp.h)
|
|
|
|
add_library(browseui SHARED
|
|
${SOURCE}
|
|
dllinstall.c
|
|
browseui.rc
|
|
${CMAKE_CURRENT_BINARY_DIR}/browseui.def)
|
|
|
|
set_module_type(browseui win32dll UNICODE)
|
|
|
|
target_link_libraries(browseui
|
|
atlnew
|
|
uuid
|
|
wine)
|
|
|
|
add_importlibs(browseui
|
|
shlwapi
|
|
shell32
|
|
comctl32
|
|
gdi32
|
|
ole32
|
|
oleaut32
|
|
user32
|
|
advapi32
|
|
msvcrt
|
|
kernel32
|
|
ntdll)
|
|
|
|
add_pch(browseui precomp.h SOURCE)
|
|
add_cd_file(TARGET browseui DESTINATION reactos/system32 FOR all)
|
|
|
|
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")
|
|
|
|
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")
|