Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: johne53 on August 24, 2007, 12:03:57 pm

Title: object file name (changing)
Post by: johne53 on August 24, 2007, 12:03:57 pm
When compiling a C++ source file (to produce an object file) is there a way to change the default extension (.o) that gets used for the target file? It isn't a massive problem - but the project I'm working on uses the extension ".os" for various historical reasons and I'd like to stay compatible if I can.
Title: Re: object file name (changing)
Post by: mariocup on August 24, 2007, 01:57:48 pm
Hi johne53,

yes you can. Just go to the menu: settings/compiler and debugger Settings/Other settings and select advanced options. Then select tab Others and modify the object file extension from .o to .os.



Title: Re: object file name (changing)
Post by: johne53 on August 24, 2007, 05:48:03 pm
Found it - thanks!