1 2add_definitions(-D__WINESRC__) 3include_directories(${REACTOS_SOURCE_DIR}/sdk/include/reactos/wine) 4spec2def(xinput9_1_0.dll xinput9_1_0.spec) 5 6list(APPEND SOURCE 7 xinput9_1_0_main.c 8 ${CMAKE_CURRENT_BINARY_DIR}/xinput9_1_0.def) 9 10add_library(xinput9_1_0 MODULE ${SOURCE} version.rc) 11set_module_type(xinput9_1_0 win32dll) 12add_importlibs(xinput9_1_0 msvcrt kernel32 xinput1_3) 13add_cd_file(TARGET xinput9_1_0 DESTINATION reactos/system32 FOR all) 14