[Geany] Question regarding project management

P.J.G. Long pjgl2 at xxxxx
Tue Oct 30 14:39:09 UTC 2007


On Oct 30 2007, Enrico [UTF-8] Tröger wrote:

>On Sun, 28 Oct 2007 22:59:54 +0100, Tim Tassonis <timtas at cubic.ch>
>wrote:
>
>> Enrico Tröger wrote:
>> > On Sun, 28 Oct 2007 20:57:09 +0100, Tim Tassonis <timtas at cubic.ch>
>> > wrote:
>> >> I might be totally wrong, but I thought with the preferences
>> >> settings already in place, it would be relatively easy to just
>> >> copy the code over to project settings and then overload the
>> >> default settings with the project ones once a user has chosen a
>> >> project. I might be totally wrong of course.
>> > It is not that difficult but why should we add things which nobody
>> > will use.
>> 
>> Of course you are right and I didn't want to suggest offering the
>> whole lot of settings in the project preferences. Also agreed, some
>> of the ones I suggested were quite bad choices...
>> 
>> Generally I think the useful ones would be those that really can
>> change between projects due to different coding style policies. Maybe:
>> 
>> - Indentation Type
>> - Tab Width
>> - Newline strip trainling spaces
>> - Default encoding
>> - Strip training spaces
>> - Replace tabs by spaces
>> - maybe make command
>> 
>> But I think I should stop now, I don't want to go down in this list's 
>> history as an unproductive other-people-might-do-this contributor.
>Yes the above options sound good. But don't hesitate to post your
>wishes and comments. It is in any case better than to not say what you
>think ;-).
>

 As partially indicated before we have a requirement to allow students to 
work with multiple versions of code they are developing for running on 
embedded micros. Thus it would be nice to

a) Have a project that by default compiles all files within a directory, 
but does allow the user to deselect check boxes when there are more than 
one variant of a source file, e.g. to select between a number of different 
sources inputX.cc a menu as below is automatically generated and the user 
is able to deselect inpout2.cc and input3.cc say

 x test.cc
 x input1.cc
   input2.cc
   input3.cc
 x output.cc

b) Allows a project to select default compiler options and possibly have 
selectable options, e.g. in our case we normally develop on a i386 box, but 
then cross compile to a ARM based micro. Thus it would be nice to be able 
to select different destinations for the output. This could be within one 
project or two projects using the same source, but different subdirectories 
for the object files, e.g

                         Project
                            |
                -----------------------------------
                |              |                  |
              Source       i386 output       ARM output

  Regards





More information about the Users mailing list