[Geany] Generalisation of build system

Enrico Tröger enrico.troeger at xxxxx
Thu Oct 2 13:03:06 UTC 2008


On Thu, 2 Oct 2008 17:25:13 +1000, "Lex Trotman" <elextr at gmail.com>
wrote:

Hi.


> The suggestions are:
> 
> 1. make all the compile/link/build commands project specific, or from
> global settings if not defined for project

> 2. make all the commands entirely configurable, remove any magically
> included '-o' options for example

There is no magically added '-o' anymore, this was removed between
Geany 0.13 and Geany 0.14, i.e. about 6 or 7 months ago.
The commands Compile, Build and Run are already entirely configurable.
And there is 'Make Custom Target' to configure the make command.


> 3. replace the build menu 'make all' and 'make target' with one
> 'build ->' with a submenu listing the available targets configurable
> from a dialog

I'm not sure we really need this. This makes it more complicated to
find and reach these items in the menu, you have to navigate through an
additional submenu.

> 4. have a set of global settings which make it work pretty much the
> same as it does now for make so as to not break existing stuff

> 5. (optional time permitting) have a set of templates which provide
> common setups and which can be selected at project creation

KISS!


In general, we tried to keep the Build system simple and easy to use.
The more you can configure, the more complicated it gets to use and the
more error-prone the code gets.

If you really need more power in the Build system, maybe it's worth to
extend it using the plugin system, so Geany itself keeps its simple and
easy to use build system and users with more advanced needs can you
your plugin to get the power features :).


Regards,
Enrico

-- 
Get my GPG key from http://www.uvena.de/pub.asc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://lists.geany.org/pipermail/users/attachments/20081002/58a4b673/attachment.pgp>


More information about the Users mailing list