-
Notifications
You must be signed in to change notification settings - Fork 1
/
Matmakefile
66 lines (55 loc) · 893 Bytes
/
Matmakefile
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
# Matmake v2
core
out = core
src =
src/*.cpp
command = [static]
matmake2
in = @core
out = matmake2
src =
src/main/*.cpp
command = [exe]
ldflags = -pthread
# --------------------------------
# This will be simplified in the future
task_test
in = @core
out = task_test
src =
test/task_test.cpp
command = [test]
parse_matmakefile_test
in = @core
out = parse_matmakefile_test
src =
test/parse_matmakefile_test.cpp
command = [test]
build_test
in = @core
out = build_test
src =
test/build_test.cpp
command = [test]
# --------------------------------
tests
in =
@task_test
@parse_matmakefile_test
@build_test
copy = demos
# --------------------------------
all
in =
@matmake2
@tests
includes =
src
lib/json.h/include
test
config =
c++17
Wall
Wpedantic
thread
debug