[CMake] Accessing the parent directory of current directory

J Decker d3ck0r at gmail.com
Thu Aug 4 19:52:04 EDT 2011


#include "../peer/peer.h" ?

include_directories( ../peer )
#include <peer.h>


On Thu, Aug 4, 2011 at 4:48 PM, Vinay Raj Hampapur
<vinayraj.hampapur at gmail.com> wrote:
> Hello,
>            I'm new to CMake and am trying to include files present in a
> directory which is a sibling to my own. I want to acheive this by accessing
> the parent directory and then moving into the other child directory.
> Any help in this regard is greatly appreciated.
>
> Thanks,
> Vinay
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the CMake FAQ at:
> http://www.cmake.org/Wiki/CMake_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.cmake.org/mailman/listinfo/cmake
>


More information about the CMake mailing list