I think you should try:<br><br>get_directory_properties(output INCLUDE_DIRECTORIES)<br>message(STATUS ${output})<br><br>As the <a href="http://www.cmake.org/cmake/help/cmake2.6docs.html#prop_dir:INCLUDE_DIRECTORIES">doc</a> says: &quot;This read-only property specifies the list of directories given so far
to the include_directories command. It is intended for debugging
purposes.&quot;<br><br>HTH,<br><br>Adolfo<br><br><div class="gmail_quote">On Fri, Feb 27, 2009 at 3:24 AM, Christopher Harvey <span dir="ltr">&lt;<a href="mailto:chris@basementcode.com">chris@basementcode.com</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;">Hi Bill,<br>
You can use the MESSAGE(&quot;${SOME_INCLUDES}&quot;) command. You can also use<br>
the verbose makefile to watch the -I flags that are passed to the compiler.<br>
<br>
Chris.<br>
<div><div></div><div class="Wj3C7c"><br>
Bill O&#39;Hara wrote:<br>
&gt; Hi<br>
&gt;<br>
&gt; If I do a few include_directories() commands in various files.. is<br>
&gt; there a variable which I can use to print the current search path as<br>
&gt; changed by those commands?<br>
&gt;<br>
&gt; thanks<br>
&gt; b.<br>
</div></div>&gt; ------------------------------------------------------------------------<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
&gt;<br>
&gt; Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
&gt;<br>
&gt; Please keep messages on-topic and check the CMake FAQ at: <a href="http://www.cmake.org/Wiki/CMake_FAQ" target="_blank">http://www.cmake.org/Wiki/CMake_FAQ</a><br>
&gt;<br>
&gt; Follow this link to subscribe/unsubscribe:<br>
&gt; <a href="http://www.cmake.org/mailman/listinfo/cmake" target="_blank">http://www.cmake.org/mailman/listinfo/cmake</a><br>
<br>
_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the CMake FAQ at: <a href="http://www.cmake.org/Wiki/CMake_FAQ" target="_blank">http://www.cmake.org/Wiki/CMake_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.cmake.org/mailman/listinfo/cmake" target="_blank">http://www.cmake.org/mailman/listinfo/cmake</a><br>
</blockquote></div><br><br clear="all"><br>-- <br>Adolfo Rodríguez Tsouroukdissian<br><br>Robotics engineer<br>PAL ROBOTICS S.L<br><a href="http://www.pal-robotics.com">http://www.pal-robotics.com</a><br>Tel. +34.93.414.53.47<br>
Fax.+34.93.209.11.09<br>