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?