[CMake] executing make install

Eric Noulard eric.noulard at gmail.com
Fri Apr 20 14:50:11 EDT 2007


2007/4/20, Ajay Divekar <ajay.divekar at guardiantechintl.com>:
> I have top level directory and then I have sub directories. The way my project
> is specified, I need to execute make install and use those libraries and
> include files for my next sub directory build . Cmake currently does not make
> install before it goes on to build next sub directory. I need to go into
> first sub directory do make install and then go into another directory do
> make install automatically from the top level directory.

I would say that if your subdir needs a make install for what is in top-level
this may mean your toplevel dir should be a separate CMake project?

I would even say that if your subdir depends on make installing each other
there may be either a design problem and or wrong usage of "make install".

May be you could tell us WHY subdir2 needs subdir1 to be make installed?

-- 
Erk


More information about the CMake mailing list