-
Notifications
You must be signed in to change notification settings - Fork 0
/
cp-boii.sublime-project
146 lines (146 loc) · 3.3 KB
/
cp-boii.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
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
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
{
"folders":
[
{
"path": ".",
"file_exclude_patterns": []
}
],
"settings": {
"tab_size": 2,
"font_face": "JetBrainsMono NF",
"font_size": 12,
"caret_extra_top": 3,
"caret_extra_bottom": 5,
"caret_extra_width": 1,
},
"build_systems": [
{
"name": "Project Build System",
"working_dir": "$folder",
"file_regex": "^[ ]*File \"(...*?)\", line ([0-9]*)",
"variants": [
{
"name": "⚙️ Generate Makefiles using Premake5",
"windows": {
"shell_cmd": ".\\scripts\\windows\\gen_makefiles.bat"
},
"osx": {
"shell_cmd": "premake5 --cc=gcc gmake2"
},
"linux": {
"shell_cmd": "premake5 --cc=gcc gmake2"
}
},
{
"name": "📤 Export compile commands using Premake5",
"windows": {
"shell_cmd": ".\\scripts\\windows\\export_compile_commands.bat"
},
"osx": {
"shell_cmd": "premake5 export-compile-commands"
},
"linux": {
"shell_cmd": "premake5 export-compile-commands"
}
},
{
"name": "🔨 Build: 🪲 Debug",
"windows": {
"shell_cmd": "start .\\scripts\\windows\\build_debug.bat"
},
"osx": {
"shell_cmd": "make config=debug"
},
"linux": {
"shell_cmd": "make config=debug"
}
},
{
"name": "🔨 Build: 🚀 Release",
"windows": {
"shell_cmd": "start .\\scripts\\windows\\build_release.bat"
},
"osx": {
"shell_cmd": "make config=release"
},
"linux": {
"shell_cmd": "make config=release"
}
},
{
"name": " ▶️ Run: 🪲 Debug",
"windows": {
"shell_cmd": "start .\\scripts\\windows\\run_debug.bat"
},
"osx": {
"shell_cmd": "./bin/Debug/MarkdownParser__Header"
},
"linux": {
"shell_cmd": "./bin/Debug/cp-boii src/file_content_viewer.cpp"
}
},
{
"name": " ▶️ Run: 🚀 Release",
"windows": {
"shell_cmd": "start .\\scripts\\windows\\run_release.bat"
},
"osx": {
"shell_cmd": "./bin/Release/MarkdownParser__Header"
},
"linux": {
"shell_cmd": "./scripts/linux/run_release.sh"
}
},
// {
// "name": "🛠️ Build TestBuilder",
// "windows": {
// "shell_cmd": "start .\\scripts\\windows\\build_testbuilder.bat"
// },
// "osx": {
// "shell_cmd": "./scripts/macos/build_testbuilder.sh"
// },
// "linux": {
// "shell_cmd": "./scripts/linux/build_testbuilder.sh"
// }
// },
// {
// "name": "✅ Test",
// "windows": {
// "shell_cmd": "start .\\scripts\\windows\\run_tests.bat"
// },
// "osx": {
// "shell_cmd": "./scripts/macos/run_tests.sh"
// },
// "linux": {
// "shell_cmd": "./scripts/linux/run_tests.sh"
// }
// },
{
"name": "✨ Format code with Clang",
"windows": {
"shell_cmd": ".\\scripts\\windows\\format_code.bat"
},
"osx": {
"shell_cmd": "./scripts/macos/format_code.sh"
},
"linux": {
"shell_cmd": "./scripts/linux/format_code.sh"
}
},
{
"name": "🧹Clean",
"windows": {
"shell_cmd": ".\\scripts\\windows\\clean.bat"
},
"osx": {
"shell_cmd": "./scripts/macos/clean.sh"
},
"linux": {
"shell_cmd": "./scripts/linux/clean.sh"
}
}
],
}
]
}