xref: /reactos/dll/shellext/deskmon/CMakeLists.txt (revision 40462c92)
1
2spec2def(deskmon.dll deskmon.spec)
3
4list(APPEND SOURCE
5    deskmon.c
6    shxiface.c
7    precomp.h)
8
9add_rc_deps(deskmon.rc ${CMAKE_CURRENT_SOURCE_DIR}/resources/monitor.ico)
10
11add_library(deskmon MODULE
12    ${SOURCE}
13    deskmon.rc
14    ${CMAKE_CURRENT_BINARY_DIR}/deskmon.def)
15
16set_module_type(deskmon win32dll UNICODE)
17target_link_libraries(deskmon uuid)
18add_importlibs(deskmon user32 gdi32 comctl32 ole32 msvcrt kernel32 ntdll)
19add_pch(deskmon precomp.h SOURCE)
20add_cd_file(TARGET deskmon DESTINATION reactos/system32 FOR all)
21