How to create static library and how to include that library in our Project in nrf-Connect SDK

Hi,

can somebody help me out how to create the static library?

I am using nrf-Connect SDK and VS Code. I did'nt find any help regarding this topic.

Thanks & Regards

Thanuha

Parents Reply
  • Thanks a lot Sigurd. 

    now it is compiled successfully. I am little bit confused here what static lib it is taking as input and what it is generating as output static lib.

    this example given above provides the idea of creating and using static library in a single project. I am not much familiar about this cmake file keywords.

    can you please assist me how to create the static library and how to use it in 2 separate projects. what to follow the steps for creation and what to follow for using it?

    thanks & regards

    Thanuha  

Children
Related