libnxsrv and nxcore moved to VS2005 (nxcore cannot be linked because libnxsl not...
[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
944016d6
VK
10 CommandLine="flex [AllOptions] -olex.$(InputName).cpp $(InputName).l"\r
11 Outputs="lex.$(InputName).cpp"\r
12 AdditionalDependencies="$(InputName).tab.hpp"\r
61f9e538
VK
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
944016d6
VK
25 <BooleanProperty\r
26 Name="USE8BIT"\r
27 DisplayName="Generate 8-bit scanner"\r
28 Description="Generate 8-bit scanner"\r
29 Switch="-8"\r
30 />\r
31 <BooleanProperty\r
32 Name="NOUNISTD"\r
33 DisplayName="Do not include unistd.h"\r
34 Description="Do not include unistd.h"\r
35 Switch="--nounistd"\r
36 />\r
37 <BooleanProperty\r
38 Name="BATCH"\r
39 DisplayName="Generate batch scanner"\r
40 Description="Generate batch scanner"\r
41 Switch="-B"\r
42 />\r
43 <BooleanProperty\r
44 Name="FAST"\r
45 DisplayName="Generate fast scanner"\r
46 Description="Generate fast, large scanner"\r
47 Switch="-f"\r
48 />\r
61f9e538
VK
49 </Properties>\r
50 </CustomBuildRule>\r
51 <CustomBuildRule\r
52 Name="BISON"\r
53 DisplayName="BISON"\r
944016d6
VK
54 CommandLine="bison -b $(InputName) -o $(InputName).tab.cpp -d -t -v [AllOptions] $(InputName).y"\r
55 Outputs="$(InputName).tab.cpp;$(InputName).tab.hpp"\r
61f9e538
VK
56 FileExtensions="*.y"\r
57 ExecutionDescription="Running BISON on $(InputName).y"\r
58 >\r
59 <Properties>\r
60 <StringProperty\r
61 Name="PREFIX"\r
62 DisplayName="Parser prefix"\r
63 Description="Parser prefix"\r
64 Switch="-p [value]"\r
65 DefaultValue="yy"\r
66 />\r
67 </Properties>\r
68 </CustomBuildRule>\r
69 </Rules>\r
70</VisualStudioToolFile>\r