You could run ar -x at cmake runtime using
execute_process(...)
and then glob the objects.
If your archive is created by cmake, you could write a shell script,
that unpacks the archive and do what you wants with the object files.
Andreas
Am 26.06.2011 07:38, schrieb Dan Furtney:
I
I have a CMakeLists.txt file file that creates an archive from several files.
It includes a custom command that dumps the list of objects from the archive
using ar –x.
I need to link these objects with another custom command. What is the best way
to get the list of objects into the link line? C