summaryrefslogtreecommitdiffstats
path: root/winbuild/Lex.rules
blob: 85b5e18713d8d095fbb48e0d296b9d3f55c1bee5 (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 $(ProjectDir)..\src\increasebuffer.py &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>