summaryrefslogtreecommitdiff
path: root/config/xscdefaults.mpb
blob: f55dedc85c829af5d76367b0f6454c79ee9a8686 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
// -*- MPC -*-
project {
  specific {
    xsc_bin = $(XSC_ROOT)/bin/xsc
    xsc_dep = $(XSC_ROOT)/bin/xsc
    xsc_flags = --backend cxx
  }

  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
  }
}