mirror of
				https://github.com/OpenMW/openmw.git
				synced 2025-10-25 08:56:37 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			21 lines
		
	
	
	
		
			510 B
		
	
	
	
		
			CMake
		
	
	
	
	
	
			
		
		
	
	
			21 lines
		
	
	
	
		
			510 B
		
	
	
	
		
			CMake
		
	
	
	
	
	
| if (NOT DEFINED OPENMW_SHADERS_ROOT)
 | |
|     return()
 | |
| endif()
 | |
| 
 | |
| # Copy resource files into the build directory
 | |
| set(SDIR ${CMAKE_CURRENT_SOURCE_DIR})
 | |
| set(DDIRRELATIVE resources/shaders)
 | |
| 
 | |
| set(SHADER_FILES
 | |
|     water_vertex.glsl
 | |
|     water_fragment.glsl
 | |
|     water_nm.png
 | |
|     objects_vertex.glsl
 | |
|     objects_fragment.glsl
 | |
|     terrain_vertex.glsl
 | |
|     terrain_fragment.glsl
 | |
|     lighting.glsl
 | |
|     parallax.glsl
 | |
| )
 | |
| 
 | |
| copy_all_resource_files(${CMAKE_CURRENT_SOURCE_DIR} ${OPENMW_SHADERS_ROOT} ${DDIRRELATIVE} "${SHADER_FILES}")
 |