[CMake] ADD_SUBDIRECTORY() with a higher level directory
Rolf Eike Beer
eike at sf-mail.de
Thu Nov 3 17:21:26 EDT 2011
Am Donnerstag, 3. November 2011, 21:39:05 schrieb Daniel Dekkers:
> It's standard practice if you go down your hierarchy, hence
> add_SUBdirectory(). But "upstream"? add_subdirectory(../../library)?
> Doesn't work.
> Maybe a standard include() with an absolute path, but doesn't feel right.
Look at the documentation: it works, but you also have to provide a binary
directory in that case.
Eike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://www.cmake.org/pipermail/cmake/attachments/20111103/82894c05/attachment.pgp>
More information about the CMake
mailing list