7 lines
		
	
	
		
			235 B
		
	
	
	
		
			Lua
		
	
	
	
	
	
		
		
			
		
	
	
			7 lines
		
	
	
		
			235 B
		
	
	
	
		
			Lua
		
	
	
	
	
	
| 
								 | 
							
								rule("engine.plugin")
							 | 
						||
| 
								 | 
							
								    set_extensions(".h")
							 | 
						||
| 
								 | 
							
								    on_load(function (target)
							 | 
						||
| 
								 | 
							
								        import("make_plugin")
							 | 
						||
| 
								 | 
							
								        local file = target:extraconf("rules", "engine.plugin", "file")
							 | 
						||
| 
								 | 
							
								        make_plugin(target, file or "module.h")
							 | 
						||
| 
								 | 
							
								    end)
							 |