reactos/base/shell/explorer-new/CMakeLists.txt
David Quintana 28bf05e265 [RSHELL]
* 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
2014-03-01 11:46:04 +00:00

48 lines
942 B
CMake

PROJECT(SHELL)
add_definitions(-DWIN32)
list(APPEND SOURCE
desktop.c
dragdrop.c
explorer.c
rshell.c
settings.c
startmnu.c
startup.c
taskband.c
taskswnd.c
tbsite.c
trayntfy.c
trayprop.c
traywnd.c
precomp.h)
add_executable(explorer_new ${SOURCE} explorer.rc)
target_link_libraries(explorer_new uuid)
set_module_type(explorer_new win32gui UNICODE)
add_importlibs(explorer_new
advapi32
gdi32
user32
comctl32
ole32
oleaut32
shell32
shlwapi
shdocvw
version
uxtheme
msvcrt
kernel32
ntdll)
add_pch(explorer_new precomp.h SOURCE)
add_cd_file(TARGET explorer_new DESTINATION reactos FOR all)
add_custom_command(TARGET explorer_new POST_BUILD
COMMAND "${CMAKE_COMMAND}" -E copy
"$<TARGET_FILE:rshell>"
"$<TARGET_FILE_DIR:explorer_new>/$<TARGET_FILE_NAME:rshell>"
COMMENT "Copying $<TARGET_FILE_NAME:rshell> to output")