User forums > Using Code::Blocks
object file name (changing)
(1/1)
johne53:
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.
mariocup:
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.
johne53:
Found it - thanks!
Navigation
[0] Message Index
Go to full version