[DXDIAGN] Sync with Wine Staging 1.7.55. CORE-10536
[reactos.git] / reactos / dll / directx / wine / dxdiagn / CMakeLists.txt
1
2 add_definitions(-D__WINESRC__)
3 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
4 spec2def(dxdiagn.dll dxdiagn.spec)
5 add_idl_headers(dxdiagn_idlheader fil_data.idl)
6
7 list(APPEND SOURCE
8 container.c
9 dxdiag_main.c
10 provider.c
11 dxdiag_private.h)
12
13 add_library(dxdiagn SHARED
14 ${SOURCE}
15 guid.c
16 dxdiagn.rc
17 ${CMAKE_CURRENT_BINARY_DIR}/dxdiagn.def)
18
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 dxdiag_private.h SOURCE)
24 add_cd_file(TARGET dxdiagn DESTINATION reactos/system32 FOR all)