kicad-developers team mailing list archive
-
kicad-developers team
-
Mailing list archive
-
Message #45005
Re: ngspice-34
> Does vcpkg support pkg-config?
vcpkg can use pkg-config for building its own libraries.
However vcpkg will not share it outside of itself, meaning kicad has no
ability to use it easily
On Mon, Mar 22, 2021 at 3:18 PM Wayne Stambaugh <stambaughw@xxxxxxxxx>
wrote:
> Would pkg-config work on all platforms? I know it works on Linux and
> msys2. I would rather not have a separate hack for every platform if we
> can avoid it. Does vcpkg support pkg-config? If so, then it should be
> possible to use it on msvc builds as well.
>
> On 3/22/21 2:57 PM, Jon Evans wrote:
> > Bumping this thread as we don't seem to have a resolution yet.
> >
> > The Windows vcpkg package works as there is still a config.h with the
> > version in the "visualc" directory.
> >
> > But, MacOS doesn't build and I guess some Linux distros don't either.
> >
> > Can we make pkg-config work for MacOS?
> >
> > On Wed, Feb 3, 2021 at 1:45 PM Carsten Schoenert
> > <c.schoenert@xxxxxxxxxxx <mailto:c.schoenert@xxxxxxxxxxx>> wrote:
> >
> > Am 03.02.21 um 13:03 schrieb jp charras:
> > > 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.
> >
> > For simple things like version detection pkg-config is already
> enough,
> > no need for mostly incompatible hacks. Even different shells on the
> same
> > host can behavior really unexpected.
> >
> > If you need to detect the version of ngspice you will need to do this
> > this already before any build is started.
> >
> > > $ pkg-config --modversion ngspice
> > > 33
> > --
> > Regards
> > Carsten
> >
> > _______________________________________________
> > Mailing list: https://launchpad.net/~kicad-developers
> > <https://launchpad.net/~kicad-developers>
> > Post to : kicad-developers@xxxxxxxxxxxxxxxxxxx
> > <mailto:kicad-developers@xxxxxxxxxxxxxxxxxxx>
> > Unsubscribe : https://launchpad.net/~kicad-developers
> > <https://launchpad.net/~kicad-developers>
> > More help : https://help.launchpad.net/ListHelp
> > <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
> >
>
> _______________________________________________
> 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
>
--
Mark
Follow ups
References
-
ngspice-34
From: Holger Vogt, 2021-01-30
-
Re: ngspice-34
From: Wayne Stambaugh, 2021-01-30
-
Re: ngspice-34
From: Nick Østergaard, 2021-02-01
-
Re: ngspice-34
From: Holger Vogt, 2021-02-02
-
Re: ngspice-34
From: Jean-Samuel Reynaud, 2021-02-02
-
Re: ngspice-34
From: Carsten Schoenert, 2021-02-03
-
Re: ngspice-34
From: Holger Vogt, 2021-02-03
-
Re: ngspice-34
From: Ian McInerney, 2021-02-03
-
Re: ngspice-34
From: Holger Vogt, 2021-02-03
-
Re: ngspice-34
From: Carsten Schoenert, 2021-02-03
-
Re: *** SPAM *** Re: ngspice-34
From: jp charras, 2021-02-03
-
Re: ngspice-34
From: Carsten Schoenert, 2021-02-03
-
Re: ngspice-34
From: Jon Evans, 2021-03-22
-
Re: ngspice-34
From: Wayne Stambaugh, 2021-03-22