reactos/base/applications/dxdiag/CMakeLists.txt
Stanislav Motylkov c1195f5300 [SYSDM][DXDIAG][SYSTEMINFO] Include only one user-mode DMI library (#1054)
Include only one user-mode DMI library. Addendum to baf2c0c.
2018-11-21 22:07:54 +01:00

28 lines
693 B
CMake

include_directories(
${REACTOS_SOURCE_DIR}/sdk/lib/udmihelp)
list(APPEND SOURCE
system.c
display.c
sound.c
music.c
input.c
network.c
help.c
dxdiag.c
ddtest.c
d3dtest.c
d3dtest7.c
d3dtest8.c
d3dtest9.c
precomp.h)
add_rc_deps(dxdiag.rc ${CMAKE_CURRENT_SOURCE_DIR}/res/dxdiag.ico)
add_executable(dxdiag ${SOURCE} dxdiag.rc)
set_module_type(dxdiag win32gui UNICODE)
target_link_libraries(dxdiag dxguid udmihelp)
add_importlibs(dxdiag user32 advapi32 comctl32 dinput8 setupapi dsound ddraw version gdi32 winmm d3d9 msvcrt kernel32 ntdll)
add_pch(dxdiag precomp.h SOURCE)
add_cd_file(TARGET dxdiag DESTINATION reactos/system32 FOR all)