[AMSTREAM] We don't need to define WIDL_C_INLINE_WRAPPERS here anymore.
[reactos.git] / dll / directx / wine / dinput / CMakeLists.txt
1
2 add_definitions(-D__WINESRC__)
3 include_directories(${REACTOS_SOURCE_DIR}/sdk/include/reactos/wine)
4 spec2def(dinput.dll dinput.spec ADD_IMPORTLIB)
5
6 list(APPEND SOURCE
7 config.c
8 device.c
9 dinput_main.c
10 effect_linuxinput.c
11 joystick.c
12 joystick_linux.c
13 joystick_linuxinput.c
14 joystick_osx.c
15 keyboard.c
16 mouse.c
17 dinput_private.h)
18
19 add_library(dinput SHARED
20 ${SOURCE}
21 data_formats.c
22 dinput.rc
23 ${CMAKE_CURRENT_BINARY_DIR}/dinput.def)
24
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 dinput_private.h SOURCE)
31 add_cd_file(TARGET dinput DESTINATION reactos/system32 FOR all)