update scconfig

This commit is contained in:
Stefan Frederik 2021-04-18 13:43:55 +02:00
parent ce5d9e40a6
commit 33280beb9c
5 changed files with 23 additions and 8 deletions

View File

@ -28,12 +28,19 @@ INSTRUCTIONS TO ADD XSCHEM TO VISUAL STUDIO 2019
- Microsoft Visual Studio 2019
- Wix Toolset Visual Studio 2019 Extension (Download through Microsoft Extensions on VS 2019)
- Wix Toolset Build Tools v3.11 (Download online from wixtoolset)
(WiX Toolset requires the .NET Framework 3.5.1 Windows feature to be enabled.)
Turn Windows features on or off
Select .NET framework 3.5 (include .NET 2.0 and 3.0)
- ActiveState tcl/tk 8.6 (Remember install directory where includes files are, see step h)
32-bit, 64-bit ActiveState need to match XSchem x86, x64, respectively.
- bison (Remember executabled directory for step h, preferably don't have spaces in the directory path (ie., don't use Program Files))
(http://gnuwin32.sourceforge.net/packages/bison.htm, Complete package, except sources (bison-2.4.1-setup.exe))
- flex (Remember executabled directory for step h, see bison note)
(http://gnuwin32.sourceforge.net/packages/flex.htm, Complete package, except sources (flex-2.5.4a-1.exe))
Optional:
- Windows Ghostscript (to print)
Update xschemrc to set variable to_pdf and to_png
2. Create new XSchemWin project on Visual Studio 2019

View File

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi">
<Product Id="*" Name="Xschem" Language="1033" Version="2.9.9.4" Manufacturer="Xschem" UpgradeCode="0deb9c17-cbbd-491c-be3e-24446b27ccd5">
<Product Id="*" Name="Xschem" Language="1033" Version="2.9.9.5" Manufacturer="Xschem" UpgradeCode="0deb9c17-cbbd-491c-be3e-24446b27ccd5">
<Package InstallerVersion="200" Compressed="yes" InstallScope="perMachine" />
<WixVariable Id="WixUILicenseRtf"
Value="License.rtf" />
@ -22,7 +22,7 @@
<UpgradeVersion
Property="OLD_VERSION_FOUND"
Minimum="2.9.8.0"
Maximum="2.9.9.3"
Maximum="2.9.9.4"
IncludeMinimum="yes"
IncludeMaximum="no"
OnlyDetect="no"
@ -30,7 +30,7 @@
MigrateFeatures="yes" />
<UpgradeVersion
Property="NEWER_VERSION_FOUND"
Minimum="2.9.9.3"
Minimum="2.9.9.4"
IncludeMinimum="no"
OnlyDetect="yes" />
</Upgrade>
@ -147,9 +147,6 @@
<Component Id="CMPORDERLABELSAWK">
<File Id="ORDERLABELSAWK" KeyPath="yes" Source="../../src/order_labels.awk" />
</Component>
<Component Id="CMPRAWTOVCD">
<File Id="RAWTOVCD" KeyPath="yes" Source="../../src/rawtovcd" />
</Component>
<Component Id="CMPSRCRESOURCESTCL">
<File Id="RESOURCESTCL" KeyPath="yes" Source="../../src/resources.tcl" />
</Component>
@ -325,7 +322,6 @@
<ComponentRef Id="CMPMAKEVHDLFROMSPICEAWK" />
<ComponentRef Id="CMPNETLISTCOMPACTORAWK" />
<ComponentRef Id="CMPORDERLABELSAWK" />
<ComponentRef Id="CMPRAWTOVCD" />
<ComponentRef Id="CMPPARSESYNOPSYSVHDLAWK" />
<ComponentRef Id="CMPREDUCEEVENODDARRAYLABELSAWK" />
<ComponentRef Id="CMPRESCALEAWK" />

View File

@ -13,9 +13,11 @@ SCRIPT_OBJS = \
$(BIN)/scripts/find_stutter.o \
$(BIN)/scripts/find_funlisp.o \
$(BIN)/scripts/find_duktape.o \
$(BIN)/scripts/find_mujs.o \
$(BIN)/scripts/find_fungw.o \
$(BIN)/scripts/find_m4.o \
$(BIN)/scripts/find_welltype.o
$(BIN)/scripts/find_welltype.o \
$(BIN)/scripts/find_picol.o
$(BIN)/scripts/scripts.o: $(SRC)/scripts/scripts.c
$(CC) $(CFLAGS) -c $(SRC)/scripts/scripts.c -o $(BIN)/scripts/scripts.o
@ -59,8 +61,14 @@ $(BIN)/scripts/find_welltype.o: $(SRC)/scripts/find_welltype.c $(SRC)/scripts/sc
$(BIN)/scripts/find_duktape.o: $(SRC)/scripts/find_duktape.c $(SRC)/scripts/scripts.h
$(CC) $(CFLAGS) -c $(SRC)/scripts/find_duktape.c -o $(BIN)/scripts/find_duktape.o
$(BIN)/scripts/find_mujs.o: $(SRC)/scripts/find_mujs.c $(SRC)/scripts/scripts.h
$(CC) $(CFLAGS) -c $(SRC)/scripts/find_mujs.c -o $(BIN)/scripts/find_mujs.o
$(BIN)/scripts/find_funlisp.o: $(SRC)/scripts/find_funlisp.c $(SRC)/scripts/scripts.h
$(CC) $(CFLAGS) -c $(SRC)/scripts/find_funlisp.c -o $(BIN)/scripts/find_funlisp.o
$(BIN)/scripts/find_fungw.o: $(SRC)/scripts/find_fungw.c $(SRC)/scripts/scripts.h
$(CC) $(CFLAGS) -c $(SRC)/scripts/find_fungw.c -o $(BIN)/scripts/find_fungw.o
$(BIN)/scripts/find_picol.o: $(SRC)/scripts/find_picol.c $(SRC)/scripts/scripts.h
$(CC) $(CFLAGS) -c $(SRC)/scripts/find_picol.c -o $(BIN)/scripts/find_picol.o

View File

@ -41,9 +41,11 @@ void deps_scripts_init()
dep_add("libs/script/estutter/*", find_script_estutter);
dep_add("libs/script/funlisp/*", find_script_funlisp);
dep_add("libs/script/duktape/*", find_script_duktape);
dep_add("libs/script/mujs/*", find_script_mujs);
dep_add("libs/script/m4/bin/*", find_script_m4);
dep_add("libs/script/welltype/*", find_script_welltype);
dep_add("libs/script/welltype/wtc/*", find_script_wtc);
dep_add("libs/script/picol/*", find_script_picol);
dep_add("libs/script/fungw/presents", find_script_fungw);
dep_add("libs/script/fungw/user_call_ctx/*", find_script_fungw_user_call_ctx);

View File

@ -25,6 +25,7 @@ int find_script_stutter(const char *name, int logdepth, int fatal);
int find_script_estutter(const char *name, int logdepth, int fatal);
int find_script_funlisp(const char *name, int logdepth, int fatal);
int find_script_duktape(const char *name, int logdepth, int fatal);
int find_script_mujs(const char *name, int logdepth, int fatal);
int find_script_fungw(const char *name, int logdepth, int fatal);
int find_script_fungw_user_call_ctx(const char *name, int logdepth, int fatal);
int find_script_fungw_cfg_pupdir(const char *name, int logdepth, int fatal);
@ -32,3 +33,4 @@ int find_script_fungw_all(const char *name, int logdepth, int fatal);
int find_script_m4(const char *name, int logdepth, int fatal);
int find_script_welltype(const char *name, int logdepth, int fatal);
int find_script_wtc(const char *name, int logdepth, int fatal);
int find_script_picol(const char *name, int logdepth, int fatal);