-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathMakefile.toml
58 lines (49 loc) · 1.12 KB
/
Makefile.toml
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
extend = [
{ path = "rust/Makefile.toml" },
{ path = "python/Makefile.toml" },
{ path = "java/Makefile.toml" },
{ path = "c/Makefile.toml" },
{ path = "cpp/Makefile.toml" },
]
[config]
default_to_workspace = false
skip_core_tasks = true
[tasks.default]
[tasks.cmake]
command = "cmake"
args = ["../"]
cwd = "cmake.build"
[tasks.cmake-release]
command = "cmake"
args = ["-DCMAKE_BUILD_TYPE=Release", "../"]
cwd = "cmake.build"
[tasks.cmake-release.windows]
command = "cmake"
args = ["../"]
cwd = "cmake.build"
[tasks.cmake-release-macos-aarch64]
command = "cmake"
args = [
"-DCMAKE_BUILD_TYPE=Release",
"-DRust_CARGO_TARGET=aarch64-apple-darwin",
"-DCMAKE_OSX_ARCHITECTURES=arm64",
"../",
]
cwd = "cmake.build"
[tasks.cmake-debug]
command = "cmake"
args = ["-DCMAKE_BUILD_TYPE=Debug", "../"]
cwd = "cmake.build"
[tasks.cmake-debug.windows]
command = "cmake"
args = ["../"]
cwd = "cmake.build"
[tasks.cmake-debug-macos-aarch64]
command = "cmake"
args = [
"-DCMAKE_BUILD_TYPE=Debug",
"-DRust_CARGO_TARGET=aarch64-apple-darwin",
"-DCMAKE_OSX_ARCHITECTURES=arm64",
"../",
]
cwd = "cmake.build"