2010-10-10 22:58:42 +00:00
|
|
|
|
|
|
|
set_unicode()
|
|
|
|
|
|
|
|
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
|
|
|
|
|
|
|
|
spec2def(dxdiagn ${CMAKE_CURRENT_SOURCE_DIR}/dxdiagn.spec ${CMAKE_CURRENT_BINARY_DIR}/dxdiagn.def)
|
|
|
|
|
|
|
|
add_library(dxdiagn SHARED
|
|
|
|
container.c
|
|
|
|
dxdiag_main.c
|
|
|
|
provider.c
|
|
|
|
regsvr.c)
|
|
|
|
|
|
|
|
set_module_type(dxdiagn win32dll)
|
|
|
|
|
|
|
|
target_link_libraries(dxdiagn
|
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/dxdiagn.def
|
|
|
|
uuid
|
|
|
|
wine)
|
|
|
|
|
|
|
|
add_importlibs(dxdiagn
|
|
|
|
user32
|
|
|
|
advapi32
|
|
|
|
ole32
|
|
|
|
oleaut32
|
|
|
|
kernel32
|
|
|
|
ntdll)
|
|
|
|
|
|
|
|
add_dependencies(dxdiagn dxdiagn_def)
|
2010-10-22 19:40:56 +00:00
|
|
|
add_livecd_target(dxdiagn reactos/system32)
|