blob: 248dcc691eccca065faf84e77f96f7269653bc93 (
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
|
# file : buildfile
# copyright : Copyright (c) 2009-2017 Code Synthesis Tools CC
# license : MIT; see accompanying LICENSE file
import libs = libcutl%lib{cutl}
exe{cli}: \
{ cxx}{ cli } \
{hxx cxx}{ context } \
{hxx cxx}{ generator } \
{hxx cxx}{ header } \
{hxx cxx}{ html } \
{hxx cxx}{ inline } \
{hxx ixx cxx}{ lexer } \
{hxx cxx}{ man } \
{hxx cxx}{ name-processor } \
{hxx ixx cxx}{ options } \
{hxx cxx}{ option-types } \
{hxx cxx}{ parser } \
{hxx cxx}{ runtime-header } \
{hxx cxx}{ runtime-inline } \
{hxx cxx}{ runtime-source } \
{hxx }{ semantics } \
{hxx cxx}{ source } \
{hxx ixx }{ token } \
{hxx }{ traversal } \
{hxx cxx}{ txt } \
{hxx }{ version } \
semantics/{hxx cxx}{ class } \
semantics/{hxx cxx}{ doc } \
semantics/{hxx cxx}{ elements } \
semantics/{hxx cxx}{ expression } \
semantics/{hxx cxx}{ namespace } \
semantics/{hxx cxx}{ option } \
semantics/{hxx txx cxx}{ unit } \
traversal/{hxx cxx}{ class } \
traversal/{hxx }{ doc } \
traversal/{hxx cxx}{ elements } \
traversal/{hxx }{ expression } \
traversal/{hxx cxx}{ namespace } \
traversal/{hxx cxx}{ option } \
traversal/{hxx cxx}{ unit } \
$libs
hxx{version}: in{version} $src_root/file{manifest}
hxx{version}: dist = true
# Generated options parser.
#
if $cli.configured
{
cli.cxx{options}: cli{options}
cli.options += -I $src_root --include-with-brackets --include-prefix cli \
--guard-prefix CLI --generate-file-scanner --generate-specifier \
--reserved-name stdout
# Include generated cli files into the distribution.
#
cli.cxx{*}: dist = true
}
|