-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathlofty.comk
More file actions
182 lines (167 loc) · 5.74 KB
/
lofty.comk
File metadata and controls
182 lines (167 loc) · 5.74 KB
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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
%YAML 1.2
# -*- coding: utf-8; mode: yaml; tab-width: 3; indent-tabs-mode: nil -*-
#
# Copyright 2013-2018 Raffaello D. Di Napoli
#
# This file is part of Lofty.
#
# Lofty is free software: you can redistribute it and/or modify it under the terms of version 2.1 of the GNU
# Lesser General Public License as published by the Free Software Foundation.
#
# Lofty is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied
# warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License
# for more details.
#-------------------------------------------------------------------------------------------------------------
--- !complemake/project
brief: Complemake file for Lofty.
targets:
- !complemake/target/dynlib
name: lofty
brief: Main Lofty dynamic shared library.
sources:
- src/lofty/app.cxx
- src/lofty/collections.cxx
- src/lofty/collections/_pvt/hash_map_impl.cxx
- src/lofty/collections/_pvt/trie_ordered_multimap_impl.cxx
- src/lofty/collections/_pvt/vextr_impl.cxx
- src/lofty/coroutine.cxx
- src/lofty/exception.cxx
- src/lofty/exception-throw_os_error.cxx
- src/lofty/from_text_istream.cxx
- src/lofty/io.cxx
- src/lofty/io/binary.cxx
- src/lofty/io/binary/default_buffered.cxx
- src/lofty/io/binary/file-subclasses.cxx
- src/lofty/io/text.cxx
- src/lofty/io/text/binbuf.cxx
- src/lofty/io/text/str.cxx
- src/lofty/lofty.cxx
- src/lofty/memory.cxx
- src/lofty/net.cxx
- src/lofty/net/tcp.cxx
- src/lofty/net/udp.cxx
- src/lofty/os.cxx
- src/lofty/os/path.cxx
- src/lofty/perf/stopwatch.cxx
- src/lofty/process.cxx
- src/lofty/_pvt/signal_dispatcher.cxx
- src/lofty/_std.cxx
- src/lofty/text.cxx
- src/lofty/text/char_ptr_to_str_adapter.cxx
- src/lofty/text/char_traits.cxx
- src/lofty/text/parsers/ansi_escape_sequences.cxx
- src/lofty/text/parsers/dynamic.cxx
- src/lofty/text/parsers/regex.cxx
- src/lofty/text/str.cxx
- src/lofty/text/str_traits.cxx
- src/lofty/text/ucd.cxx
- src/lofty/thread.cxx
- src/lofty/to_text_ostream.cxx
tests:
- !complemake/target/exetest
name: lofty-test
brief: Main test for Lofty.
sources:
- test/lofty/collections/hash_map.cxx
- test/lofty/collections/list.cxx
- test/lofty/collections/queue.cxx
- test/lofty/collections/static_list.cxx
- test/lofty/collections/trie_ordered_multimap.cxx
- test/lofty/collections/vector.cxx
- test/lofty/coroutine.cxx
- test/lofty/exception.cxx
- test/lofty/from_text_istream.cxx
- test/lofty/io/text/binbuf_istream-read.cxx
- test/lofty/io/text/istream-scan.cxx
- test/lofty/io/text/ostream-print.cxx
- test/lofty/lofty-test.cxx
- test/lofty/net.cxx
- test/lofty/os/path.cxx
- test/lofty/process.cxx
- test/lofty/text/parsers/dynamic.cxx
- test/lofty/text/str.cxx
- test/lofty/text/str_traits.cxx
- test/lofty/thread.cxx
- test/lofty/to_text_ostream.cxx
libraries:
- lofty-testing
- !complemake/target/tooltest
name: lofty-cpp-test
brief: Test for Lofty’s preprocessor macros.
expected output: test/lofty-cpp/cpp.cxx.i
output transform:
- !complemake/target/filter-output-transform "LOFTY_TEST_CMP_BEGIN.*?LOFTY_TEST_CMP_END"
sources:
- path: test/lofty-cpp/cpp.cxx
tool: preproc
- !complemake/target/dynlib
name: lofty-testing
brief: Testing support library.
sources:
- src/lofty-testing/lofty-testing.cxx
libraries:
- lofty
# Examples ######################################################################################
- !complemake/target/exe
name: hello-world
brief: "Example: “Hello World”."
sources:
- examples/hello-world.cxx
libraries:
- lofty
- !complemake/target/exe
name: cat
brief: "Example: “cat” utility."
sources:
- examples/cat.cxx
libraries:
- lofty
- !complemake/target/exe
name: exceptions
brief: "Example: exceptions and stack traces."
sources:
- examples/exceptions.cxx
libraries:
- lofty
- !complemake/target/exe
name: coroutines
brief: "Example: using coroutines."
sources:
- examples/coroutines.cxx
libraries:
- lofty
- !complemake/target/exe
name: echo-server
brief: "Example: TCP “echo” server implemented using coroutines."
sources:
- examples/echo-server.cxx
libraries:
- lofty
- !complemake/target/exe
name: udp-client
brief: "Example: UDP client."
sources:
- examples/udp-client.cxx
libraries:
- lofty
- !complemake/target/exe
name: udp-echo-server
brief: "Example: UDP “echo” server implemented using coroutines."
sources:
- examples/udp-echo-server.cxx
libraries:
- lofty
- !complemake/target/exe
name: http-server
brief: "Example: basic HTTP server implemented using coroutines."
sources:
- examples/http-server.cxx
libraries:
- lofty
- !complemake/target/exe
name: maps-comparison
brief: Comparison of map implementations.
sources:
- examples/maps-comparison.cxx
libraries:
- lofty