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