kicad-developers team mailing list archive
-
kicad-developers team
-
Mailing list archive
-
Message #44862
Re: ngspice-34
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
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