<table border="1" cellspacing="0" cellpadding="8">
    <tr>
        <th>Issue</th>
        <td>
            <a href=https://github.com/llvm/llvm-project/issues/123085>123085</a>
        </td>
    </tr>

    <tr>
        <th>Summary</th>
        <td>
            cl : Command line warning D9025 when using AddLLVM.cmake on windows + msvc
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
            new issue
      </td>
    </tr>

    <tr>
      <th>Assignees</th>
      <td>
      </td>
    </tr>

    <tr>
      <th>Reporter</th>
      <td>
          anmyachev
      </td>
    </tr>
</table>

<pre>
    The following lines are probably the reason for this:
* https://github.com/llvm/llvm-project/blob/16e45b8fac797c6d4ba161228b54665492204a9d/llvm/cmake/modules/AddLLVM.cmake#L51
* https://github.com/llvm/llvm-project/blob/16e45b8fac797c6d4ba161228b54665492204a9d/llvm/cmake/modules/AddLLVM.cmake#L66

This is how `googletest` fixes this problem:
https://github.com/google/googletest/pull/1612/files

More details: https://github.com/google/googletest/issues/1611#issue-326697513

Warnings:
```bash
 cl : Command line warning D9025 : overriding '/EHs' with '/EHs-'
  cl : Command line warning D9025 : overriding '/EHc' with '/EHc-'
  cl : Command line warning D9025 : overriding '/GR' with '/GR-'
```
</pre>
<img width="1" height="1" alt="" src="http://email.email.llvm.org/o/eJzMlM1unDAQx5_GXKys7AGb5cCBNCU9JJcoas-2mQW3Bq-wWZq3r_AmWfVDqdpeKiFhz4jfzPyZGRWC7SfEmohrIm4ytcTBz7WaxidlBjxl2ndP9eOA9OCd86udeurshIGqGelx9lpp90TjgHRGFfxED36mcbCB5A1hDYGGDjEe0xVaAm1v47DonfEjgda508vr6jj7z2gigVY7rwm0XGIh9P6gTFmVRnaFVlxygL0WhZSiqABYoaruwjGj-oIE2tF3i8NAoG267u7u4_3u2ZPfCf4_ZiXllhVrHgcbqA108CslkvXe9w4jhkgkowf7FUPSNgnvcDxr_EYlZ8DrIZGgPS7OpUo4EGgPdksqhb_3M9IOo7JuA76l0a_JNoQlVcgl5wTydL_KQcqqFDw_R_mk5slO_UuHSHZ-tAoDYQ01jm6x3_lxVFOXuo2u50_oTcVAJLc_4TzbbjMSKAm07z8EAiVdbRwulqvtxBr691DzE9T8K_T24Qfm7cMz8lWLrKvzrsorlWHNy1xWoqoqkQ11sWdGMWkUFFCi7ErEvew00-yA0sgiszUwEIxzwaXIudgxNFwLbcpC7ZUwmhQMR2XdbuvOnZ_7LP2kmkPO9iJzSqMLaR0ATLjS5CUA23aY6zQTeukDKZizIYYLJtrosP69JuuAE13CZvhuDqif6Gqnzq-BErimYziZbJld_ceTeunCc02nGr4FAAD__4SAgwA">