[CMAKE]
[reactos.git] / dll / directx / dxdiagn / CMakeLists.txt
1
2 set_unicode()
3
4 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
5
6 spec2def(dxdiagn ${CMAKE_CURRENT_SOURCE_DIR}/dxdiagn.spec ${CMAKE_CURRENT_BINARY_DIR}/dxdiagn.def)
7
8 add_library(dxdiagn SHARED
9 container.c
10 dxdiag_main.c
11 provider.c
12 regsvr.c)
13
14 set_module_type(dxdiagn win32dll)
15
16 target_link_libraries(dxdiagn
17 ${CMAKE_CURRENT_BINARY_DIR}/dxdiagn.def
18 uuid
19 wine)
20
21 add_importlibs(dxdiagn
22 user32
23 advapi32
24 ole32
25 oleaut32
26 kernel32
27 ntdll)
28
29 add_dependencies(dxdiagn dxdiagn_def)
30 add_cab_target(dxdiagn 1)