summaryrefslogtreecommitdiffstats
path: root/winbuild/Lex.rules
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2007-02-19 18:51:10 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2007-02-19 18:51:10 (GMT)
commiteb591296685b8268427173e0a24f74abd987170d (patch)
treec87efff649bf31ee31966a867e71ba7f159fca43 /winbuild/Lex.rules
parent84dc695cd534be6a58ae71ec7f2bcf3b6b5e9e64 (diff)
downloadDoxygen-eb591296685b8268427173e0a24f74abd987170d.zip
Doxygen-eb591296685b8268427173e0a24f74abd987170d.tar.gz
Doxygen-eb591296685b8268427173e0a24f74abd987170d.tar.bz2
Release-1.5.1-20070219
Diffstat (limited to 'winbuild/Lex.rules')
-rw-r--r--winbuild/Lex.rules40
1 files changed, 40 insertions, 0 deletions
diff --git a/winbuild/Lex.rules b/winbuild/Lex.rules
new file mode 100644
index 0000000..3f2f5d9
--- /dev/null
+++ b/winbuild/Lex.rules
@@ -0,0 +1,40 @@
+<?xml version="1.0" encoding="utf-8"?>
+<VisualStudioToolFile
+ Name="flex"
+ Version="8.00"
+ >
+ <Rules>
+ <CustomBuildRule
+ Name="Lex"
+ DisplayName="Lex"
+ CommandLine="flex [AllOptions] [AdditionalOptions] [inputs]"
+ Outputs="$(InputDir)/$(InputName).cpp"
+ FileExtensions="*.l"
+ ExecutionDescription="Executing Lex for $(InputDir)/$(InputName).cpp ..."
+ ShowOnlyRuleProperties="false"
+ >
+ <Properties>
+ <StringProperty
+ Name="Prefix"
+ DisplayName="Prefix"
+ Description="specify scanner prefix other than &quot;yy&quot;"
+ Switch="-P[value]"
+ Delimited="true"
+ />
+ <BooleanProperty
+ Name="Stdout"
+ DisplayName="Redirect to stdout"
+ Description="write generated scanner on stdout instead of lex.yy.c"
+ Switch="-t"
+ />
+ <StringProperty
+ Name="Output"
+ DisplayName="Output file name"
+ Description="Specify output filename"
+ Switch="-o[value]"
+ DefaultValue="$(InputDir)$(InputName).cpp"
+ />
+ </Properties>
+ </CustomBuildRule>
+ </Rules>
+</VisualStudioToolFile>