2 add_definitions(-D__WINESRC__)
3 include_directories(${REACTOS_SOURCE_DIR}/sdk/include/reactos/wine)
4 spec2def(dxdiagn.dll dxdiagn.spec)
5 add_idl_headers(dxdiagn_idlheader fil_data.idl)
13 add_library(dxdiagn MODULE
17 ${CMAKE_CURRENT_BINARY_DIR}/dxdiagn.def)
19 set_module_type(dxdiagn win32dll)
20 target_link_libraries(dxdiagn strmiids dxguid uuid wine)
21 add_dependencies(dxdiagn dxdiagn_idlheader)
22 add_importlibs(dxdiagn d3d9 ddraw version ole32 oleaut32 psapi user32 dsound msvcrt kernel32 ntdll)
23 add_pch(dxdiagn precomp.h SOURCE)
24 add_cd_file(TARGET dxdiagn DESTINATION reactos/system32 FOR all)