2 add_definitions(-D__WINESRC__)
3 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
4 spec2def(dxdiagn.dll dxdiagn.spec)
11 ${CMAKE_CURRENT_BINARY_DIR}/dxdiagn.def)
13 add_idl_headers(dxdiagn_idlheader fil_data.idl)
14 add_library(dxdiagn SHARED ${SOURCE} dxdiagn.rc)
15 set_module_type(dxdiagn win32dll)
16 target_link_libraries(dxdiagn strmiids dxguid uuid wine)
17 add_dependencies(dxdiagn dxdiagn_idlheader)
18 add_importlibs(dxdiagn d3d9 ddraw version ole32 oleaut32 psapi user32 msvcrt kernel32 ntdll)
19 add_pch(dxdiagn dxdiag_private.h)
20 add_cd_file(TARGET dxdiagn DESTINATION reactos/system32 FOR all)