2011-05-16 13:12:07 +00:00
|
|
|
|
2013-10-01 17:46:41 +00:00
|
|
|
add_definitions(-D__WINESRC__)
|
2016-04-20 12:36:25 +00:00
|
|
|
include_directories(${REACTOS_SOURCE_DIR}/sdk/include/reactos/wine)
|
2011-05-16 13:12:07 +00:00
|
|
|
spec2def(dxdiagn.dll dxdiagn.spec)
|
2014-02-09 23:29:31 +00:00
|
|
|
add_idl_headers(dxdiagn_idlheader fil_data.idl)
|
2011-05-16 13:12:07 +00:00
|
|
|
|
2013-10-01 17:46:41 +00:00
|
|
|
list(APPEND SOURCE
|
2011-05-16 13:12:07 +00:00
|
|
|
container.c
|
|
|
|
dxdiag_main.c
|
|
|
|
provider.c
|
2018-03-08 12:40:32 +00:00
|
|
|
precomp.h)
|
2014-02-09 23:29:31 +00:00
|
|
|
|
2019-03-20 13:19:48 +00:00
|
|
|
add_library(dxdiagn MODULE
|
2014-02-09 23:29:31 +00:00
|
|
|
${SOURCE}
|
2014-01-20 11:32:43 +00:00
|
|
|
guid.c
|
2014-02-09 23:29:31 +00:00
|
|
|
dxdiagn.rc
|
2011-05-16 13:12:07 +00:00
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/dxdiagn.def)
|
|
|
|
|
2013-10-01 17:46:41 +00:00
|
|
|
set_module_type(dxdiagn win32dll)
|
|
|
|
target_link_libraries(dxdiagn strmiids dxguid uuid wine)
|
|
|
|
add_dependencies(dxdiagn dxdiagn_idlheader)
|
2015-11-24 10:59:31 +00:00
|
|
|
add_importlibs(dxdiagn d3d9 ddraw version ole32 oleaut32 psapi user32 dsound msvcrt kernel32 ntdll)
|
2018-03-08 12:40:32 +00:00
|
|
|
add_pch(dxdiagn precomp.h SOURCE)
|
2011-05-16 13:12:07 +00:00
|
|
|
add_cd_file(TARGET dxdiagn DESTINATION reactos/system32 FOR all)
|