2010-11-01 15:47:02 +00:00
|
|
|
set(SRCS Src/ControllerEmu.cpp
|
|
|
|
Src/InputConfig.cpp
|
2010-11-14 14:02:16 +00:00
|
|
|
Src/UDPWiimote.cpp
|
|
|
|
Src/UDPWrapper.cpp
|
2013-06-17 00:07:10 +00:00
|
|
|
Src/ControllerInterface/ControllerInterface.cpp
|
2013-06-14 03:09:55 +00:00
|
|
|
Src/ControllerInterface/Device.cpp
|
|
|
|
Src/ControllerInterface/ExpressionParser.cpp)
|
2010-11-01 15:47:02 +00:00
|
|
|
|
|
|
|
if(WIN32)
|
|
|
|
set(SRCS ${SRCS}
|
|
|
|
Src/ControllerInterface/DInput/DInput.cpp
|
|
|
|
Src/ControllerInterface/DInput/DInputJoystick.cpp
|
|
|
|
Src/ControllerInterface/DInput/DInputKeyboardMouse.cpp
|
|
|
|
Src/ControllerInterface/SDL/SDL.cpp
|
|
|
|
Src/ControllerInterface/XInput/XInput.cpp)
|
2010-11-17 01:03:39 +00:00
|
|
|
elseif(${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
|
2010-11-01 15:47:02 +00:00
|
|
|
set(SRCS ${SRCS}
|
|
|
|
Src/ControllerInterface/OSX/OSX.mm
|
|
|
|
Src/ControllerInterface/OSX/OSXKeyboard.mm
|
2011-02-07 15:51:38 +00:00
|
|
|
Src/ControllerInterface/OSX/OSXJoystick.mm
|
2010-11-01 15:47:02 +00:00
|
|
|
Src/ControllerInterface/SDL/SDL.cpp)
|
|
|
|
elseif(X11_FOUND)
|
|
|
|
set(SRCS ${SRCS}
|
|
|
|
Src/ControllerInterface/SDL/SDL.cpp
|
|
|
|
Src/ControllerInterface/Xlib/Xlib.cpp)
|
2013-04-15 04:02:53 +00:00
|
|
|
elseif(ANDROID)
|
|
|
|
set(SRCS ${SRCS}
|
2013-06-18 12:09:20 +00:00
|
|
|
Src/ControllerInterface/Android/Android.cpp)
|
2010-11-01 15:47:02 +00:00
|
|
|
endif()
|
|
|
|
|
|
|
|
add_library(inputcommon ${SRCS})
|