reactos/dll/shellext/deskmon/CMakeLists.txt
Stanislav Motylkov 17154c94c1
[DESKMON] Implement GetMonitorDevInstID function
- Now our deskmon.cpl extension works on Windows XP and 2003
  and does open the monitor device properties correctly.
- Also "Properties" button should be disabled
  when no Device Instance ID found for the monitor.
2022-05-23 23:54:41 +03:00

20 lines
538 B
CMake

spec2def(deskmon.dll deskmon.spec)
list(APPEND SOURCE
deskmon.c
shxiface.c
precomp.h)
add_rc_deps(deskmon.rc ${CMAKE_CURRENT_SOURCE_DIR}/resources/monitor.ico)
add_library(deskmon MODULE
${SOURCE}
deskmon.rc
${CMAKE_CURRENT_BINARY_DIR}/deskmon.def)
set_module_type(deskmon win32dll UNICODE)
target_link_libraries(deskmon uuid)
add_importlibs(deskmon user32 gdi32 comctl32 ole32 setupapi msvcrt kernel32 ntdll)
add_pch(deskmon precomp.h SOURCE)
add_cd_file(TARGET deskmon DESTINATION reactos/system32 FOR all)