Individual file settings
- 
				BillyBag2
 - Junior Member
 - Posts: 7
 - Joined: Thu Mar 15, 2018 11:42 am
 
Individual file settings
How do I set individual file setting? I can change settings in the makefile command line. But I want to debug some files but leave others optimised. How can I set different options for different files?
			
			
									
							
		
				
						- 
				robertxmos
 - XCore Addict
 - Posts: 169
 - Joined: Fri Oct 23, 2015 10:23 am
 
Hi BillyBag
Would the following do what you want?
robert
			
			
									
										
						Would the following do what you want?
see https://www.xmos.com/support/tools/othe ... nent=14789 for more options.XCC_FLAGS_filename
Overides the flags passed to xcc for the filename specified. This option overides the flags for all build configurations.
robert
- 
				BillyBag2
 - Junior Member
 - Posts: 7
 - Joined: Thu Mar 15, 2018 11:42 am
 
Thanks, this worked great. Added by hand to makefile but then it appears in the wizard after that. Also set VERBOSE to 1 to see the command line being used.
			
			
									
										
						- 
				robertxmos
 - XCore Addict
 - Posts: 169
 - Joined: Fri Oct 23, 2015 10:23 am
 
FYI
The 'VERBOSE' allow you to see what the make systems is doing - can be a bit noisy.
The alternative is to add '-v' or '--verbose' to your XC_flags - this list all the compilation steps (that you could do manually!)
			
			
									
										
						The 'VERBOSE' allow you to see what the make systems is doing - can be a bit noisy.
The alternative is to add '-v' or '--verbose' to your XC_flags - this list all the compilation steps (that you could do manually!)
