-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
117 lines (89 loc) · 1.93 KB
/
Makefile
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
all: dev
.PHONY: dev
.PHONY: clean
.PHONY: dist-clean
.PHONY: static-clean
.PHONY: shared-clean
.PHONY: module-clean
.PHONY: static-debug
.PHONY: static-release
.PHONY: shared-debug
.PHONY: shared-relase
.PHONY: static
.PHONY: shared
.PHONY: cmake
.PHONY: module-debug
.PHONY: module-release
.PHONY: module
.PHONY: validate
.PHONY: coverage
.PHONY: build-cpp-tests
.PHONY: cpp-tests
.PHONY: py-tests
.PHONY: tests
.PHONY: dist
.PHONY: install
.PHONY: uninstall
.PHONY: doc
.PHONY: logo
SCRIPTS_DIR = ./scripts
dev:
# @make clean
@make uninstall
@make module-release
@make install
clean:
@python $(SCRIPTS_DIR)/make-clean.py all
dist-clean:
@python $(SCRIPTS_DIR)/make-clean.py dist
static-clean:
@python $(SCRIPTS_DIR)/make-clean.py static
shared-clean:
@python $(SCRIPTS_DIR)/make-clean.py shared
module-clean:
@python $(SCRIPTS_DIR)/make-clean.py module
static-debug:
@python $(SCRIPTS_DIR)/make-library.py static Debug
static-release:
@python $(SCRIPTS_DIR)/make-library.py static release
shared-debug:
@python $(SCRIPTS_DIR)/make-library.py shared debug
shared-relase:
@python $(SCRIPTS_DIR)/make-library.py shared release
static:
@make static-release
shared:
@make shared-release
cmake:
@python $(SCRIPTS_DIR)/make-cmake.py
module-debug:
@python $(SCRIPTS_DIR)/make-module.py Debug
module-release:
@python $(SCRIPTS_DIR)/make-module.py Release
module:
@make module-release
validate:
@python $(SCRIPTS_DIR)/make-validate.py
build-cpp-tests:
@make static-debug
@python $(SCRIPTS_DIR)/make-cpp-tests.py Debug
coverage:
@make cpp-tests
@python $(SCRIPTS_DIR)/run-code-coverage.py
cpp-tests:
@make build-cpp-tests
@python $(SCRIPTS_DIR)/make-run-cpp-tests.py
py-tests:
@python $(SCRIPTS_DIR)/make-py-tests.py
tests:
@make cpp-tests
@make py-tests
dist:
@python $(SCRIPTS_DIR)/make-dist.py
install:
@make dist
@python $(SCRIPTS_DIR)/make-install.py
uninstall:
@python $(SCRIPTS_DIR)/make-uninstall.py
doc:
@doxygen