<div dir="ltr"><div class="gmail_quote"><br>
<div dir="ltr">
<div class="gmail_quote">
<div class="Ih2E3d">
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<div dir="ltr">
<div class="gmail_quote">
<div>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">
<div dir="ltr">
<div> </div></div></blockquote></div>
<div>1) What does your "unsuccess" mean?</div></div></div></blockquote>
<div> </div></div>
<div>It means that the outcome is a visual studio project which does not use the expected "/wdXXXX" flag for compilation.</div>
<div class="Ih2E3d">
<div> </div>
<div> </div>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<div dir="ltr">
<div class="gmail_quote">
<div><span></span><br>2) You can edit flags from GUI, this should work.</div></div></div></blockquote>
<div> </div></div>
<div>If you mean the Visual Studio GUI, sure, but I would have to do that everytime I re-run CMake, which is precisely what I try to avoid.</div>
<div> </div>
<div>If you mean the CMake GUI, that doesn't work either, because the CMakeLists.txt works as expected there. Meaning, the flag is already there in whichever variable I put it.</div>
<div class="Ih2E3d">
<div> </div>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<div dir="ltr">
<div class="gmail_quote">
<div><span></span><br>3) If you want to override settings, you can set these flags without caching. This usually works too.</div></div></div></blockquote>
<div> </div></div>
<div>Sadly enough, over here it doesn't work either way.</div>
<div> </div></div></div></div><br></div>