How to build original library for mbed-os with mbed cli command

HI

I want to use my original library for mbed os
so I need, want to compile / build library with mbed cli command.

however, I cant find how to setup command for building library with mbed command.

Could you let me know how to do ?

thx

Hi Shigenori,

You can use the CLI --library option to specify that a library be built instead of an executable. Please see the markdown documentation here for an explanation of the options:

If you have problems using this option, please tell us:

  • What error are you getting?
  • What is the complete command you are using to build it with the CLI?
  • What library are you starting from and how was it originally built?

Regards,
Ralph, Team Mbed