| 
									
										
										
										
											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-16 20:07:10 -04:00
										 |  |  | 			Src/ControllerInterface/ControllerInterface.cpp
 | 
					
						
							| 
									
										
										
										
											2013-06-13 23:09:55 -04: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-07-21 00:50:50 -04:00
										 |  |  | 	if(XINPUT2_FOUND)
 | 
					
						
							| 
									
										
										
										
											2013-07-09 22:49:58 -08:00
										 |  |  | 		set(SRCS	${SRCS} | 
					
						
							|  |  |  | 					Src/ControllerInterface/Xlib/XInput2.cpp)
 | 
					
						
							|  |  |  | 	endif()
 | 
					
						
							| 
									
										
										
										
											2013-04-14 23:02:53 -05:00
										 |  |  | elseif(ANDROID)
 | 
					
						
							|  |  |  | 	set(SRCS	${SRCS} | 
					
						
							| 
									
										
										
										
											2013-06-18 07:09:20 -05:00
										 |  |  | 				Src/ControllerInterface/Android/Android.cpp)
 | 
					
						
							| 
									
										
										
										
											2010-11-01 15:47:02 +00:00
										 |  |  | endif()
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | add_library(inputcommon ${SRCS})
 |