| 
									
										
										
										
											2014-12-16 13:12:50 +00:00
										 |  |  | cmake_minimum_required(VERSION 2.8.7) | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | # game project | 
					
						
							|  |  |  | project( game ) | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2014-12-16 13:12:53 +00:00
										 |  |  | include_directories( | 
					
						
							|  |  |  | 	../maths | 
					
						
							|  |  |  | ) | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2014-12-16 13:12:50 +00:00
										 |  |  | # Set to use c++11, because we're cool like that | 
					
						
							|  |  |  | set( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} --std=c++11" ) | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | # Add the sources  | 
					
						
							|  |  |  | set( SOURCES  | 
					
						
							|  |  |  | 	game.cpp | 
					
						
							| 
									
										
										
										
											2014-12-16 13:12:53 +00:00
										 |  |  | 	board.cpp | 
					
						
							| 
									
										
										
										
											2014-12-16 13:12:55 +00:00
										 |  |  | 	unitv.cpp | 
					
						
							| 
									
										
										
										
											2014-12-16 13:12:56 +00:00
										 |  |  | 	unit.cpp | 
					
						
							| 
									
										
										
										
											2014-12-16 13:12:57 +00:00
										 |  |  | 	orders.cpp | 
					
						
							| 
									
										
										
										
											2014-12-16 13:12:50 +00:00
										 |  |  | ) | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | add_library( game ${SOURCES} ) |