fix target name not written when not overridden
This commit is contained in:
		
							parent
							
								
									98b44ec923
								
							
						
					
					
						commit
						640046ee1e
					
				
							
								
								
									
										5
									
								
								main.cpp
									
									
									
									
									
								
							
							
						
						
									
										5
									
								
								main.cpp
									
									
									
									
									
								
							@ -378,11 +378,8 @@ int main(int argc, char ** args) {
 | 
			
		||||
			if (!openOutfile(outfile)) {
 | 
			
		||||
				continue; // just skip this file
 | 
			
		||||
			}
 | 
			
		||||
		}
 | 
			
		||||
 | 
			
		||||
		// check for target override
 | 
			
		||||
		if (config.targetName.empty()) {
 | 
			
		||||
			config.targetName = filename;
 | 
			
		||||
			writeTarget(outfile, filename);
 | 
			
		||||
		}
 | 
			
		||||
 | 
			
		||||
		for (auto it = list.begin(); it != list.end(); it++) {
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user