[CMake] cmake dependency checking

Ajay Divekar aj.divekar at gmail.com
Tue Jan 8 13:47:04 EST 2008


Hi,

I have the following directory structure

ProjName
       |
       -> src
             |
             ->lib
             |
             ->app


if I execute cmake -DBUILD_TYPE=Debug at the app level then the linking
fails with missing lib. Obviously this because the lib is not compiled. Is
there any way for me to detect  that when I do cmake in the app folder that
lib is not compiled and then compile for the linking to work. BTW if I do
cmake @ the src level then everything works fine.

Waiting for your replies and thanking you in advance.


Regards,

Aj
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://public.kitware.com/pipermail/cmake/attachments/20080108/429892db/attachment.html


More information about the CMake mailing list