Skip to content

Commit 5bb5d53

Browse files
committed
🔨 Update sublime project to make possible to build in release/debug
1 parent 330c531 commit 5bb5d53

File tree

1 file changed

+39
-25
lines changed

1 file changed

+39
-25
lines changed

Plugin/InteropUnityCUDA.sublime-project

Lines changed: 39 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,40 +1,55 @@
11
{
2-
"folders":
3-
[
4-
{
5-
"path": "."
6-
}
7-
],
8-
"build_systems": [
2+
"folders": [
3+
{
4+
"path": "."
5+
}
6+
],
7+
"build_systems": [
98
{
109
"name": "PluginInteropUnity - Build",
1110
"target": "terminus_exec",
12-
"focus":true,
13-
"timeit":false,
11+
"focus": true,
12+
"timeit": false,
1413
"file_regex": "^(..[^:]*):([0-9]+):?([0-9]+)?:? (.*)$",
1514
"cancel": "terminus_cancel_build",
1615
"shell_cmd": "MsBuild PluginInteropUnity.sln /t:build",
1716
"working_dir": "${project_path:${folder}}",
1817
},
1918
{
20-
"name": "PluginInteropUnity - Rebuild",
19+
"name": "PluginInteropUnity - Rebuild - Debug",
20+
"target": "terminus_exec",
21+
"focus": true,
22+
"timeit": false,
23+
"file_regex": "^(..[^:]*):([0-9]+):?([0-9]+)?:? (.*)$",
24+
"cancel": "terminus_cancel_build",
25+
"cmd": [
26+
"MsBuild",
27+
"PluginInteropUnity.sln",
28+
"/t:rebuild",
29+
"/p:Configuration=Debug",
30+
],
31+
"working_dir": "${project_path:${folder}}",
32+
},
33+
{
34+
"name": "PluginInteropUnity - Rebuild - Release",
2135
"target": "terminus_exec",
22-
"focus":true,
23-
"timeit":false,
36+
"focus": true,
37+
"timeit": false,
2438
"file_regex": "^(..[^:]*):([0-9]+):?([0-9]+)?:? (.*)$",
2539
"cancel": "terminus_cancel_build",
2640
"cmd": [
2741
"MsBuild",
2842
"PluginInteropUnity.sln",
29-
"/t:rebuild"
43+
"/t:rebuild",
44+
"/p:Configuration=Release",
3045
],
3146
"working_dir": "${project_path:${folder}}",
3247
},
3348
{
3449
"name": "PluginInteropUnity - Rebuild - Launch Unity",
3550
"target": "terminus_exec",
36-
"focus":true,
37-
"timeit":false,
51+
"focus": true,
52+
"timeit": false,
3853
"file_regex": "^(..[^:]*):([0-9]+):?([0-9]+)?:? (.*)$",
3954
"cancel": "terminus_cancel_build",
4055
"shell_cmd": "MsBuild PluginInteropUnity.sln /t:rebuild && Unity -projectPath ${project_path:${folder}}\\..\\InteropUnityCUDA",
@@ -43,8 +58,8 @@
4358
{
4459
"name": "PluginInteropUnity - Clean",
4560
"target": "terminus_exec",
46-
"focus":true,
47-
"timeit":false,
61+
"focus": true,
62+
"timeit": false,
4863
"file_regex": "^(..[^:]*):([0-9]+):?([0-9]+)?:? (.*)$",
4964
"cancel": "terminus_cancel_build",
5065
"cmd": [
@@ -57,8 +72,8 @@
5772
{
5873
"name": "Proj - Utilities Plugin - Build",
5974
"target": "terminus_exec",
60-
"focus":true,
61-
"timeit":false,
75+
"focus": true,
76+
"timeit": false,
6277
"file_regex": "^(..[^:]*):([0-9]+):?([0-9]+)?:? (.*)$",
6378
"cancel": "terminus_cancel_build",
6479
"cmd": [
@@ -71,8 +86,8 @@
7186
{
7287
"name": "Proj - SampleBasic - Build",
7388
"target": "terminus_exec",
74-
"focus":true,
75-
"timeit":false,
89+
"focus": true,
90+
"timeit": false,
7691
"file_regex": "^(..[^:]*):([0-9]+):?([0-9]+)?:? (.*)$",
7792
"cancel": "terminus_cancel_build",
7893
"cmd": [
@@ -85,8 +100,8 @@
85100
{
86101
"name": "Proj - PluginInteropUnityCUDA - Build",
87102
"target": "terminus_exec",
88-
"focus":true,
89-
"timeit":false,
103+
"focus": true,
104+
"timeit": false,
90105
"file_regex": "^(..[^:]*):([0-9]+):?([0-9]+)?:? (.*)$",
91106
"cancel": "terminus_cancel_build",
92107
"cmd": [
@@ -122,7 +137,6 @@
122137
"Unity",
123138
"-projectPath",
124139
"${project_path:${folder}}\\..\\InteropUnityCUDA",
125-
126140
],
127141
"shell": true,
128142
},
@@ -140,4 +154,4 @@
140154
"shell": true,
141155
},
142156
]
143-
}
157+
}

0 commit comments

Comments
 (0)