--- /dev/null
+<?xml version="1.0" encoding="utf-8"?>\r
+<VisualStudioToolFile\r
+ Name="re2c"\r
+ Version="8.00"\r
+ >\r
+ <Rules>\r
+ <CustomBuildRule\r
+ Name="re2c"\r
+ DisplayName="re2c"\r
+ CommandLine="re2c.exe [AllOptions] [AdditionalOptions] [inputs]"\r
+ Outputs="[$OutputFileName]"\r
+ FileExtensions="*.re"\r
+ ExecutionDescription="Compiling regular expressions..."\r
+ >\r
+ <Properties>\r
+ <StringProperty\r
+ Name="OutputFileName"\r
+ DisplayName="Output File Name"\r
+ Description="Specifies the name of the output source file. (-o[file])"\r
+ Switch="-o"[value]""\r
+ DefaultValue="$(InputDir)$(InputName).cpp"\r
+ />\r
+ <EnumProperty\r
+ Name="Version"\r
+ DisplayName="Show Version Information"\r
+ Description="Displays version information at compile-time. (-v -V)"\r
+ >\r
+ <Values>\r
+ <EnumValue\r
+ Value="0"\r
+ DisplayName="Default"\r
+ />\r
+ <EnumValue\r
+ Value="1"\r
+ Switch="-v"\r
+ DisplayName="Show Version (-v)"\r
+ />\r
+ <EnumValue\r
+ Value="2"\r
+ Switch="-V"\r
+ DisplayName="Show Version as a Number (-V)"\r
+ />\r
+ </Values>\r
+ </EnumProperty>\r
+ <BooleanProperty\r
+ Name="NoLineInfo"\r
+ DisplayName="Suppress Line Information"\r
+ Description="Suppress line-number debugging information in the output file. (-i)"\r
+ Switch="-i"\r
+ />\r
+ <BooleanProperty\r
+ Name="NoGenerationDate"\r
+ DisplayName="Suppress Generation Date"\r
+ Description="Suppress generation-date information in the output file. (--no-generation-date)"\r
+ Switch="--no-generation-date"\r
+ />\r
+ <EnumProperty\r
+ Name="CharacterSet"\r
+ DisplayName="Scanner Character Set"\r
+ PropertyPageName="Code Generation"\r
+ Description="Specifies the generated scanner's character set. (-e, -w, -u)"\r
+ >\r
+ <Values>\r
+ <EnumValue\r
+ Value="0"\r
+ DisplayName="Default"\r
+ />\r
+ <EnumValue\r
+ Value="1"\r
+ Switch="-e"\r
+ DisplayName="EBCDIC (-e)"\r
+ />\r
+ <EnumValue\r
+ Value="2"\r
+ Switch="-w"\r
+ DisplayName="UCS-16 (-w)"\r
+ />\r
+ <EnumValue\r
+ Value="3"\r
+ Switch="-u"\r
+ DisplayName="UTF-32 (-u)"\r
+ />\r
+ </Values>\r
+ </EnumProperty>\r
+ <EnumProperty\r
+ Name="Optimization"\r
+ DisplayName="Optimization Level"\r
+ PropertyPageName="Code Generation"\r
+ Description="Specifies the optimizations used in the scanner. (-s, -b, -g)"\r
+ DefaultValue="2"\r
+ >\r
+ <Values>\r
+ <EnumValue\r
+ Value="0"\r
+ DisplayName="None"\r
+ />\r
+ <EnumValue\r
+ Value="1"\r
+ Switch="-s"\r
+ DisplayName="Use Nested If's (-s)"\r
+ />\r
+ <EnumValue\r
+ Value="2"\r
+ Switch="-b"\r
+ DisplayName="Use Bit Vectors (-b)"\r
+ />\r
+ <EnumValue\r
+ Value="3"\r
+ Switch="-g"\r
+ DisplayName="Use Computed Goto's (GCC Only) (-g)"\r
+ />\r
+ </Values>\r
+ </EnumProperty>\r
+ <BooleanProperty\r
+ Name="StorableState"\r
+ DisplayName="Enable Storable State"\r
+ PropertyPageName="Code Generation"\r
+ Description="Generates a scanner with support for storable state. (-r)"\r
+ Switch="-r"\r
+ />\r
+ <BooleanProperty\r
+ Name="DebugOutput"\r
+ DisplayName="Enable Debugging Output"\r
+ PropertyPageName="Code Generation"\r
+ Description="Generates a scanner that outputs its current position and state. You must define a YYDEBUG(int state, char current) macro to recieve this information. (-d)"\r
+ Switch="-d"\r
+ />\r
+ <BooleanProperty\r
+ Name="SinglePass"\r
+ DisplayName="Single Pass Code Generation"\r
+ PropertyPageName="Code Generation"\r
+ Description="Forces single pass code generation. This disables YYMAXFILL generation prior to last block and cannot be used with storable state. (-1)"\r
+ Switch="-1"\r
+ />\r
+ <BooleanProperty\r
+ Name="Conditions"\r
+ DisplayName="Require Start Conditions"\r
+ PropertyPageName="Code Generation"\r
+ Description="Enables support for (f)lex-like conditions. (-c)"\r
+ Switch="-c"\r
+ />\r
+ <StringProperty\r
+ Name="TypeHeader"\r
+ DisplayName="Condition Header File"\r
+ PropertyPageName="Code Generation"\r
+ Description="Generates a header file that contains types for the (f)lex-like condition support. (-t[file])"\r
+ Switch="-t"[value]""\r
+ />\r
+ </Properties>\r
+ </CustomBuildRule>\r
+ </Rules>\r
+</VisualStudioToolFile>\r