<div dir="ltr"><div class="gmail_quote">
<div dir="ltr">
<div class="gmail_quote">2008/10/6 Werner Smekal <span dir="ltr">&lt;<a href="mailto:smekal@iap.tuwien.ac.at" target="_blank">smekal@iap.tuwien.ac.at</a>&gt;</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( &quot;/wd1234&quot; )</blockquote>
<div>&nbsp;</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>&nbsp;</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&#39;s not a problem.</blockquote>

<div>&nbsp;</div></div>
<div>Indeed. As this is&nbsp;my first attempt at using CMake for a project, I am using it to learn how to use&nbsp;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>&nbsp;</div>
<div>&nbsp;Thanks for your help,</div>
<div>&nbsp;</div>
<div>Tom</div>
<div>&nbsp;</div>
<div>&nbsp;</div></div></div></div></div><br></div>