<htmlxmlns="http://www.w3.org/1999/xhtml"><head><title>CaptureCompilationDatabase (infer.Integration.CaptureCompilationDatabase)</title><linkrel="stylesheet"href="../../../odoc.css"/><metacharset="utf-8"/><metaname="generator"content="odoc 1.5.2"/><metaname="viewport"content="width=device-width,initial-scale=1.0"/><scriptsrc="../../../highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body><divclass="content"><header><nav><ahref="../index.html">Up</a>–<ahref="../../index.html">infer</a>»<ahref="../index.html">Integration</a>» CaptureCompilationDatabase</nav><h1>Module <code>Integration.CaptureCompilationDatabase</code></h1></header><dl><dtclass="spec value"id="val-get_compilation_database_files_buck"><ahref="#val-get_compilation_database_files_buck"class="anchor"></a><code><spanclass="keyword">val</span> get_compilation_database_files_buck : <ahref="../../IBase/BuckMode/index.html#type-clang_compilation_db_deps">IBase.BuckMode.clang_compilation_db_deps</a><span>-></span><span>prog:string</span><span>-></span><span>args:<span>string list</span></span><span>-></span><span><span>[><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><dtclass="spec value"id="val-get_compilation_database_files_xcodebuild"><ahref="#val-get_compilation_database_files_xcodebuild"class="anchor"></a><code><spanclass="keyword">val</span> get_compilation_database_files_xcodebuild : <span>prog:string</span><span>-></span><span>args:<span>string list</span></span><span>-></span><span><span>[><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><dtclass="spec value"id="val-capture"><ahref="#val-capture"class="anchor"></a><code><spanclass="keyword">val</span> capture : <span>changed_files:<span><ahref="../../IBase__SourceFile/index.html#module-Set">IBase.SourceFile.Set</a>.t option</span></span><span>-></span><span>db_files:<span><span>[<<span>`Escaped of string</span><span><span>| `Raw</span> of string</span> ]</span> list</span></span><span>-></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>