[CMake] multiple CMakeLists.txt files in the same directory

Jon W knowdat at gmail.com
Tue Aug 14 14:39:45 EDT 2007


Is it possible to have multiple CMakeLists.txt files within the same
directory?  (We have projects that span/share multiple directories,
and currently all of the vcproj files are within a single directory
for easy editing.)

Or, is the suggested route to create a directory structure such as,

/
  src/foo/foo.cxx
      /apple/apple.cxx

  cmake/foo/CMakeLists.txt
            /apple/CMakeLists.txt

Thanks,
Jon


More information about the CMake mailing list