[CMake] Why prefer ADD_SUBDIRECTORY to SUBDIRS ?

Brandon Van Every bvanevery at gmail.com
Thu Aug 9 13:18:03 EDT 2007


Because aside from any technical reason, one day Kitware will work up
the chutzpah to officially depreciate legacy commands.  If you're
writing new code, there's no point in using the old commands.

Cheers,
Brandon Van Every

On 8/9/07, Christian Convey <christian.convey at gmail.com> wrote:
> The online help says that we should use ADD_SUBDIRECTORY rather than
> SUBDIRS, but that SUBDIRS still works.
>
> Does anyone know why we're supposed to prefer ADD_SUBDIRECTORY?
> _______________________________________________
> CMake mailing list
> CMake at cmake.org
> http://www.cmake.org/mailman/listinfo/cmake
>


More information about the CMake mailing list