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