182b0045b33723f1110bb1a022a92f5e3da6e463
[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
6 list(APPEND SOURCE
7 container.c
8 dxdiag_main.c
9 provider.c
10 ${CMAKE_CURRENT_BINARY_DIR}/dxdiagn.def)
11
12 add_idl_headers(dxdiagn_idlheader fil_data.idl)
13 add_library(dxdiagn SHARED ${SOURCE} dxdiagn.rc)
14 set_module_type(dxdiagn win32dll)
15 target_link_libraries(dxdiagn strmiids dxguid uuid wine)
16 add_dependencies(dxdiagn dxdiagn_idlheader)
17 add_importlibs(dxdiagn d3d9 ddraw version ole32 oleaut32 psapi user32 msvcrt kernel32 ntdll)
18 add_pch(dxdiagn dxdiag_private.h)
19 add_cd_file(TARGET dxdiagn DESTINATION reactos/system32 FOR all)