dolphin/Source/Core/InputCommon/CMakeLists.txt
Jasper St. Pierre 877106b027 InputCommon: Split Device stuff out
The ExpressionParser needs this to be out of here to prevent issues
with cyclic references.
2013-06-25 00:58:30 -04:00

31 lines
945 B
CMake

set(SRCS Src/ControllerEmu.cpp
Src/InputConfig.cpp
Src/UDPWiimote.cpp
Src/UDPWrapper.cpp
Src/ControllerInterface/ControllerInterface.cpp
Src/ControllerInterface/Device.cpp)
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)
elseif(${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
set(SRCS ${SRCS}
Src/ControllerInterface/OSX/OSX.mm
Src/ControllerInterface/OSX/OSXKeyboard.mm
Src/ControllerInterface/OSX/OSXJoystick.mm
Src/ControllerInterface/SDL/SDL.cpp)
elseif(X11_FOUND)
set(SRCS ${SRCS}
Src/ControllerInterface/SDL/SDL.cpp
Src/ControllerInterface/Xlib/Xlib.cpp)
elseif(ANDROID)
set(SRCS ${SRCS}
Src/ControllerInterface/Android/Android.cpp)
endif()
add_library(inputcommon ${SRCS})