Documentation of automatic generated targets

CMake automatically generates some targets like all and install.
They are documented here:
https://cmake.org/cmake/help/latest/guide/user-interaction/index.html#selecting-a-target

I recently learned, that it also generates folder specific targets like somedir/mylib/install. Where is this documented? Can I get a list of those targets? Are there more folder specific targets?

Hmm. I’m not seeing documentation to that effect anywhere. It certainly sounds like something useful to have though. I’ve filed an issue about it.

1 Like