<div dir="ltr">The warning is probably because of /D_HAS_EXCEPTIONS=0</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Oct 28, 2019 at 1:49 PM Osman Zakir <<a href="mailto:osmanzakir90@hotmail.com">osmanzakir90@hotmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div dir="ltr">
<div style="color:rgb(0,0,0);font-family:Calibri,Helvetica,sans-serif;font-size:12pt">
I'll try to do it all from within the IDE. I noticed that the /EHsc flag is already there (makes me wonder why CMake still gave that warning). But I also noticed something else. What's the reason for this in the Post-Build Event command line for INSTALL.vcxproj?</div>
<div style="color:rgb(0,0,0);font-family:Calibri,Helvetica,sans-serif;font-size:12pt">
<br>
</div>
<div style="color:rgb(0,0,0);font-family:Calibri,Helvetica,sans-serif;font-size:12pt">
"</div>
<div style="color:rgb(0,0,0);font-family:Calibri,Helvetica,sans-serif;font-size:12pt">
<span>setlocal<br>
</span>
<div>"C:\Program Files\CMake\bin\cmake.exe" -DBUILD_TYPE=$(Configuration) -P cmake_install.cmake</div>
<div>if %errorlevel% neq 0 goto :cmEnd</div>
<div>:cmEnd</div>
<div>endlocal & call :cmErrorLevel %errorlevel% & goto :cmDone</div>
<div>:cmErrorLevel</div>
<div>exit /b %1</div>
<div>:cmDone</div>
<span>if %errorlevel% neq 0 goto :VCEnd</span></div>
<div style="color:rgb(0,0,0);font-family:Calibri,Helvetica,sans-serif;font-size:12pt">
"</div>
<div style="color:rgb(0,0,0);font-family:Calibri,Helvetica,sans-serif;font-size:12pt">
<br>
</div>
<div style="color:rgb(0,0,0);font-family:Calibri,Helvetica,sans-serif;font-size:12pt">
Also, libclang.vcxproj has a static runtime set but it was also set to build a DLL instead of a static .lib library. I changed it to have it build a static library. I wonder if that's a good idea.</div>
<div>
<div>
<blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div dir="ltr">
<div>
<div>
<blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
</blockquote>
</div>
</div>
</div>
</blockquote>
</div>
</div>
</div>
</blockquote></div>