[CMake] library name from subdirectory and setting the CACHE - a "listening" variable?
Alexander Neundorf
a.neundorf-work at gmx.net
Thu Jul 29 12:37:16 EDT 2010
On Thursday 29 July 2010, Eric Noulard wrote:
> 2010/7/29 Clifford Yapp <cliffyapp at gmail.com>:
> > Got it - was using a VTK macro for third_party inclusion that was
> > using SUBDIRS - switching it to ADD_DIRECTORY got me going. Awesome!
>
> SUBDIRS is deprecated but it's good to know that it's behavior
> is not strictly equivalent to ADD_DIRECTORY in some case.
SUBDIRS() are processed after the rest of the CMakeLists.txt has been
processed, ADD_SUBDIRECTORY() is processed immediately.
Alex
More information about the CMake
mailing list