875f361283eaae0cc8cb275cd242282a441b0255
[reactos.git] / base / shell / rshell / CMakeLists.txt
1 PROJECT(SHELL)
2
3 set_cpp(WITH_RUNTIME)
4
5 include_directories(${REACTOS_SOURCE_DIR}/lib/atl)
6
7 spec2def(rshell.dll rshell.spec ADD_IMPORTLIB)
8
9 list(APPEND SOURCE
10 CDesktopBrowser.cpp
11 CMenuBand.cpp
12 CMenuSite.cpp
13 CStartMenu.cpp
14 misc.cpp
15 ${CMAKE_CURRENT_BINARY_DIR}/rshell.def)
16
17 add_library(rshell SHARED ${SOURCE})
18
19 set_module_type(rshell win32dll UNICODE)
20
21 target_link_libraries(rshell
22 atlnew
23 uuid
24 wine)
25
26 add_importlibs(rshell
27 shlwapi
28 shell32
29 ole32
30 user32
31 msvcrt
32 kernel32
33 ntdll)
34
35 add_custom_command(TARGET rshell POST_BUILD
36 COMMAND "${CMAKE_COMMAND}" -E copy
37 "$<TARGET_FILE:rshell>"
38 "G:/reactos/vs12/reactos/base/shell/explorer-new/$<CONFIGURATION>/$<TARGET_FILE_NAME:rshell>"
39 COMMENT "Copying to output directory")