2 add_definitions(-D__WINESRC__)
3 include_directories(BEFORE ${REACTOS_SOURCE_DIR}/include/reactos/wine)
4 spec2def(dxgi.dll dxgi.spec ADD_IMPORTLIB)
17 add_library(dxgi SHARED
21 ${CMAKE_CURRENT_BINARY_DIR}/dxgi.def)
23 set_module_type(dxgi win32dll)
24 target_link_libraries(dxgi uuid dxgi_uuids wine)
25 add_importlibs(dxgi d3dwine user32 msvcrt kernel32 ntdll)
26 add_dependencies(dxgi wineheaders)
27 add_pch(dxgi dxgi_private.h SOURCE)
28 add_cd_file(TARGET dxgi DESTINATION reactos/system32 FOR all)