[CMake] dependency problem

Yifei Li yifli at mtu.edu
Tue Jun 8 15:23:01 EDT 2010


Hi folks,

I'm new to cmake, can anyone help me with the following situation:

I have a project which will generate following targets:  1) the application and a shared library, say MyLib.  2) some plugins(which are also shared libraries) that need to link MyLib, each plugin has its own cmakelists.txt

The problem is when CMakeLists.txt for a plugin is parsed, MyLib does not exist.

What is the correct way to handle this situation?

Thanks

Yifei 


More information about the CMake mailing list