Added Post Build Command
- Added post build command to Engine's CMakeLists to copy over the
     shader conductor's .dll file
			
			
This commit is contained in:
		
							parent
							
								
									eb00566953
								
							
						
					
					
						commit
						c50b37d87f
					
				
					 1 changed files with 10 additions and 1 deletions
				
			
		| 
						 | 
					@ -58,3 +58,12 @@ if(WIN32)
 | 
				
			||||||
	target_link_libraries(Engine dxguid)
 | 
						target_link_libraries(Engine dxguid)
 | 
				
			||||||
	target_link_libraries(Engine D3DCompiler)
 | 
						target_link_libraries(Engine D3DCompiler)
 | 
				
			||||||
endif()
 | 
					endif()
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					message(BINARY DIRECTORY IS IN ${CMAKE_BINARY_DIR})
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					add_custom_command(
 | 
				
			||||||
 | 
						TARGET Engine
 | 
				
			||||||
 | 
						POST_BUILD COMMAND ${CMAKE_COMMAND} -E copy_if_different
 | 
				
			||||||
 | 
						${CMAKE_BINARY_DIR}/Dependencies/ShaderConductor/Bin/Debug/ShaderConductor.dll
 | 
				
			||||||
 | 
						${CMAKE_BINARY_DIR}/bin/Debug)
 | 
				
			||||||
		Loading…
	
	Add table
		
		Reference in a new issue