[CMAKE]
[reactos.git] / dll / directx / dinput / CMakeLists.txt
1
2 set_unicode()
3
4 remove_definitions(-D_WIN32_WINNT=0x502)
5 add_definitions(-D_WIN32_WINNT=0x600)
6 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
7
8 spec2def(dinput.dll dinput.spec)
9
10 add_library(dinput SHARED
11 data_formats.c
12 device.c
13 dinput_main.c
14 effect_linuxinput.c
15 joystick_linux.c
16 joystick_linuxinput.c
17 keyboard.c
18 mouse.c
19 regsvr.c
20 version.rc
21 ${CMAKE_CURRENT_BINARY_DIR}/dinput.def)
22
23 set_module_type(dinput win32dll)
24
25 target_link_libraries(dinput
26 dxguid
27 uuid
28 wine)
29
30 add_importlibs(dinput
31 user32
32 advapi32
33 ole32
34 winmm
35 kernel32
36 ntdll)
37
38
39 add_cab_target(dinput 1)