1 2add_definitions(-D__WINESRC__) 3include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine) 4 5add_library(xinput1_2 SHARED xinput1_2_main.c version.rc xinput1_2.def) 6 7if(NOT MSVC) 8 set_source_files_properties(xinput1_2.def PROPERTIES EXTERNAL_OBJECT TRUE) 9endif() 10 11add_importlibs(xinput1_2 kernel32) 12 13set_module_type(xinput1_2 win32dll) 14 15add_cab_target(xinput1_2 1) 16