cancel
Showing results for 
Search instead for 
Did you mean: 

Proper way to build a library for another platform

kahlenberg
Associate II

Hi,

I want to build a library for rfal and ndef from https://www.st.com/en/nfc/st25r3916b.html and use it with nRF connect SDK https://www.nordicsemi.com/Products/Development-software/nRF-Connect-SDK

What is the proper way to build a static library? 

Thanks.

1 ACCEPTED SOLUTION
3 REPLIES 3

It was a different question and this one is another question.

I have two choices:

1) List all header directories of rfal and ndef into CMake as include directories and list all source files as source list in CMake and then compile it. The project will have lots of source files.

2) Build a static library from rfal source code and ndef source code and link it to my nRF application.

My question is about 2.

Thanks.