Index: docs/TableGenFundamentals.html |
=================================================================== |
--- docs/TableGenFundamentals.html (revision 138929) |
+++ docs/TableGenFundamentals.html (working copy) |
@@ -797,8 +797,18 @@ |
</pre> |
</div> |
+<p>TableGen also supports '<tt>include_if</tt>', which only includes the |
+specified file if TableGen was given a define (similar to pre-processor |
+defines) via the commandline option '<tt>-D</tt>'. Example: |
+ |
+<div class="doc_code"> |
+<pre> |
+<b>include_if</b> "TARGET_FOO" "foo.td" |
+</pre> |
</div> |
+</div> |
+ |
<!-- --------------------------------------------------------------------------> |
<h4> |
<a name="globallet">'let' expressions</a> |