cpitf.c, save information on ngspice.exe into variables (MS Visula Studio only)
This commit is contained in:
parent
f1f7a26f19
commit
ee269e437d
|
|
@ -244,6 +244,23 @@ ft_cpinit(void)
|
||||||
|
|
||||||
/* Now source the standard startup file spinit or tclspinit. */
|
/* Now source the standard startup file spinit or tclspinit. */
|
||||||
|
|
||||||
|
/* set variables to read program configuration into spinit for VS */
|
||||||
|
#ifdef _MSC_VER
|
||||||
|
#ifdef CONFIG64
|
||||||
|
#ifdef NGDEBUG
|
||||||
|
cp_vset("pg_config", CP_STRING, "d64");
|
||||||
|
#else
|
||||||
|
cp_vset("pg_config", CP_STRING, "r64");
|
||||||
|
#endif
|
||||||
|
#else
|
||||||
|
#ifdef NGDEBUG
|
||||||
|
cp_vset("pg_config", CP_STRING, "d32");
|
||||||
|
#else
|
||||||
|
cp_vset("pg_config", CP_STRING, "r32");
|
||||||
|
#endif
|
||||||
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
/* jump over leading spaces */
|
/* jump over leading spaces */
|
||||||
for (copys = s = cp_tildexpand(Lib_Path); copys && *copys; ) {
|
for (copys = s = cp_tildexpand(Lib_Path); copys && *copys; ) {
|
||||||
s = skip_ws(s);
|
s = skip_ws(s);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue