[CMake] ADD_SUBDIRECTORY() with a higher level directory

Daniel Dekkers d.dekkers at cthrough.nl
Thu Nov 3 16:39:05 EDT 2011


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.

Op 3 nov. 2011 om 21:27 heeft Dan Kegel <dank at kegel.com> het volgende geschreven:

> Wait, what happens when you do add_subdirectory(..), or whatever?  I
> thought that was standard practice.


More information about the CMake mailing list