Wayne, I haven't checked this code carefully but I'd recommend building the settings always, and moving the #ifdef to a different level (i.e. make the settings not depend on ngspice)
That way if the same settings files are shared between a build with ngspice and a build without, they won't get thrown away. On Thu, Mar 18, 2021 at 6:37 PM Wayne Stambaugh <stambau...@gmail.com> wrote: > My bad. I forgot the simulator was a build option so I will have to > #ifdef the offending settings code. > > - Wayne > > On 3/18/21 6:02 PM, Eeli Kaikkonen wrote: > > I have disabled ngspice in cmake settings but in a recent commit by > > Wayne #include <sim/ngspice.h>, which in turn includes > > ngspice/sharedspice.h, was added to schematic.cpp which makes > > compilation fail apparently because I don't have ngspice at all. > > > > Eeli Kaikkonen > > > > _______________________________________________ > > 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 > > > > _______________________________________________ > 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 >
_______________________________________________ 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