<div class="im"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">er..<br>Here&#39;s the directory structure I&#39;m working with :<br>Alice<br>      +    Steve<br>
               + steve.cpp<br>               + steve.h<br>      +    Bob<br>                + bob.cpp<br>                + bob.h<br>    
<br></blockquote></div><br>The CMakeLists.txt file is in the Bob 
folder. I&#39;m trying to include the files from the Steve folder in my 
final build solution. Doing a include_directories(../Steve) did not 
solve my problem.<br>
Any advice?<br><br>Thanks,<br><font color="#888888">Vinay </font><br><br><div class="gmail_quote">On Thu, Aug 4, 2011 at 5:00 PM, j s <span dir="ltr">&lt;<a href="mailto:j.s4403@gmail.com">j.s4403@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Angle brackets &lt;&gt; are for system files, use quotes instead.<br>
<div class="im"><br>
include_directories( ../peer )<br>
#include &quot;peer.h&quot;<br>
<br>
</div>Regards,<br>
<br>
Juan<br>
<div><div></div><div class="h5"><br>
On Thu, Aug 4, 2011 at 6:52 PM, J Decker &lt;<a href="mailto:d3ck0r@gmail.com">d3ck0r@gmail.com</a>&gt; wrote:<br>
&gt; #include &quot;../peer/peer.h&quot; ?<br>
&gt;<br>
&gt; include_directories( ../peer )<br>
&gt; #include &lt;peer.h&gt;<br>
&gt;<br>
&gt;<br>
&gt; On Thu, Aug 4, 2011 at 4:48 PM, Vinay Raj Hampapur<br>
&gt; &lt;<a href="mailto:vinayraj.hampapur@gmail.com">vinayraj.hampapur@gmail.com</a>&gt; wrote:<br>
&gt;&gt; Hello,<br>
&gt;&gt;            I&#39;m new to CMake and am trying to include files present in a<br>
&gt;&gt; directory which is a sibling to my own. I want to acheive this by accessing<br>
&gt;&gt; the parent directory and then moving into the other child directory.<br>
&gt;&gt; Any help in this regard is greatly appreciated.<br>
&gt;&gt;<br>
&gt;&gt; Thanks,<br>
&gt;&gt; Vinay<br>
&gt;&gt;<br>
&gt;&gt; _______________________________________________<br>
&gt;&gt; Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
&gt;&gt;<br>
&gt;&gt; Visit other Kitware open-source projects at<br>
&gt;&gt; <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
&gt;&gt;<br>
&gt;&gt; Please keep messages on-topic and check the CMake FAQ at:<br>
&gt;&gt; <a href="http://www.cmake.org/Wiki/CMake_FAQ" target="_blank">http://www.cmake.org/Wiki/CMake_FAQ</a><br>
&gt;&gt;<br>
&gt;&gt; Follow this link to subscribe/unsubscribe:<br>
&gt;&gt; <a href="http://www.cmake.org/mailman/listinfo/cmake" target="_blank">http://www.cmake.org/mailman/listinfo/cmake</a><br>
&gt;&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>
&gt;<br>
</div></div></blockquote></div><br>