2011-05-16 13:12:07 +00:00
|
|
|
|
|
|
|
add_definitions(-D__WINESRC__)
|
2016-04-20 12:36:25 +00:00
|
|
|
include_directories(${REACTOS_SOURCE_DIR}/sdk/include/reactos/wine)
|
2011-05-16 13:12:07 +00:00
|
|
|
spec2def(xinput1_2.dll xinput1_2.spec)
|
|
|
|
|
|
|
|
list(APPEND SOURCE
|
|
|
|
xinput1_2_main.c
|
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/xinput1_2.def)
|
|
|
|
|
2013-09-28 15:38:10 +00:00
|
|
|
add_library(xinput1_2 SHARED ${SOURCE} version.rc)
|
2011-05-16 13:12:07 +00:00
|
|
|
set_module_type(xinput1_2 win32dll)
|
2013-09-28 15:38:10 +00:00
|
|
|
add_importlibs(xinput1_2 xinput1_3 msvcrt kernel32)
|
2011-05-16 13:12:07 +00:00
|
|
|
add_cd_file(TARGET xinput1_2 DESTINATION reactos/system32 FOR all)
|