1
2include_directories(
3    ${REACTOS_SOURCE_DIR}/sdk/lib/udmihelp)
4
5list(APPEND SOURCE
6    system.c
7    display.c
8    sound.c
9    music.c
10    input.c
11    network.c
12    help.c
13    dxdiag.c
14    ddtest.c
15    d3dtest.c
16    d3dtest7.c
17    d3dtest8.c
18    d3dtest9.c
19    precomp.h)
20
21add_rc_deps(dxdiag.rc ${CMAKE_CURRENT_SOURCE_DIR}/res/dxdiag.ico)
22add_executable(dxdiag ${SOURCE} dxdiag.rc)
23set_module_type(dxdiag win32gui UNICODE)
24target_link_libraries(dxdiag dxguid udmihelp)
25add_importlibs(dxdiag user32 advapi32 comctl32 dinput8 setupapi dsound ddraw version gdi32 winmm d3d9 msvcrt kernel32 ntdll)
26add_pch(dxdiag precomp.h SOURCE)
27add_cd_file(TARGET dxdiag DESTINATION reactos/system32 FOR all)
28