[CMake] Tag Variable <OBJECTS>

Alexander Neundorf a.neundorf-work at gmx.net
Wed Apr 21 12:56:42 EDT 2010


On Wednesday 21 April 2010, Matthias Goesswein wrote:
> Hello!
>
> My libarian-tool needs a flag before each object file:
>
> e.g.
>
> libarian -a file1.o -a file2.o -a file3.o library.a
>
> CMake provides the <OBJECTS> tag variable for use within the rule
> variable of the libarian, but i didn't fond a way to insert the "-a"
> flags before each object file.
>
> Is there any way for doing that?

AFAIK no.
Please put it as feature request in the bug tracker.
What kind of toolchain are you using ?

Alex


More information about the CMake mailing list