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