[CMake] Dealing with circular linker dependencies

Tal Blum tblum at bbn.com
Thu Oct 4 14:06:05 EDT 2007


I have two c++ libraries each depending on the other which creates a
circular linker dependency problem. Does anyone know how to solve this
problem? If this is not possible to solve at the command-line level can
someone tell me how I can write a ADD_CUSTOM_COMMAND or ADD_CUSTOM_TARGET
that will collect all the object files into a new library and make my
executable depend on that new library target.

 

Thanks, Tal

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://public.kitware.com/pipermail/cmake/attachments/20071004/ccbc8621/attachment.htm


More information about the CMake mailing list