I am asking why CMake doesn&#39;t support the following:<br><br>set_target_properties(${TARGET} PROPERTIES COMPILE_FLAGS_&lt;CONFIG&gt; &quot;-fmyflag&quot;)<br><br><div class="gmail_quote">On Tue, Oct 20, 2009 at 10:44 AM, Tyler <span dir="ltr">&lt;<a href="mailto:tyler@cryptio.net">tyler@cryptio.net</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Please reply to the list so others can help.<br>
<div class="im"><br>
On Mon, Oct 19, 2009 at 06:11:23PM -0600, Steven Wilson wrote:<br>
&gt; Yes, but CMAKE_CXX_FLAGS_&lt;CONFIG&gt; and CMAKE_C_FLAGS_&lt;CONFIG&gt; are global in<br>
&gt; scope.   I want to be able to make changes to the compilation flags at the<br>
&gt; target level based on the current configuration.<br>
<br>
</div>Ok; just wanted to make sure you knew about them.<br>
<br>
Can you use set_source_files_properties() or set_target_properties()<br>
with the COMPILE_FLAGS property?<br>
<font color="#888888"><br>
tyler<br>
</font></blockquote></div><br>