blob: bdf50ce96a768eee97f7bfeb1820055b84d4d7fc (
plain)
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
|
CommandOptions {
MOCCommandOptions {
MOCOutput {
{
name="-o"
}
delimiter="Space"
merge="Replace"
#flags={"OUTPUTNAME"}
}
MOCDefines {
{
name="-D"
}
delimiter="Touching"
merge="Concat"
}
MOCIncludes {
{
name="-I"
}
delimiter="Touching"
merge="Concat"
flags={"RELATIVEPATH"}
}
}
UICommandOptions {
UIOutput {
{
name="-o"
}
delimiter="Space"
merge="Replace"
flags={"OUTPUTNAME"}
}
}
RCCCommandOptions {
RCCOutput {
{
name="-o"
}
delimiter="Space"
merge="Replace"
flags={"OUTPUTNAME"}
}
RCCName {
{
name="-name"
}
delimiter="Space"
merge="Replace"
}
}
}
Commands {
MOCPreprocessor {
name="MOCPreprocessor"
exec="${QT_BUILD_DIR}/bin/moc"
options={ "MOCCommandOptions", "SpecialOptions" }
}
UIPreprocessor {
name="UIPreprocessor"
exec="${QT_BUILD_DIR}/bin/uic"
options={ "UICommandOptions" }
}
RCCPreprocessor {
name="RCCPreprocessor"
exec="${QT_BUILD_DIR}/bin/rcc"
options={ "RCCCommandOptions" }
}
}
FileTypes {
MocCPP {
name="MOC/Qt Header"
outputExtension="time"
outputType="SourceFile"
command="MOCPreprocessor"
commandLine="${QT_BUILD_DIR}/bin/moc -nn $OPTIONS $INPUTFILE"
progress="MOCing"
extraFiles="$(OUTPUTDIR)/moc_$(OUTPUTNAMEBASE).cpp"
#postExecSafe={"${GHS_TOOLS_DIR}/filechanged work/$(OUTPUTNAME)"}
color="#0020a0"
grepable=true
}
RCC {
name="Qt Resource"
outputExtension="time"
#extensions={"qrc"}
outputType="SourceFile"
command="RCCPreprocessor"
commandLine="${QT_BUILD_DIR}/bin/rcc $OPTIONS $INPUTFILE"
extraFiles="$(OUTPUTDIR)/qrc_$(OUTPUTNAMEBASE).cpp"
progress="Generating Resource source from"
action="Generate Resource source for"
grepable=true
}
UI {
name="Qt Dialog"
outputExtension="time"
#extensions={"ui"}
outputType="SourceFile"
command="UIPreprocessor"
commandLine="${QT_BUILD_DIR}/bin/uic $OPTIONS $INPUTFILE"
extraFiles="$(OUTPUTDIR)/ui_$(OUTPUTNAMEBASE).cpp"
progress="Generating Dialog source from"
action="Generate Dialog source for"
grepable=true
}
}
|