mirror of
https://github.com/reactos/reactos.git
synced 2024-10-04 00:13:57 +00:00
edd5a38091
* Remove from build while it hangs VS2013. [EXPLORER-NEW] * Hack it to work on Windows 7, even if an existing explorer is already running. * Move start menu popup to its own function, for easier debugging. * Maybe-fix a drawing issue if no theme is selected. [RSHELL] * Added wrapper for CMenuBand * The cmake script should not use a hardcoded path * Better name for the log file. CORE-7886 svn path=/branches/shell-experiments/; revision=62134
42 lines
795 B
CMake
42 lines
795 B
CMake
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
|
|
CMenuBand.cpp
|
|
CMenuDeskBar.cpp
|
|
CMenuSite.cpp
|
|
CStartMenu.cpp
|
|
misc.cpp
|
|
wraplog.cpp
|
|
${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
|
|
ole32
|
|
user32
|
|
msvcrt
|
|
kernel32
|
|
ntdll)
|
|
|
|
add_custom_command(TARGET rshell POST_BUILD
|
|
COMMAND "${CMAKE_COMMAND}" -E copy
|
|
"$<TARGET_FILE:rshell>"
|
|
"$<TARGET_FILE_DIR:explorer_new>/$<TARGET_FILE_NAME:rshell>"
|
|
COMMENT "Copying to output directory")
|