mirror of
				https://github.com/luanti-org/luanti.git
				synced 2025-10-28 22:25:20 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			18 lines
		
	
	
		
			409 B
		
	
	
	
		
			CMake
		
	
	
	
	
	
			
		
		
	
	
			18 lines
		
	
	
		
			409 B
		
	
	
	
		
			CMake
		
	
	
	
	
	
| set(IRREXAMPLES
 | |
| 	# removed
 | |
| )
 | |
| if(UNIX)
 | |
| 	list(APPEND IRREXAMPLES AutomatedTest)
 | |
| endif()
 | |
| 
 | |
| foreach(exname IN ITEMS ${IRREXAMPLES})
 | |
| 	file(GLOB sources "${CMAKE_CURRENT_SOURCE_DIR}/${exname}/*.cpp")
 | |
| 	add_executable(${exname} ${sources})
 | |
| 
 | |
| 	target_include_directories(${exname} PRIVATE
 | |
| 		${CMAKE_SOURCE_DIR}/include
 | |
| 		${CMAKE_CURRENT_SOURCE_DIR}/${exname}
 | |
| 	)
 | |
| 	target_link_libraries(${exname} IrrlichtMt)
 | |
| endforeach()
 |