-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathMakefile
More file actions
33 lines (21 loc) · 770 Bytes
/
Makefile
File metadata and controls
33 lines (21 loc) · 770 Bytes
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
ROOT_DIR := $(shell dirname "$(realpath $(lastword $(MAKEFILE_LIST)))")
.PHONY: all
# General use
all:
$(MAKE) all-online BUILDARGS="$(BUILDARGS)"
all-online:
$(MAKE) invoke-build ENVIRONMENT=Release BUILDARGS="$(BUILDARGS)"
dbg:
$(MAKE) invoke-build ENVIRONMENT=Debug BUILDARGS="$(BUILDARGS)"
dbg-ci:
$(MAKE) invoke-build ENVIRONMENT=Debug BUILDARGS="-p:ContinuousIntegrationBuild=true $(BUILDARGS)"
rel-ci:
$(MAKE) invoke-build ENVIRONMENT=Release BUILDARGS="-p:ContinuousIntegrationBuild=true $(BUILDARGS)"
doc: invoke-doc-build
clean:
python tools/adt.py clean
# Below targets specify functions for full build
invoke-build:
python tools/adt.py build -b "-p:Configuration=$(ENVIRONMENT) $(BUILDARGS)"
invoke-doc-build:
python tools/adt.py gendocs