* Bring back rbuild build to be used until bug 6372 is fixed.
[reactos.git] / tools / rbuild / backend / msvc / rules / spec.rules
1 <?xml version="1.0" encoding="utf-8"?>
2 <VisualStudioToolFile
3 Name="Spec"
4 Version="8,00"
5 >
6 <Rules>
7 <CustomBuildRule
8 Name="spec"
9 DisplayName="Spec"
10 CommandLine="&quot;$(Tools)\winebuild\winebuild.exe&quot; -F $(TargetFileName) -o [DefFile] --def -k -E [inputs] | &quot;$(Tools)\winebuild\winebuild.exe&quot; -F $(TargetFileName) -o [StubsFile] --pedll -k -E [inputs]"
11 Outputs="[DefFile]"
12 FileExtensions="*.spec"
13 ExecutionDescription="Generating module definition file"
14 >
15 <Properties>
16 <StringProperty
17 Name="DefFile"
18 DisplayName="DefFile"
19 Description="The path of the def file"
20 Switch="&quot;[value]&quot;"
21 DefaultValue="$(IntDir)\$(InputName).def"
22 />
23 <StringProperty
24 Name="StubsFile"
25 DisplayName="StubsFile"
26 Description="The path of the spec file"
27 Switch="&quot;[value]&quot;"
28 DefaultValue="$(IntDir)\$(InputName).stubs.c"
29 />
30 </Properties>
31 </CustomBuildRule>
32 <CustomBuildRule
33 Name="Pspec"
34 DisplayName="pspec"
35 CommandLine="cl /nologo /EP [includes] [inputs] &gt; [Specfile]"
36 Outputs="[Specfile]"
37 FileExtensions="*.pspec"
38 ExecutionDescription="Generating module definition file"
39 >
40 <Properties>
41 <StringProperty
42 Name="includes"
43 DisplayName="includes"
44 Switch="/I &quot;[value]&quot;"
45 Delimited="true"
46 />
47 <StringProperty
48 Name="Specfile"
49 DisplayName="Spec file"
50 Description="Spec file"
51 Switch="&quot;[value]&quot;"
52 DefaultValue="$(IntDir)\$(InputName).spec"
53 />
54 </Properties>
55 </CustomBuildRule>
56 </Rules>
57 </VisualStudioToolFile>