summaryrefslogtreecommitdiff
path: root/xsd-examples/cxx/parser/performance/buildfile
blob: 78cfe2eabbcfc420b2f41d2480fbd7a20104a3cc (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
26
# file      : cxx/parser/performance/buildfile
# license   : not copyrighted - public domain

import libs = libxsd%lib{xsd}

./: exe{driver} exe{gen} doc{README}

exe{driver}: {hxx cxx}{* -gen -test-pskel} {hxx ixx cxx}{test-pskel} $libs

exe{driver}: xml{test-50k}: test.input = true

exe{gen}: cxx{gen}
exe{gen}: test = false

cxx.poptions =+ "-I$out_base"

<{hxx ixx cxx}{test-pskel}>: xsd{test} $xsd
{{
  diag xsd ($<[0]) # @@ TMP

  $xsd cxx-parser $xsd_cxx_std   \
       --generate-inline         \
       --skel-file-suffix -pskel \
       --output-dir $out_base    \
       $path($<[0])
}}