The problem with a new header though is we will need to add yet another build flag to kicad that a user will have to set....because we can't guarantee all platforms will have ngspice > 35 or whateveto look for a new "version.h"
On Wed, Feb 3, 2021 at 7:04 AM jp charras <jp.char...@wanadoo.fr> wrote: > > Le 03/02/2021 à 11:38, Carsten Schoenert a écrit : > > Hello Holger, > > > > Am 03.02.21 um 11:20 schrieb Holger Vogt: > >> I remember some time ago I tried to address the libtool versioning, but > >> I did not understand it, so abandoned it again. > > libtool isn't really easy, yes, but the more complicated thing is to > > integrate the things correctly into configure.ac and potential > > Makefile(s).am. > > > > If I'm feeling boring enough I can try to have look this. But ngspice > > did already cost a lot of my brain in the past. :P > > > >> What about adding and distributing alongside of sharedspice.h a version > >> header file verngspice.h which contains only some version info? > > That would for sure help for the problem Ian has written about, but it > > doesn't solves the underlying real problem, a non versioned library. > > > > To add such a version string you even don't need to add another header > > file, there is already sharedspice.h available. It's easy to process > > this as .h.in file while configure is running to add such a version > > string. I can try to have a look at this as well. > > > OTOH, a version.h file is not a bad idea (read: for me a very good idea): > > at least the name is already a useful comment and it request only a very > few amount of work. > > Many tools use this trick (for instance opencascade, and most of other > tools we are using in Kicad), and one **big** advantage it works outside > the libtool stuff. > > -- > Jean-Pierre CHARRAS > > > _______________________________________________ > Mailing list: https://launchpad.net/~kicad-developers > Post to : kicad-developers@lists.launchpad.net > Unsubscribe : https://launchpad.net/~kicad-developers > More help : https://help.launchpad.net/ListHelp > -- Mark
_______________________________________________ Mailing list: https://launchpad.net/~kicad-developers Post to : kicad-developers@lists.launchpad.net Unsubscribe : https://launchpad.net/~kicad-developers More help : https://help.launchpad.net/ListHelp