Link libraries with armcc/armlink

Hi
I’m trying to have a setup for the armcc compiler from Keil/ARM . The compiler is supported well but I get some problem linking libraries.
The correct way of using the linker with test.c and sample.lib is
armlink.exe test.o sample.lib ...
But if I’m using target_link_libraries here what I get in Ninja command:
armlink.exe test.o -l sample.lib
and armlink report an error , the -l flag is not recognized.
How can I link correctly my libs ?

I’m not sure of our status on Keil/ARM support. I remember there being old discussion about it, but I don’t see anything in the repository right now.

Cc: @brad.king

See CMake Issue 19357 for discussion of Keil/ARM support.