On Jan 8, 2008 1:47 PM, Ajay Divekar <[EMAIL PROTECTED]> wrote: > Hi, > > I have the following directory structure > > ProjName > | > -> src > | > ->lib > | > ->app > > > if I execute cmake -DBUILD_TYPE=Debug at the app level
I don't have any experience running CMake from subdirectories of a source tree. I'll let others comment on that. > 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. Do you have a TARGET_LINK_LIBRARIES command for app, so that lib will be linked? > BTW if I do > cmake @ the src level then everything works fine. Cheers, Brandon Van Every _______________________________________________ CMake mailing list [email protected] http://www.cmake.org/mailman/listinfo/cmake
