summaryrefslogtreecommitdiffstats
path: root/winbuild/Lex.rules
blob: 298c978c584477d699f2b0c1d14be62a0f062097 (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; $(InputDir)$(InputName).cpp"
			Outputs="$(InputDir)/$(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>