summaryrefslogtreecommitdiffstats
path: root/winbuild/Lex.rules
blob: 52df3221f1d218ddbf7ed3fcdd8a5823551ec9c7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
<?xml version="1.0" encoding="utf-8"?>
<VisualStudioToolFile
	Name="flex"
	Version="8.00"
	>
	<Rules>
		<CustomBuildRule
			Name="Lex"
			DisplayName="Lex"
			CommandLine="flex [AllOptions] -t -P$(InputName)YY [AdditionalOptions] [inputs] | python &quot;$(ProjectDir)..\src\increasebuffer.py&quot; &gt; $(IntDir)/$(InputName).cpp"
			Outputs="$(IntDir)/$(InputName).cpp"
			FileExtensions="*.l"
			AdditionalDependencies="$(ProjectDir)..\src\increasebuffer.py"
			ExecutionDescription="Executing Lex for $(InputPath) ..."
			ShowOnlyRuleProperties="false"
			>
			<Properties>
				<BooleanProperty
					Name="Case"
					DisplayName="Case insensitive"
					Description="case insensitive"
					Switch="-i"
                                        IsReadOnly="true"
				/>
				<BooleanProperty
					Name="Rules"
					DisplayName="Write used lex rules"
					Description="Write used lex rules"
					Switch="-d"
				/>
			</Properties>
		</CustomBuildRule>
	</Rules>
</VisualStudioToolFile>