← Back to team overview

kicad-developers team mailing list archive

Re: [PATCH] Project Templates

 

On 19 October 2012 00:46, Hans Henry von Tresckow <hvontres@xxxxxxxxx> wrote:
> On Thu, Oct 18, 2012 at 4:03 PM, Adam Wolf
> <adamwolf@xxxxxxxxxxxxxxxxxxxx> wrote:
>> If the CMakeLists.txt was only modified in the last few hours, I am pretty
>> sure I can manually trigger a rebuild so people don't have to wait until
>> tomorrow.  I'll keep watching the list.
>>
>> Adam Wolf
>>
>> On Thu, Oct 18, 2012 at 5:52 PM, Dick Hollenbeck <dick@xxxxxxxxxxx> wrote:
>>>
>>> On 10/18/2012 05:47 PM, Brian Sidebotham wrote:
>>> > Hi Dick,
>>> >
>>> > Sorry, I don't think I'm going to get around to it in any reasonable
>>> > time. I'm literally flat out here with a million things.
>>> >
>>> > However, I documented the templates in the code. If you rebuild the
>>> > doxygen-docs target you'll see a Project Templates page in the
>>> > documentation which describes what files are required, naming
>>> > conventions and the like. All the information should be there.
>>> >
>>> > If not, let me know and I'll see what's missing from the document.
>>> >
>>> > Best Regards, Brian.
>>>
>>> Thanks, Hans Henry said he will do it.
>>>
>>> I wonder if the problem Hans Henry is having with Adam's PPA build
>>> re:templates is that
>>> the templates are not turned on in the CMakeLists.txt file?
>>>
>>> If not, somebody else please start guessing....
>>>
>>>
>>>
>>> _______________________________________________
>>> Mailing list: https://launchpad.net/~kicad-developers
>>> Post to     : kicad-developers@xxxxxxxxxxxxxxxxxxx
>>> Unsubscribe : https://launchpad.net/~kicad-developers
>>> More help   : https://help.launchpad.net/ListHelp
>>
>>
>>
>> _______________________________________________
>> Mailing list: https://launchpad.net/~kicad-developers
>> Post to     : kicad-developers@xxxxxxxxxxxxxxxxxxx
>> Unsubscribe : https://launchpad.net/~kicad-developers
>> More help   : https://help.launchpad.net/ListHelp
>>
>
> Actually, I wasn't putting the templates in the rigtht place for now.
> The current patch looks for them in:
>
> wxStandardPaths::GetExecutableDir()/../share/template/
> wxStandardPaths::GetUserDataDir()/templates/
>
> which turns out to be  /usr/share/template instead of
> /usr/share/kicad/template for a ppa install.
>
> I created a symlink and it works. Basicaly, a template is a simple
> project with some meta data to tell people what it is.
>
> --
> Henry von Tresckow (hvontres)

Hi Henry,

Thanks for that information. I will change this so that is is looking
under the same folder as the standard template for KiCad as that is
where the templates should reside, it'll be where they end up through
the KiCad install process.

Hopefully I'll get to look at this tonight (In around 10-12hrs)

Best Regards, Brian.


Follow ups

References