-
Notifications
You must be signed in to change notification settings - Fork 2
/
Makefile
44 lines (30 loc) · 985 Bytes
/
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
all: run
enter-build-env:
docker run -it -v $(shell pwd):/src -w /src vsomeip-ros-bridge:base /bin/bash
enter-client-env:
docker run -it -v $(shell pwd):/src -w /src vsomeip-ros-bridge_gnss-client:latest /bin/bash
enter-server-env:
docker run -it -v $(shell pwd):/src -w /src vsomeip-ros-bridge_gnss-server:latest /bin/bash
compose:
docker build . -t vsomeip-ros-bridge:base
docker-compose build
run: compose
docker-compose up
run-force: compose
docker-compose up --force-recreate
clean:
rm -rf build install log
colcon-build:
colcon build
gnss-provider:
colcon build --packages-select gnss_provider
gnss-bridge:
colcon build --packages-select gnss_bridge
gnss-someip-lib:
colcon build --packages-select gnss_someip_lib
gnss-listener:
colcon build --packages-select gnss_listener
format-code:
find ./src -name "*.cpp" -exec clang-format -f {} \;
find ./src -name "*.h" -exec clang-format -f {} \;
.PHONY: compose run enter-build-env build-gnss-provider