[CMAKE]
[reactos.git] / dll / shellext / deskmon / CMakeLists.txt
1
2 set_unicode()
3 set_rc_compiler()
4
5 spec2def(deskmon.dll deskmon.spec)
6
7 list(APPEND SOURCE
8 deskmon.c
9 shxiface.c
10 deskmon.rc
11 ${CMAKE_CURRENT_BINARY_DIR}/deskmon.def)
12
13 add_library(deskmon SHARED ${CMAKE_CURRENT_BINARY_DIR}/deskmon_precomp.h.gch ${SOURCE})
14
15 set_module_type(deskmon win32dll)
16
17 target_link_libraries(deskmon uuid)
18
19 add_importlibs(deskmon
20 user32
21 gdi32
22 comctl32
23 ole32
24 msvcrt
25 kernel32
26 ntdll)
27
28 add_pch(deskmon ${CMAKE_CURRENT_SOURCE_DIR}/precomp.h ${SOURCE})
29
30 add_cd_file(TARGET deskmon DESTINATION reactos/system32 FOR all)