| 
					
				 | 
			
			
				@@ -0,0 +1,16 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+cmake_minimum_required (VERSION 2.8.0) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+project (app) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+file(GLOB SOURCES *.cpp) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+find_library(XDO_LIB xdo) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+if(NOT XDO_LIB) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    message(FATAL_ERROR "libxdo not found") 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+endif() 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+# add_definitions(-pthread) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+# add_definitions(-std=c++11) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+# set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -pthread") 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+add_executable(app ${SOURCES}) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+target_link_libraries(app "${XDO_LIB}") 
			 |