← Back to team overview

kicad-developers team mailing list archive

Re: project template cloning

 

On 10 April 2013 20:49, Dick Hollenbeck <dick@xxxxxxxxxxx> wrote:

> Brian,
>
> a) I fixed bugs related to use of KICAD_PTEMPLATE environment
> variable.  Iterminate it with SEP() now if
> not set that way, necessary for use of common code in TAB creation.
> Probably never tested before I stumbled onto it.
>
> (I am not allowed to use KiCad, only fix it, or so it seems lately.)
>
>
> b) Updated kicad.odt to reflect proper spelling of that environment
> variable.
>
>
> c) updated header file where doxygen will grab that same spelling,
> previously erroneously spelt, also missing P.
>
>
Hi Dick,

I've just grabbed the kicad docs. Ashamedly I didn't have them before now!
I didn't know the project templates had been documented. It was on my TODO
list.


>
> d) question why we are copying the *.pro file when one is being
> created.  I end up with two *.pro files in the same directory, one
> from the template dir and the one being created which has a different
> basename.
>
>
> e) question why we are not renaming basename of cloned files to the
> basename of new project.
>
>
>
> d) and e) are solicitations of your opinion.
>

d) and e) are both incorrect (and changed) behaviour if that is the case.

I've just tested with build 3957 which appears to work correctly for me
according to the documentation anyway. I'll compile the latest and try
again with the raspberry-pi template.

Best Regards, Brian.

Follow ups

References