mirror of https://github.com/google/pebble
				
				
				
			
		
			
				
	
	
		
			11 lines
		
	
	
		
			331 B
		
	
	
	
		
			Python
		
	
	
	
			
		
		
	
	
			11 lines
		
	
	
		
			331 B
		
	
	
	
		
			Python
		
	
	
	
| # Regression test for issue with multiple files generated at once
 | |
| 
 | |
| Import('env')
 | |
| env = env.Clone()
 | |
| env.Replace(NANOPBFLAGS = "--strip-path")
 | |
| env.Command(['file1.pb.c', 'file1.pb.h', 'file2.pb.c', 'file2.pb.h'], ['file1.proto', 'file2.proto'],
 | |
|             env['NANOPB_PROTO_CMD'])
 | |
| 
 | |
| env.Object('file1.pb.c')
 | |
| env.Object('file2.pb.c')
 |