Skip to content

Commit 72ad0c0

Browse files
committed
Add potential option to use sublime project
1 parent 0fb55ac commit 72ad0c0

File tree

2 files changed

+126
-0
lines changed

2 files changed

+126
-0
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# Application build output
22
build/
33
distribution/
4+
.cache/
45

56
# Created by CPack when executing tests.
67
Testing/
@@ -14,3 +15,4 @@ profile.json
1415

1516
# User defined CMake preset file.
1617
CMakeUserPresets.json
18+
*.sublime-workspace

template.sublime-project

Lines changed: 124 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,124 @@
1+
{
2+
"folders": [
3+
{
4+
"path": ".",
5+
}
6+
],
7+
"settings": {
8+
"cmake": {
9+
"build_folder": "$folder/build",
10+
"command_line_overrides": {
11+
"CMAKE_POLICY_VERSION_MINIMUM": "3.5",
12+
},
13+
},
14+
"LSP": {
15+
"clangd": {
16+
"initializationOptions": {
17+
"clangd.clang-tidy": true,
18+
},
19+
},
20+
},
21+
},
22+
"build_systems":
23+
[
24+
{
25+
"config": "Debug",
26+
"env":
27+
{
28+
},
29+
"generator": "Unix Makefiles",
30+
"name": "Debug",
31+
"target": "cmake_build",
32+
"variants":
33+
[
34+
{
35+
"build_target": "App",
36+
"name": "App"
37+
},
38+
{
39+
"artifact": "src/app/App.app/Contents/MacOS/App",
40+
"build_target": "App",
41+
"name": "Run: App",
42+
"target": "cmake_run"
43+
},
44+
{
45+
"artifact": "src/app/App.app/Contents/MacOS/App",
46+
"build_target": "App",
47+
"debug": true,
48+
"name": "Run under LLDB: App",
49+
"target": "cmake_run"
50+
},
51+
{
52+
"build_target": "Core",
53+
"name": "Core"
54+
},
55+
{
56+
"build_target": "ResourcesTest",
57+
"name": "ResourcesTest"
58+
},
59+
{
60+
"artifact": "src/core/Tests/ResourcesTest",
61+
"build_target": "ResourcesTest",
62+
"name": "Run: ResourcesTest",
63+
"target": "cmake_run"
64+
},
65+
{
66+
"artifact": "src/core/Tests/ResourcesTest",
67+
"build_target": "ResourcesTest",
68+
"debug": true,
69+
"name": "Run under LLDB: ResourcesTest",
70+
"target": "cmake_run"
71+
},
72+
{
73+
"build_target": "SDL2",
74+
"name": "SDL2"
75+
},
76+
{
77+
"build_target": "SDL2-static",
78+
"name": "SDL2-static"
79+
},
80+
{
81+
"build_target": "SDL2_test",
82+
"name": "SDL2_test"
83+
},
84+
{
85+
"build_target": "Settings",
86+
"name": "Settings"
87+
},
88+
{
89+
"build_target": "TestRunner",
90+
"name": "TestRunner"
91+
},
92+
{
93+
"build_target": "doctest_with_main",
94+
"name": "doctest_with_main"
95+
},
96+
{
97+
"build_target": "fmt",
98+
"name": "fmt"
99+
},
100+
{
101+
"build_target": "imgui",
102+
"name": "imgui"
103+
},
104+
{
105+
"build_target": "sdl_headers_copy",
106+
"name": "sdl_headers_copy"
107+
},
108+
{
109+
"build_target": "spdlog",
110+
"name": "spdlog"
111+
},
112+
{
113+
"build_target": "uninstall",
114+
"name": "uninstall"
115+
},
116+
{
117+
"name": "ctest",
118+
"target": "ctest_run"
119+
}
120+
],
121+
"working_dir": "$folder/build"
122+
}
123+
],
124+
}

0 commit comments

Comments
 (0)