mirror of
https://github.com/reactos/reactos.git
synced 2025-02-24 17:34:57 +00:00

* Move dependency copying to the target script, so that the target properly depends on the source and not the other way around. * Make all the custom constructors WINAPI. * Add all the custom constructors to the spec file. CORE-7596 svn path=/branches/shell-experiments/; revision=62365
45 lines
838 B
CMake
45 lines
838 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
|
|
CMenuFocusManager.cpp
|
|
CMenuSite.cpp
|
|
CMenuToolbars.cpp
|
|
CMergedFolder.cpp
|
|
CStartMenu.cpp
|
|
misc.cpp
|
|
wraplog.cpp
|
|
logging/CMenuBandWrap.cpp
|
|
logging/CMenuDeskBarWrap.cpp
|
|
logging/CMenuSiteWrap.cpp
|
|
logging/CStartMenuSiteWrap.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
|
|
gdi32
|
|
ole32
|
|
user32
|
|
msvcrt
|
|
kernel32
|
|
ntdll)
|
|
|
|
add_cd_file(TARGET rshell DESTINATION reactos FOR all)
|