mirror of
https://github.com/reactos/reactos.git
synced 2024-10-05 17:06:29 +00:00
28bf05e265
* 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
26 lines
713 B
CMake
26 lines
713 B
CMake
|
|
PROJECT(SHELL)
|
|
|
|
list(APPEND SOURCE
|
|
filebrowser.c
|
|
filebrowser.rc)
|
|
|
|
add_executable(filebrowser ${SOURCE})
|
|
set_module_type(filebrowser win32gui UNICODE)
|
|
add_importlibs(filebrowser
|
|
shell32
|
|
msvcrt
|
|
kernel32)
|
|
|
|
add_custom_command(TARGET filebrowser POST_BUILD
|
|
COMMAND "${CMAKE_COMMAND}" -E copy
|
|
"$<TARGET_FILE:rshell>"
|
|
"$<TARGET_FILE_DIR:filebrowser>/$<TARGET_FILE_NAME:rshell>"
|
|
COMMENT "Copying $<TARGET_FILE_NAME:rshell> to output")
|
|
|
|
add_custom_command(TARGET filebrowser POST_BUILD
|
|
COMMAND "${CMAKE_COMMAND}" -E copy
|
|
"$<TARGET_FILE:browseui>"
|
|
"$<TARGET_FILE_DIR:filebrowser>/$<TARGET_FILE_NAME:browseui>"
|
|
COMMENT "Copying $<TARGET_FILE_NAME:browseui> to output")
|