forked from mavlink/MAVSDK
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
113 lines (101 loc) · 3.89 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
all: default
default:
@echo "This project no longer uses a Makefile, but relies solely on CMake."
@echo ""
@echo "You probably want to run something like:"
@echo ""
@echo " mkdir -p build/default"
@echo " cd build/default"
@echo " cmake ../.."
@echo " make"
@echo ""
@echo "or, similarly:"
@echo ""
@echo " cmake -Bbuild/default -H."
@echo " cmake --build build/default"
@echo ""
@echo "The following variables can be set:"
@echo ""
@echo "* -DCMAKE_BUILD_TYPE=Debug -> build in debug mode (or 'Release' for release mode)"
@echo "* -DBUILD_BACKEND=ON -> build with the gRPC backend"
@echo ""
@echo "Find more information on https://www.dronecode.org/sdk/"
ios_simulator:
@echo "This project no longer uses a Makefile, but relies solely on CMake."
@echo ""
@echo "You probably want to run something like:"
@echo ""
@echo " mkdir -p build/ios_simulator"
@echo " cd build/ios_simulator"
@echo " cmake -DCMAKE_TOOLCHAIN_FILE:PATH=tools/ios.toolchain.cmake -DPLATFORM=SIMULATOR64 -DBUILD_BACKEND=ON ../.."
@echo " make"
@echo ""
@echo "or, similarly:"
@echo ""
@echo " cmake -DCMAKE_TOOLCHAIN_FILE:PATH=tools/ios.toolchain.cmake -DPLATFORM=SIMULATOR64 -DBUILD_BACKEND=ON -Bbuild/ios_simulator -H."
@echo " cmake --build build/ios_simulator"
@echo ""
@echo "The following variables can be set:"
@echo ""
@echo "* -DCMAKE_BUILD_TYPE=Debug -> build in debug mode (or 'Release' for release mode)"
@echo ""
@echo "Find more information on https://www.dronecode.org/sdk/"
ios:
@echo "This project no longer uses a Makefile, but relies solely on CMake."
@echo ""
@echo "You probably want to run something like:"
@echo ""
@echo " mkdir -p build/ios"
@echo " cd build/ios"
@echo " cmake -DCMAKE_TOOLCHAIN_FILE:PATH=tools/ios.toolchain.cmake -DBUILD_BACKEND=ON ../.."
@echo " make"
@echo ""
@echo "or, similarly:"
@echo ""
@echo " cmake -DCMAKE_TOOLCHAIN_FILE:PATH=tools/ios.toolchain.cmake -DBUILD_BACKEND=ON -Bbuild/ios -H."
@echo " cmake --build build/ios"
@echo ""
@echo "The following variables can be set:"
@echo ""
@echo "* -DCMAKE_BUILD_TYPE=Debug -> build in debug mode (or 'Release' for release mode)"
@echo ""
@echo "Find more information on https://www.dronecode.org/sdk/"
android_x86:
@echo "This project no longer uses a Makefile, but relies solely on CMake."
@echo "Instructions on how to build for Android will come soon."
android_x86_64:
@echo "This project no longer uses a Makefile, but relies solely on CMake."
@echo "Instructions on how to build for Android will come soon."
android_armeabi-v7a:
@echo "This project no longer uses a Makefile, but relies solely on CMake."
@echo "Instructions on how to build for Android will come soon."
android_arm64-v8a:
@echo "This project no longer uses a Makefile, but relies solely on CMake."
@echo "Instructions on how to build for Android will come soon."
android:
@echo "This project no longer uses a Makefile, but relies solely on CMake."
@echo "Instructions on how to build for Android will come soon."
fix_style:
@echo "This project no longer uses a Makefile, but relies solely on CMake."
@echo ""
@echo "You probably want to run something like:"
@echo ""
@echo " ./tools/fix_style.sh ."
run_unit_tests:
@echo "This project no longer uses a Makefile, but relies solely on CMake."
@echo ""
@echo "You probably want to run something like:"
@echo ""
@echo " ./build/default/unit_tests_runner"
run_unit_tests_offline:
@echo "This project no longer uses a Makefile, but relies solely on CMake."
@echo ""
@echo "You probably want to run something like:"
@echo ""
@echo " ./build/default/unit_tests_runner --gtest_filter=\"-CurlTest.*\""
run_integration_tests:
@echo "This project no longer uses a Makefile, but relies solely on CMake."
@echo ""
@echo "You probably want to run something like:"
@echo ""
@echo " ./build/default/integration_tests/integration_tests_runner"