| 
 | 
 | 
 
Home » U++ TheIDE » U++ TheIDE: Other Features Wishlist and/or Bugs » batch build 
	
		
		
			| batch build [message #26181] | 
			Thu, 08 April 2010 23:21   | 
		 
		
			
				
				
				
					
						  
						nixnixnix
						 Messages: 415 Registered: February 2007  Location: Kelowna, British Columbia
						
					 | 
					Senior Member  | 
					 | 
		 
		 
	 | 
 
	
		Hi, 
 
I need to be able to make customised executables for each of my clients. I would like to do this with pre-processor directives but be able to just press one button to build them all and store each one in a different directory. 
 
Not much I know but I suspect that theIDE can always do this.  
 
Nick 
 
 
		
		
		
 |  
	| 
		
	 | 
 
 
 |  
	
		
		
			| Re: batch build [message #26184 is a reply to message #26181] | 
			Fri, 09 April 2010 03:24    | 
		 
		
			
				
				
				
					
						  
						nixnixnix
						 Messages: 415 Registered: February 2007  Location: Kelowna, British Columbia
						
					 | 
					Senior Member  | 
					 | 
		 
		 
	 | 
 
	
		Ah OK I found this 
 
http://www.ultimatepp.org/app$ide$cmdline$en-us.html 
 
sweet!    
 
EDIT: OK not that sweet. How do I get my flags to carry through please? The ">" pipes output into whatever the name of the flag that comes after. Also, the other flags that I set do not get carried into the IDE. I think this may be broken. 
 
EDIT: also, 1 is FORCE_SPEED and 2 is FORCE_SIZE 
 
EDIT: tried it with both umk and theide and get same results. It doesn't appear to matter what flags you pass in. It always uses GUI,MT and ignores anything else. 
 
I am trying to find out where theIDE processes commandlines. I can see where the CreateProcess is called with the commandline cmd but I have no idea where that goes next. umk appears to just call theIDE. 
 
Is there an alternative to this or something I am missing or any chance that it will get fixed soon?  
 
examples of commandlines for me would be 
 
c:\upp\theide trunk OpenWind MSC9x64 -a1e PRO,OCOE,CLIENT_DUMB d:\Probuilds\Dumb\openWind64.exe 
c:\upp\umk trunk OpenWind MSC9 -a1ev GUI,PRO,CLIENT_DUMB d:\Probuilds\Dumb\openWind.exe 
c:\upp\umk trunk OpenWind MSC9x64 -a1ev PRO,CLIENT_TEST d:\Probuilds\Test\openWind64.exe 
c:\upp\umk trunk OpenWind MSC9 -a1ev PRO,CLIENT_TEST d:\Probuilds\Test\openWind.exe 
 
 
		
		
		[Updated on: Sat, 10 April 2010 02:15] Report message to a moderator  
 |  
	| 
		
	 | 
 
 
 |  
	| 
		
 |  
	
		
		
			| Re: Test case [message #26193 is a reply to message #26192] | 
			Sat, 10 April 2010 04:28    | 
		 
		
			| 
				
	 | 
 
	
		Hi Nick! 
 
The syntax described in help is correct. The problem is with ">" because it is interpreted as a shell redirection. You need to quote it in order to pass it as an argument: 
c:\upp\umk trunk OpenWind MSC9 -a1ev ">GUI,PRO,CLIENT_DUMB" "d:\Probuilds\Dumb\openWind.exe"  
Hopefully this will help   I know that using ">" in this way is pretty weird, it confused me at first too. I'll add a note about this into the manual. 
 
Honza 
		
		
		
 |  
	| 
		
	 | 
 
 
 |  
	| 
		
 |   
Goto Forum:
 
 Current Time: Tue Nov 04 14:19:15 CET 2025 
 Total time taken to generate the page: 0.06681 seconds 
 |   
 |  
  |