-
Notifications
You must be signed in to change notification settings - Fork 2
/
signet.sublime-project
55 lines (55 loc) · 2 KB
/
signet.sublime-project
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
{
"settings": {
"ClangFormat": {
"format_on_save": true
}
},
"folders":
[
{
"folder_exclude_patterns": ["build"],
"path": "."
}
],
"build_systems":
[
{
"name": "Build",
"working_dir": "$project_path/build",
"shell_cmd": "ninja",
"windows": {
"file_regex": "^(?:\\x1b\\[[;\\d]*[A-Za-z])*(?:[^\\\\\\/]*\\\\\\/)*([^\\s].*)\\((\\d+),?(?:\\d+)?\\)\\s*:\\s+((?>error|warning|fatal error).+)"
},
"osx": {
"file_regex": "^(?:\\x1b\\[[;\\d]*[A-Za-z])*([^\\s][\\/\\w -\\\\]+):([0-9]+):([0-9]+): (?>fatal error|error|warning): (.+)$"
},
"variants": [
{
"name": "Run Tests",
"windows": {
"shell_cmd": "call ninja && call tests.exe --silent",
"file_regex": "^(?:\\x1b\\[[;\\d]*[A-Za-z])*(?:[^\\\\\\/]*\\\\\\/)*([^\\s].*)\\((\\d+),?(?:\\d+)?\\)\\s*:\\s+((?>error|warning|fatal error).+)"
},
"osx": {
"shell_cmd": "ninja && ./tests",
"file_regex": "^(?:\\x1b\\[[;\\d]*[A-Za-z])*([^\\s][\\/\\w -\\\\]+):([0-9]+):([0-9]+): (?>fatal error|error|warning): (.+)$"
}
},
{
"name": "CMake",
"shell_cmd": "cmake ../ -G Ninja -DCMAKE_BUILD_TYPE=Debug"
},
{
"name": "CMake Generate Debug",
"working_dir": "$project_path",
"shell_cmd": "cmake -B build -DCMAKE_BUILD_TYPE:STRING=Debug -G Ninja"
},
{
"name": "CMake Generate RelWithDebInfo",
"working_dir": "$project_path",
"shell_cmd": "cmake -B build -DCMAKE_BUILD_TYPE:STRING=RelWithDebInfo -G Ninja"
}
]
}
]
}