Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a gnuace verbatim section so that we can remove the specific xsc … #116

Merged
merged 1 commit into from
Nov 17, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
}
}