forked from badgeek/TeenyRiotQTWizard
-
Notifications
You must be signed in to change notification settings - Fork 0
/
wizard.json
100 lines (95 loc) · 3.3 KB
/
wizard.json
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
{
"version": 1,
"supportedProjectTypes": [ "CMakeProjectManager.CMakeProject", "Qbs.QbsProject", "Qt4ProjectManager.Qt4Project" ],
"id": "F.TeenyRiotProject",
"category": "H.TeenyRiot",
"trDescription": "Creates a simple C++ TeenyRiot Microcontroller application",
"trDisplayName": "Plain TeenyRiot Application",
"trDisplayCategory": "TeenyRiot",
"icon": "../../global/consoleapplication.png",
"enabled": "true",
"options":
[
{ "key": "CreatorFile", "value": "%{JS: Util.fileName('%{ProjectDirectory}/%{ProjectName}', 'creator')}" },
{ "key": "ConfigFile", "value": "%{JS: Util.fileName('%{ProjectDirectory}/%{ProjectName}', 'config')}" },
{ "key": "ProjectFiles", "value": "%{JS: Util.fileName('%{ProjectDirectory}/%{ProjectName}', 'files')}" },
{ "key": "ProjectIncludes", "value": "%{JS: Util.fileName('%{ProjectDirectory}/%{ProjectName}', 'includes')}" },
{ "key": "UserFile", "value": "%{JS: Util.fileName('%{ProjectDirectory}/%{ProjectName}', 'creator.user')}" }
],
"pages":
[
{
"trDisplayName": "Project Location",
"trShortTitle": "Location",
"typeId": "Project"
},
{
"trDisplayName": "TeenyRiot Core Location",
"trShortTitle": "TeenyRiot Core",
"typeId": "Fields",
"data" :
[
{
"name": "ArduinoPath",
"trDisplayName": "Arduino Path:",
"mandatory": true,
"type": "LineEdit",
"data": {
"trText": "/Applications/Development/Arduino.app"
}
},
{
"name": "TeenyRiotPath",
"trDisplayName": "TeenyRiot Path:",
"mandatory": true,
"type": "LineEdit",
"data": {
"trText": "/Users/xcorex/Documents/Arduino/hardware/TeenyRiot/avr"
}
}
]
}
],
"generators":
[
{
"typeId": "File",
"data":
[
{
"source": "project.creator.user",
"target": "%{UserFile}"
},
{
"source": "project.creator",
"target": "%{CreatorFile}",
"openAsProject": true
},
{
"source": "project.config",
"target": "%{ConfigFile}"
},
{
"source": "project.files",
"target": "%{ProjectFiles}"
},
{
"source": "project.includes",
"target": "%{ProjectIncludes}"
},
{
"source": "src/main.cpp",
"target": "%{ProjectDirectory}/src/main.cpp"
},
{
"source": "src/Makefile",
"target": "%{ProjectDirectory}/src/Makefile"
},
{
"source": "src/Library.md",
"target": "%{ProjectDirectory}/libraries/Library.md"
}
]
}
]
}