libnxsrv and nxcore moved to VS2005 (nxcore cannot be linked because libnxsl not...
[public/netxms.git] / tools / flex_bison.rule
1 <?xml version="1.0" encoding="utf-8"?>
2 <VisualStudioToolFile
3 Name="FLEX &amp; BISON"
4 Version="8.00"
5 >
6 <Rules>
7 <CustomBuildRule
8 Name="FLEX"
9 DisplayName="FLEX"
10 CommandLine="flex [AllOptions] -olex.$(InputName).cpp $(InputName).l"
11 Outputs="lex.$(InputName).cpp"
12 AdditionalDependencies="$(InputName).tab.hpp"
13 FileExtensions="*.l"
14 ExecutionDescription="Running FLEX on $(InputName).l"
15 SupportsFileBatching="true"
16 >
17 <Properties>
18 <StringProperty
19 Name="PREFIX"
20 DisplayName="Parser prefix"
21 Description="Parser prefix"
22 Switch="-P[value]"
23 DefaultValue="yy"
24 />
25 <BooleanProperty
26 Name="USE8BIT"
27 DisplayName="Generate 8-bit scanner"
28 Description="Generate 8-bit scanner"
29 Switch="-8"
30 />
31 <BooleanProperty
32 Name="NOUNISTD"
33 DisplayName="Do not include unistd.h"
34 Description="Do not include unistd.h"
35 Switch="--nounistd"
36 />
37 <BooleanProperty
38 Name="BATCH"
39 DisplayName="Generate batch scanner"
40 Description="Generate batch scanner"
41 Switch="-B"
42 />
43 <BooleanProperty
44 Name="FAST"
45 DisplayName="Generate fast scanner"
46 Description="Generate fast, large scanner"
47 Switch="-f"
48 />
49 </Properties>
50 </CustomBuildRule>
51 <CustomBuildRule
52 Name="BISON"
53 DisplayName="BISON"
54 CommandLine="bison -b $(InputName) -o $(InputName).tab.cpp -d -t -v [AllOptions] $(InputName).y"
55 Outputs="$(InputName).tab.cpp;$(InputName).tab.hpp"
56 FileExtensions="*.y"
57 ExecutionDescription="Running BISON on $(InputName).y"
58 >
59 <Properties>
60 <StringProperty
61 Name="PREFIX"
62 DisplayName="Parser prefix"
63 Description="Parser prefix"
64 Switch="-p [value]"
65 DefaultValue="yy"
66 />
67 </Properties>
68 </CustomBuildRule>
69 </Rules>
70 </VisualStudioToolFile>