You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

2 lines
2.7 KiB

<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>CaptureCompilationDatabase (infer.Integration.CaptureCompilationDatabase)</title><link rel="stylesheet" href="../../../odoc.css"/><meta charset="utf-8"/><meta name="generator" content="odoc 1.5.1"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../../../highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body><div class="content"><header><nav><a href="../index.html">Up</a> <a href="../../index.html">infer</a> &#x00BB; <a href="../index.html">Integration</a> &#x00BB; CaptureCompilationDatabase</nav><h1>Module <code>Integration.CaptureCompilationDatabase</code></h1></header><dl><dt class="spec value" id="val-get_compilation_database_files_buck"><a href="#val-get_compilation_database_files_buck" class="anchor"></a><code><span class="keyword">val</span> get_compilation_database_files_buck : <a href="../../IBase/BuckMode/index.html#type-clang_compilation_db_deps">IBase.BuckMode.clang_compilation_db_deps</a> <span>&#45;&gt;</span> <span>prog:string</span> <span>&#45;&gt;</span> <span>args:<span>string list</span></span> <span>&#45;&gt;</span> <span><span>[&gt; <span>`Raw of string</span> ]</span> list</span></code></dt><dd><p>Get the compilation database files that contain the compilation given by the buck command. It will be the compilation of the passed targets only or also the dependencies according to the flag --buck-compilation-database deps | no-deps</p></dd></dl><dl><dt class="spec value" id="val-get_compilation_database_files_xcodebuild"><a href="#val-get_compilation_database_files_xcodebuild" class="anchor"></a><code><span class="keyword">val</span> get_compilation_database_files_xcodebuild : <span>prog:string</span> <span>&#45;&gt;</span> <span>args:<span>string list</span></span> <span>&#45;&gt;</span> <span><span>[&gt; <span>`Escaped of string</span> ]</span> list</span></code></dt><dd><p>Get the compilation database files that contain the compilation given by the xcodebuild command, using xcpretty.</p></dd></dl><dl><dt class="spec value" id="val-capture"><a href="#val-capture" class="anchor"></a><code><span class="keyword">val</span> capture : <span>changed_files:<span><a href="../../IBase__SourceFile/index.html#module-Set">IBase.SourceFile.Set</a>.t option</span></span> <span>&#45;&gt;</span> <span>db_files:<span><span>[&lt; <span>`Escaped of string</span> <span><span>| `Raw</span> of string</span> ]</span> list</span></span> <span>&#45;&gt;</span> unit</code></dt><dd><p>Run the capture of the files for which we have compilation commands in <code>db_files</code> and <code>changed_files</code>, if specified.</p></dd></dl></div></body></html>