summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2020-11-11 12:33:56 +0100
committerJohnny Willemsen <jwillemsen@remedy.nl>2020-11-11 12:33:56 +0100
commit0f45e7d659c224862f9ae652464fbc66149f8491 (patch)
treec2ca1dd294228cdb363653a4f795d335b82702ea /config
parent602a2b7f1f8cc8f483663abaae2c8752bf687eb4 (diff)
downloadMPC-0f45e7d659c224862f9ae652464fbc66149f8491.tar.gz
Add a gnuace verbatim section so that we can remove the specific xsc handling from the gnuace template in ACE
* config/xscdefaults.mpb:
Diffstat (limited to 'config')
-rw-r--r--config/xscdefaults.mpb36
1 files changed, 21 insertions, 15 deletions
diff --git a/config/xscdefaults.mpb b/config/xscdefaults.mpb
index 70ce39d5..f55dedc8 100644
--- a/config/xscdefaults.mpb
+++ b/config/xscdefaults.mpb
@@ -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
+ }
}