UNIX build changed for new source tree layout; fixed char */const char * warnings
[public/netxms.git] / tools / flex_bison.rule
CommitLineData
61f9e538
VK
1<?xml version="1.0" encoding="utf-8"?>\r
2<VisualStudioToolFile\r
3 Name="FLEX &amp; BISON"\r
4 Version="8.00"\r
5 >\r
6 <Rules>\r
7 <CustomBuildRule\r
8 Name="FLEX"\r
9 DisplayName="FLEX"\r
10 CommandLine="flex [AllOptions] -olex.$(InputName).c $(InputName).l"\r
11 Outputs="lex.$(InputName).c"\r
12 AdditionalDependencies="$(InputName).tab.h"\r
13 FileExtensions="*.l"\r
14 ExecutionDescription="Running FLEX on $(InputName).l"\r
15 SupportsFileBatching="true"\r
16 >\r
17 <Properties>\r
18 <StringProperty\r
19 Name="PREFIX"\r
20 DisplayName="Parser prefix"\r
21 Description="Parser prefix"\r
22 Switch="-P[value]"\r
23 DefaultValue="yy"\r
24 />\r
25 </Properties>\r
26 </CustomBuildRule>\r
27 <CustomBuildRule\r
28 Name="BISON"\r
29 DisplayName="BISON"\r
30 CommandLine="bison -b $(InputName) -d -t -v [AllOptions] $(InputName).y"\r
31 Outputs="$(InputName).tab.c;$(InputName).tab.h"\r
32 FileExtensions="*.y"\r
33 ExecutionDescription="Running BISON on $(InputName).y"\r
34 >\r
35 <Properties>\r
36 <StringProperty\r
37 Name="PREFIX"\r
38 DisplayName="Parser prefix"\r
39 Description="Parser prefix"\r
40 Switch="-p [value]"\r
41 DefaultValue="yy"\r
42 />\r
43 </Properties>\r
44 </CustomBuildRule>\r
45 </Rules>\r
46</VisualStudioToolFile>\r