<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/88143>88143</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
Improve newcomer experience: add a quick-quick start for CMake document.
</td>
</tr>
<tr>
<th>Labels</th>
<td>
new issue
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
peledins-zimperium
</td>
</tr>
</table>
<pre>
This idea came from community.o event from one of the roundtable groups in EuroLLVM 2024.
https://llvm.org/docs/CMake.html#quick-start (docs/CMake.rst) is still not very quick.
This is an ask to add add quick-quick start that preferrably results to one self contained script with reasonable defaults.
After CMAKE install step it could just a script like this, probably with additional comments, possibly with error checking or maybe with text of "please run each command separately and see if errors":
```sh
git clone https://github.com/llvm/llvm-project.git llvm
cd llvm
mkdir mybuilddir
cd mybuilddir
#TODO: what are correct build/cmake flags.
cmake ../
cmake --build .
#TODO: Now where will build be done
cmake --build . --target install
#TODO: Now build is installed (where?)
```
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJyUVMFy4zYM_RrqgrFGpqTYPuiQJuuZTjfdy07vFAlJXFOkCkLxul_fIZVsk20uO2NLI_DhgcADoGK0o0fsRPubaB8LtfIUqFvQobE-7v6x84Jk17nog7l1XycbwRpUoNWMMFCYQYd5Xr3lWxkAn9HzZg4eIQzAEwKF1RtWvUMYKaxLBOvh00rh8-e_nkBWsilF9Siq--05MS9R1PdCnoU8O_c8l4FGIc8m6Cjk-eFJXbCceHZC1n-vVl92kRUxCHl8B6HIQp7ARohsnQMfGJ6RbpCdXmJuKUVQHlS8AAdQxuT_Rp2fsAXgSTEshAMSqd7dgDCujmPySvlGdAPo4FlZjwaiJrswXC1PQKhi8LkGBgeVvN4lfT8wEsDD0_0fn8D6yMo5iIwLWAYdVmfg2xoZ1CursxcEnmwU8gEWCn2-UI6ljLFsg1cui4OeN1CI0f4AIVEg0BPqi_UjBIJZ3XrcDhm_c1JPSLk4VBGBVg-o9JQZlTcQcVGkGN0Ntk8EO2ysUUiZ9HuTnrirtl-cNsOY0nKpaO_lHi1Pa1_qML9o__LaLRS-oeYyOWZ7ptHmzcd8MZZgvvWrdcZY-gH52SRk_fXL4xdR38M1SaoIQQci1AwZKeRZz-qCMDg1vgq1WcoyXfSNYbfLLlD-j_vPcIXrhJSK6tzGDD2CCR4_ZIDdjhWNyK8d8CHlBk5du4HQpM7PgUR9FvL0U8kL09XmVJ9Ugd3-sJd3h6Ns62Lq-upuPxzUoT7KeqiMbhvdn5pK9aZFUzVDYbs0nFVTnfZte6jrsqlldTQHVHp_6PtWiqbCWVlXvk5pYWNcsTse901dONWji3m1SOnxCvkwNUf7WFCXZe3XMYqmcjZy_I-FLTvsfp8XCs8IHq86zEiA39MyQq8x1SLP6QdTOgSCvADABL2m9i-LlVz3a40m5DlfN62TnM6_AQAA___967Qt">