I've been puzzled over the following problem for about 3/4 days: if I have a CMakeLists.txt with a lot of add_subdirectory how can I automatically generate an eclipse project (containing the source code) for each add_subdirectory?