~aleteoryx/muditaos

ref: 84dd538fa9d47c1ef24ebc76bfd55f50282a42af muditaos/.vscode/tasks.json -rw-r--r-- 5.8 KiB
84dd538f — Mateusz Piesta [BH-1538] Stats info widget 3 years ago
                                                                                
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
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
{
    "version":"2.0.0",
    "tasks": [

        // Linux

        {
            "type": "shell",
            "label": "Configure PurePhone (Linux)",
            "command": "./configure.sh",
            "args": [
                "pure",
                "linux",
                "Debug",
                "-G",
                "Ninja"
            ],
            "options": {
                "cwd": "${workspaceFolder}"
            },
            "group": "build",
            "detail": "Run cmake configure script",
        },
        {
            "type": "shell",
            "label": "Build PurePhone (Linux)",
            "command": "ninja",
            "args": [
                "-j`nproc`",
                "Pure"
            ],
            "options": {
                "cwd": "${workspaceFolder}/build-PurePhone-linux-Debug"
            },
            "group": {
                "kind": "build",
                //"isDefault": true
            },
            "detail": "Build dir has to be configured with Cmake using Ninja",
        },
        {
            "type": "shell",
            "label": "Configure and Build PurePhone (Linux)",
            "group": "build",
            "dependsOn": ["Configure PurePhone (Linux)", "Build PurePhone (Linux)"],
            "dependsOrder": "sequence",
            "detail": "Configure cmake project and build with Ninja",
        },

        {
            "type": "shell",
            "label": "Configure BellHybrid (Linux)",
            "command": "./configure.sh",
            "args": [
                "bell",
                "linux",
                "Debug",
                "-G",
                "Ninja"
            ],
            "options": {
                "cwd": "${workspaceFolder}"
            },
            "group": "build",
            "detail": "Run cmake configure script",
        },
        {
            "type": "shell",
            "label": "Build BellHybrid (Linux)",
            "command": "ninja",
            "args": [
                "-j`nproc`",
                "BellHybrid"
            ],
            "options": {
                "cwd": "${workspaceFolder}/build-BellHybrid-linux-Debug"
            },
            "group": "build",
            "detail": "Build dir has to be configured with Cmake using Ninja",
        },
        {
            "type": "shell",
            "label": "Configure and Build BellHybrid (Linux)",
            "group": "build",
            "dependsOn": ["Configure BellHybrid (Linux)", "Build BellHybrid (Linux)"],
            "dependsOrder": "sequence",
            "detail": "Configure cmake project and build with Ninja",
        },

        // RT1051

        {
            "type": "shell",
            "label": "Configure PurePhone (RT1051)",
            "command": "./configure.sh",
            "args": [
                "pure",
                "rt1051",
                "RelWithDebInfo",
                "-G",
                "Ninja"
            ],
            "options": {
                "cwd": "${workspaceFolder}"
            },
            "group": "build",
            "detail": "Run cmake configure script",
        },
        {
            "type": "shell",
            "label": "Build PurePhone (RT1051)",
            "command": "ninja",
            "args": [
                "-j`nproc`",
                "Pure"
            ],
            "options": {
                "cwd": "${workspaceFolder}/build-PurePhone-rt1051-RelWithDebInfo"
            },
            "group": "build",
            "detail": "Build dir has to be configured with Cmake using Ninja",
        },
        {
            "type": "shell",
            "label": "Configure and Build PurePhone (RT1051)",
            "group": "build",
            "dependsOn": ["Configure PurePhone (RT1051)", "Build PurePhone (RT1051)"],
            "dependsOrder": "sequence",
            "detail": "Configure cmake project and build with Ninja",
        },

        {
            "type": "shell",
            "label": "Configure BellHybrid (RT1051)",
            "command": "./configure.sh",
            "args": [
                "bell",
                "rt1051",
                "RelWithDebInfo",
                "-G",
                "Ninja"
            ],
            "options": {
                "cwd": "${workspaceFolder}"
            },
            "group": "build",
            "detail": "Run cmake configure script",
        },
        {
            "type": "shell",
            "label": "Build BellHybrid (RT1051)",
            "command": "ninja",
            "args": [
                "-j`nproc`",
                "BellHybrid"
            ],
            "options": {
                "cwd": "${workspaceFolder}/build-BellHybrid-rt1051-RelWithDebInfo"
            },
            "group": "build",
            "detail": "Build dir has to be configured with Cmake using Ninja",
        },
        {
            "type": "shell",
            "label": "Configure and Build BellHybrid (RT1051)",
            "group": "build",
            "dependsOn": ["Configure BellHybrid (RT1051)", "Build BellHybrid (RT1051)"],
            "dependsOrder": "sequence",
            "detail": "Configure cmake project and build with Ninja",
        },

        // {
        //     "type": "shell",
        //     "label": "Run JLink Server for PurePhone (RT1051)",
        //     //"command": "if ps -C JLinkGDBServerCLExe -o comm= 2>/dev/null | grep -x JLinkGDBServerC >/dev/null 2>&1; then echo \"JLinkGDBServerCLExe is already running\"; else ./StartJLinkServer.sh; fi",
        //     "command": "./StartJLinkServer.sh",
        //     "args": [
        //     ],
        //     "options": {
        //         "cwd": "${workspaceFolder}"
        //     },
        //     "group": "build", // TEST, this is technically incorrect
        //     "detail": "Run JLink Server for PurePhone required for debugging",
        // },
    ]
}