2011-05-16 13:12:07 +00:00
|
|
|
|
2013-04-15 18:54:35 +00:00
|
|
|
add_definitions(-D__WINESRC__)
|
2016-04-20 12:36:25 +00:00
|
|
|
include_directories(${REACTOS_SOURCE_DIR}/sdk/include/reactos/wine)
|
2012-03-07 21:21:27 +00:00
|
|
|
spec2def(dinput.dll dinput.spec ADD_IMPORTLIB)
|
2011-05-16 13:12:07 +00:00
|
|
|
|
2013-09-29 12:16:54 +00:00
|
|
|
list(APPEND SOURCE
|
2013-04-15 18:54:35 +00:00
|
|
|
config.c
|
2011-05-16 13:12:07 +00:00
|
|
|
device.c
|
|
|
|
dinput_main.c
|
|
|
|
effect_linuxinput.c
|
2013-04-15 18:54:35 +00:00
|
|
|
joystick.c
|
2011-05-16 13:12:07 +00:00
|
|
|
joystick_linux.c
|
|
|
|
joystick_linuxinput.c
|
2013-04-15 18:54:35 +00:00
|
|
|
joystick_osx.c
|
2011-05-16 13:12:07 +00:00
|
|
|
keyboard.c
|
|
|
|
mouse.c
|
2018-03-08 12:33:13 +00:00
|
|
|
precomp.h)
|
2014-02-09 23:29:31 +00:00
|
|
|
|
|
|
|
add_library(dinput SHARED
|
|
|
|
${SOURCE}
|
|
|
|
data_formats.c
|
|
|
|
dinput.rc
|
2019-01-25 12:11:07 +00:00
|
|
|
version.rc
|
2011-05-16 13:12:07 +00:00
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/dinput.def)
|
|
|
|
|
2013-04-15 18:54:35 +00:00
|
|
|
add_library(dinput_data_formats data_formats.c)
|
2013-04-27 14:56:43 +00:00
|
|
|
add_dependencies(dinput_data_formats psdk)
|
2015-11-04 18:06:16 +00:00
|
|
|
set_module_type(dinput win32dll)
|
2013-04-15 18:54:35 +00:00
|
|
|
target_link_libraries(dinput dxguid uuid wine)
|
|
|
|
add_importlibs(dinput comctl32 ole32 user32 advapi32 msvcrt kernel32 ntdll)
|
2018-03-08 12:33:13 +00:00
|
|
|
add_pch(dinput precomp.h SOURCE)
|
2011-05-16 13:12:07 +00:00
|
|
|
add_cd_file(TARGET dinput DESTINATION reactos/system32 FOR all)
|