Orb/Doxygen/winbuild/Lex.rules
changeset 0 42188c7ea2d9
equal deleted inserted replaced
-1:000000000000 0:42188c7ea2d9
       
     1 <?xml version="1.0" encoding="utf-8"?>
       
     2 <VisualStudioToolFile
       
     3 	Name="flex"
       
     4 	Version="8.00"
       
     5 	>
       
     6 	<Rules>
       
     7 		<CustomBuildRule
       
     8 			Name="Lex"
       
     9 			DisplayName="Lex"
       
    10 			CommandLine="flex [AllOptions] [AdditionalOptions] [inputs]"
       
    11 			Outputs="$(InputDir)/$(InputName).cpp"
       
    12 			FileExtensions="*.l"
       
    13 			ExecutionDescription="Executing Lex for $(InputDir)/$(InputName).cpp ..."
       
    14 			ShowOnlyRuleProperties="false"
       
    15 			>
       
    16 			<Properties>
       
    17 				<StringProperty
       
    18 					Name="Prefix"
       
    19 					DisplayName="Prefix"
       
    20 					Description="specify scanner prefix other than &quot;yy&quot;"
       
    21 					Switch="-P[value]"
       
    22 					Delimited="true"
       
    23 				/>
       
    24 				<BooleanProperty
       
    25 					Name="Stdout"
       
    26 					DisplayName="Redirect to stdout"
       
    27 					Description="write generated scanner on stdout instead of lex.yy.c"
       
    28 					Switch="-t"
       
    29 				/>
       
    30 				<StringProperty
       
    31 					Name="Output"
       
    32 					DisplayName="Output file name"
       
    33 					Description="Specify output filename"
       
    34 					Switch="-o[value]"
       
    35 					DefaultValue="$(InputDir)$(InputName).cpp"
       
    36 				/>
       
    37 			</Properties>
       
    38 		</CustomBuildRule>
       
    39 	</Rules>
       
    40 </VisualStudioToolFile>