|
5 | 5 | "path": "."
|
6 | 6 | }
|
7 | 7 | ],
|
8 |
| - "build_systems": |
9 |
| - [ |
| 8 | + "build_systems": [ |
10 | 9 | {
|
11 | 10 | "name": "PluginInteropUnity - Build",
|
12 |
| - "cmd": ["MsBuild","PluginInteropUnity.sln","/t:build"], |
| 11 | + "target": "terminus_exec", |
| 12 | + "focus":true, |
| 13 | + "timeit":false, |
| 14 | + "file_regex": "^(..[^:]*):([0-9]+):?([0-9]+)?:? (.*)$", |
| 15 | + "cancel": "terminus_cancel_build", |
| 16 | + "shell_cmd": "MsBuild PluginInteropUnity.sln /t:build", |
13 | 17 | "working_dir": "${project_path:${folder}}",
|
14 |
| - "encoding": "utf-8", |
15 | 18 | },
|
16 | 19 | {
|
17 | 20 | "name": "PluginInteropUnity - Rebuild",
|
18 |
| - "cmd": ["MsBuild","PluginInteropUnity.sln","/t:rebuild"], |
| 21 | + "target": "terminus_exec", |
| 22 | + "focus":true, |
| 23 | + "timeit":false, |
| 24 | + "file_regex": "^(..[^:]*):([0-9]+):?([0-9]+)?:? (.*)$", |
| 25 | + "cancel": "terminus_cancel_build", |
| 26 | + "cmd": [ |
| 27 | + "MsBuild", |
| 28 | + "PluginInteropUnity.sln", |
| 29 | + "/t:rebuild" |
| 30 | + ], |
19 | 31 | "working_dir": "${project_path:${folder}}",
|
20 | 32 | },
|
21 | 33 | {
|
22 | 34 | "name": "PluginInteropUnity - Clean",
|
23 |
| - "cmd": ["MsBuild","PluginInteropUnity.sln","/t:clean"], |
| 35 | + "target": "terminus_exec", |
| 36 | + "focus":true, |
| 37 | + "timeit":false, |
| 38 | + "file_regex": "^(..[^:]*):([0-9]+):?([0-9]+)?:? (.*)$", |
| 39 | + "cancel": "terminus_cancel_build", |
| 40 | + "cmd": [ |
| 41 | + "MsBuild", |
| 42 | + "PluginInteropUnity.sln", |
| 43 | + "/t:clean" |
| 44 | + ], |
24 | 45 | "working_dir": "${project_path:${folder}}",
|
25 |
| - "encoding": "utf-8", |
26 |
| - } |
27 |
| - |
| 46 | + }, |
| 47 | + { |
| 48 | + "name": "Proj - Utilities Plugin - Build", |
| 49 | + "target": "terminus_exec", |
| 50 | + "focus":true, |
| 51 | + "timeit":false, |
| 52 | + "file_regex": "^(..[^:]*):([0-9]+):?([0-9]+)?:? (.*)$", |
| 53 | + "cancel": "terminus_cancel_build", |
| 54 | + "cmd": [ |
| 55 | + "MsBuild", |
| 56 | + "-target:Utilities", |
| 57 | + "/t:build" |
| 58 | + ], |
| 59 | + "working_dir": "${project_path:${folder}}", |
| 60 | + }, |
| 61 | + { |
| 62 | + "name": "Proj - SampleBasic - Build", |
| 63 | + "target": "terminus_exec", |
| 64 | + "focus":true, |
| 65 | + "timeit":false, |
| 66 | + "file_regex": "^(..[^:]*):([0-9]+):?([0-9]+)?:? (.*)$", |
| 67 | + "cancel": "terminus_cancel_build", |
| 68 | + "cmd": [ |
| 69 | + "MsBuild", |
| 70 | + "-target:SampleBasic", |
| 71 | + "/t:build" |
| 72 | + ], |
| 73 | + "working_dir": "${project_path:${folder}}", |
| 74 | + }, |
| 75 | + { |
| 76 | + "name": "Proj - PluginInteropUnityCUDA - Build", |
| 77 | + "target": "terminus_exec", |
| 78 | + "focus":true, |
| 79 | + "timeit":false, |
| 80 | + "file_regex": "^(..[^:]*):([0-9]+):?([0-9]+)?:? (.*)$", |
| 81 | + "cancel": "terminus_cancel_build", |
| 82 | + "cmd": [ |
| 83 | + "MsBuild", |
| 84 | + "-target:PluginInteropUnityCUDA", |
| 85 | + "/t:build" |
| 86 | + ], |
| 87 | + "working_dir": "${project_path:${folder}}", |
| 88 | + }, |
| 89 | + { |
| 90 | + "name": "Proj - HybridizationInterop - Build", |
| 91 | + "target": "terminus_exec", |
| 92 | + "focus":true, |
| 93 | + "timeit":false, |
| 94 | + "file_regex": "^(..[^:]*):([0-9]+):?([0-9]+)?:? (.*)$", |
| 95 | + "cancel": "terminus_cancel_build", |
| 96 | + "cmd": [ |
| 97 | + "MsBuild", |
| 98 | + "-target:HybridizationInterop", |
| 99 | + "/t:build" |
| 100 | + ], |
| 101 | + "working_dir": "${project_path:${folder}}", |
| 102 | + }, |
| 103 | + { |
| 104 | + "name": "PluginInterop - Unity", |
| 105 | + "cmd": [ |
| 106 | + "echo", |
| 107 | + "Execute command : ", |
| 108 | + "&&", |
| 109 | + "WHERE.exe", |
| 110 | + "Unity.exe", |
| 111 | + "&&", |
| 112 | + "echo", |
| 113 | + "-projectPath", |
| 114 | + "${project_path:${folder}}\\..\\InteropUnityCUDA", |
| 115 | + "&&", |
| 116 | + "echo", |
| 117 | + "Starting Unity... please wait...", |
| 118 | + "&&", |
| 119 | + "Unity", |
| 120 | + "-projectPath", |
| 121 | + "${project_path:${folder}}\\..\\InteropUnityCUDA", |
| 122 | + |
| 123 | + ], |
| 124 | + "shell": true, |
| 125 | + }, |
| 126 | + { |
| 127 | + "name": "PluginInterop - Premake5 Vs", |
| 128 | + "cmd": [ |
| 129 | + "premake5", |
| 130 | + "--file=${project_path:${folder}}\\premake5.lua", |
| 131 | + "vs2019", |
| 132 | + "&&", |
| 133 | + "premake5", |
| 134 | + "--file=${project_path:${folder}}\\premake5.lua", |
| 135 | + "export-compile-commands" |
| 136 | + ], |
| 137 | + "shell": true, |
| 138 | + }, |
28 | 139 | ]
|
29 | 140 | }
|
0 commit comments