[CMake] Is there an elegant way to get list of object files participating into a library?
Micha Renner
Micha.Renner at t-online.de
Mon Feb 28 05:29:20 EST 2011
Am Sonntag, den 27.02.2011, 21:38 +0000 schrieb Pere Mato Vila:
> Hi,
>
> For the Windows platform I am generating the .DEF files with all defined symbols to be exported. For this I need to get the list of all object files (.obj) participating into a library. The question is whether this list is available knowing the library target name. I can try to construct it staring from the list of sources and try to reverse-engineer the correct suffix replacement and their location in the build tree. But clearly would be better if this is given to me directly.
May be "gendef" is an option.
http://sourceforge.net/apps/trac/mingw-w64/wiki/gendef
Micha
More information about the CMake
mailing list