mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 10:04:49 +00:00
c1195f5300
Include only one user-mode DMI library. Addendum to baf2c0c
.
27 lines
693 B
CMake
27 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)
|