2 add_definitions(-D__WINESRC__)
3 include_directories(${REACTOS_SOURCE_DIR}/sdk/include/reactos/wine)
4 spec2def(dinput.dll dinput.spec ADD_IMPORTLIB)
19 add_library(dinput SHARED
23 ${CMAKE_CURRENT_BINARY_DIR}/dinput.def)
25 add_library(dinput_data_formats data_formats.c)
26 add_dependencies(dinput_data_formats psdk)
27 set_module_type(dinput win32dll)
28 target_link_libraries(dinput dxguid uuid wine)
29 add_importlibs(dinput comctl32 ole32 user32 advapi32 msvcrt kernel32 ntdll)
30 add_pch(dinput precomp.h SOURCE)
31 add_cd_file(TARGET dinput DESTINATION reactos/system32 FOR all)