Re: Application build from multiple libs.


Raúl Sánchez Siles
 

El lunes, 5 de julio de 2021 12:36:36 (CEST) tomasz.sleboda via lists.zephyrproject.org escribió:

 

Hi,
I'm trying to port our application to run under Zephyr.
Application itself is build as a set of different libraries (e.g. libComm, libMeasurements...and libapp).
All libs are compiled and linked together with build success, but.. application crashes.

 

Digging deeper into compile process sims that objects under libapp target has proper includes, defines and compile options.
Rest of objects are wrongly compiled.

 

Is there way to populate build options from 'app' target to other libs (subcomponents) and objects via cmake functions?

 

-Tomasz S.


--

Raúl Sánchez Siles


SW Engineer


K-LAGAN EID

Join {users@lists.zephyrproject.org to automatically receive all group messages.