Would you like to react to this message? Create an account in a few clicks or log in to continue.

You are not connected. Please login or register

Add "custom build parameters" option for code files

2 posters

Go down  Message [Page 1 of 1]

royqh1979



Compilers like sdcc has many commandline options to control how to compile a source file.

For example, if you want to compiler code for z80, option "-mz80" is needed.

So my request is to add an option in the settings for code file, it will be autoed added to the command while compiling.

I've made a demo patch. I don't know if other compilers need custom options, so it only works with sdcc:

Add "custom build parameters" option for code files Snap119
Add "custom build parameters" option for code files Snap913
Attachments
Add "custom build parameters" option for code files Attachmentcustomoption.zip
You don't have permission to download attachments.
(2 Kb) Downloaded 1 times

arcachofo

arcachofo

Yes, that's a nice (and needed) feature.

Patch applied at Rev 1890.

I did some minor changes:
- Property added to Compiler settings instead to File settings.
- Named "Extra build arguments" instead of "Custom build arguments", to indicate that this is added to default arguments, not substituting default arguments.


Back to top  Message [Page 1 of 1]

Permissions in this forum:
You cannot reply to topics in this forum