[CMake] Is there an elegant way to get list of object files participating into a library?

Pere Mato Vila Pere.Mato at cern.ch
Mon Feb 28 04:56:50 EST 2011


On Feb 28, 2011, at 8:38 AM, Hendrik Sattler wrote:

> It's better to have a well-defined API, so you should know what symbols to export...
> Additionally, since gcc can also be selective about the symbols to export, maybe adding the proper export flags in the code would also be a solution.


Yes,  I agree with you. But this is for an option for an existing large project which has been developed over many years exporting all symbols à la unix linkers.   
Thanks.

-------------------------------------------------------------
Pere Mato  CERN, PH Department, CH 1211 Geneva 23, Switzerland
          e-mail: pere.mato at cern.ch      tel: +41 22 76 78696
          fax:  +41 22 76 68792            gsm: +41 76 48 70855




More information about the CMake mailing list