Skip to content

Commit

Permalink
Merge pull request #116 from jwillemsen/jwi-xscverbatim
Browse files Browse the repository at this point in the history
Add a gnuace verbatim section so that we can remove the specific xsc …
  • Loading branch information
jwillemsen committed Nov 17, 2020
2 parents dd30814 + 0f45e7d commit 134c4b8
Showing 1 changed file with 21 additions and 15 deletions.
36 changes: 21 additions & 15 deletions config/xscdefaults.mpb
Original file line number Diff line number Diff line change
@@ -1,19 +1,25 @@
// -*- MPC -*-
project {
specific {
xsc_bin = $(XSC_ROOT)/bin/xsc
xsc_dep = $(XSC_ROOT)/bin/xsc
xsc_flags = --backend cxx
}
specific {
xsc_bin = $(XSC_ROOT)/bin/xsc
xsc_dep = $(XSC_ROOT)/bin/xsc
xsc_flags = --backend cxx
}

Define_Custom(XSC) {
automatic = 0
dependent = $(XSC_DEP)
command = $(XSC_BIN)
commandflags = $(XSC_FLAGS)
inputext = .xsd
source_outputext = .cpp
header_outputext = .hpp
keyword xscflags = commandflags
}
verbatim(gnuace,macros,1) {
XSC_BIN = $(XSC_ROOT)/bin/xsc
XSC_DEP = $(XSC_ROOT)/bin/xsc$(EXEEXT)
XSC_FLAGS = --backend cxx
}

Define_Custom(XSC) {
automatic = 0
dependent = $(XSC_DEP)
command = $(XSC_BIN)
commandflags = $(XSC_FLAGS)
inputext = .xsd
source_outputext = .cpp
header_outputext = .hpp
keyword xscflags = commandflags
}
}

0 comments on commit 134c4b8

Please sign in to comment.