On Mon, Mar 14, 2011 at 7:16 PM, Michael Hertling <span dir="ltr">&lt;<a href="mailto:mhertling@online.de">mhertling@online.de</a>&gt;</span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">


2) If you collect the affected files in a separate directory - which is<br>
   probably recommendable anyway - you might set CMAKE_C_COMPILE_OBJECT,<br>
   CMAKE_C_CREATE_SHARED_LIBRARY, CMAKE_C_LINK_EXECUTABLE etc. as well<br>
   as their CXX counterparts in that directory to whatever suits your<br>
   needs, and you can refer to the special placeholders &lt;DEFINES&gt;,<br>
   &lt;FLAGS&gt; etc. from within the abovementioned rule variables.<br></blockquote><div> </div><div>Oh, CMAKE_C_COMPILE_OBJECT is a rule for compiling *.c file, not *.o?<br></div></div>