- Fix xinput msvc build
[reactos.git] / dll / win32 / xinput9_1_0 / CMakeLists.txt
1
2 add_definitions(-D__WINESRC__)
3 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
4
5 spec2def(xinput9_1_0.dll xinput9_1_0.spec)
6
7 list(APPEND SOURCE
8 xinput9_1_0_main.c
9 version.rc
10 ${CMAKE_CURRENT_BINARY_DIR}/xinput9_1_0.def)
11
12 add_library(xinput9_1_0 SHARED ${SOURCE})
13
14 set_module_type(xinput9_1_0 win32dll)
15 add_importlibs(xinput9_1_0 msvcrt kernel32 xinput1_3)
16 add_cab_target(xinput9_1_0 1)