Sha256: 75ab4e6894aa23e8a95700788aa2d0da6620fed2292e9e23cb0c2018931d100e
Contents?: true
Size: 1.49 KB
Versions: 1
Compression:
Stored size: 1.49 KB
Contents
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <title>Documentation of the bake-tookit</title> <style type="text/css"> #rundrum { border-width:1px; border-style:dashed; border-color:blue; padding:0.2cm; text-align:justify; } } </style> </head> <body> <h1>Filter configs</h1> Currently pre and post steps as well as compiler can be filtered.<p> This can be done by defining a filter name in the config, e.g.: <pre id="rundrum"><code>ExecutableConfig A { PreSteps { CommandLine "doSomething /nice", filter: FILTER1 } Toolchain { Compiler CPP { Define "X=Y", filter: FILTER2 Define "ABC", filter: FILTER2, default: off } } }</code></pre> The steps and defines can be forced to be included or excluded with the following command line parameters: <pre id="rundrum"><code>--include_filter FILTER_ABC --exclude_filter FILTER_XY</code></pre> </body> The parameters can be used multiple times. If the filter is not explicitly specified on command line, the steps and defines are included per default except they are marked with "default: off", see above.<p> To include or exclude ALL pre and post steps, two special filter names are defined in bake: "PRE" and "POST".<p> Please note, that when changing filter names on the command line, the source files will <b>not</b> be recompiled automatically. To do so, you may add a "--rebuild" on the command line. </html>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
bake-toolkit-1.4.0 | doc/syntax/filter.html |