[CMake] CMake does not recurse subdirectores

Hendrik Sattler post at hendrik-sattler.de
Sun Dec 2 04:13:37 EST 2007


Am Sonntag 02 Dezember 2007 schrieb Sumit Kumar:
> The CMakeLists.txt file in DIR calls
> SUBDIRS(SDir1)
>
> The CMakeLists.txt file in SDir1 has
> SUBDIRS(
> SDir2a
> SDir2b
> )
> SDir2a and SDir2b have their own CMakeLists.txt files

$cmake --help-command subdirs
"The ADD_SUBDIRECTORY command should be used instead of SUBDIRS [...]"

Pretty clear, isn't it?

HS


More information about the CMake mailing list