[CMake] recusively calling make install

Stéphane Ancelot sancelot at numalliance.com
Mon Feb 26 03:52:30 EST 2018


Hi,

I have got a master CMake file that includes subprojects as follow :

add_subdirectory(proj1)
add_subdirectory(proj2)

src+proj1

      +proj2

The main problem is that I can run make install in each project 
directory, but not from the top CMake directory in src dir

how to propagate install in each projects?

Regards,

S.ancelot


More information about the CMake mailing list