<div dir="ltr"><div class="gmail_quote">
<div dir="ltr">
<div class="gmail_quote">2008/10/6 Werner Smekal <span dir="ltr"><<a href="mailto:smekal@iap.tuwien.ac.at" target="_blank">smekal@iap.tuwien.ac.at</a>></span>
<div class="Ih2E3d"><br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Hi,<br><br>one thing I would try is<br><br>add_definitions( -wd1234 )<br><br>since, cmake changes the - or / automatically for the compiler, as well as<br>
<br>add_definitions( "/wd1234" )</blockquote>
<div> </div></div>
<div>None of these work here. If that indeed works for other configurations, I find this inconsistency rather unpleasing...</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">And as a last idea, you can set these warnings with #pragma calls in your sourcecode. Since this warning is compiler specific anyway, that's not a problem.</blockquote>
<div> </div></div>
<div>Indeed. As this is my first attempt at using CMake for a project, I am using it to learn how to use this tool. This kind of problem and esp. the inconsistency that appears to exist between configurations makes it hard for the beginner to build trust...</div>
<div class="Ih2E3d">
<div> </div>
<div> Thanks for your help,</div>
<div> </div>
<div>Tom</div>
<div> </div>
<div> </div></div></div></div></div><br></div>