There is a software package consisting of CMake based products in subdirectories of the package root
One needs to go into the subdirectories manually in the proper order and call cmake within these subdirectories. There is no original CMakeLists.txt in the package root.
My attempt was to cover these products all in package root CMakeLists.txt.
This works quite ok via ExternalProject_Add for the dependencies and some common variables.
An issue is, that the external projects implicitly do
make; make install but I would like to have the
make install separate from the root.
So basically I want ExternalProject_Add not to perform the install step (which could be done via
INSTALL_COMMAND "" but how can I collect all install steps for the root
How could this be realized? Is there a better way to integrate individual CMake projects?