please see below screenshot, my project include some sub libraries, such as libfmc_sm.a, libfmc_misc.a, I added them in the linker settings.
I changed something in libfmc_sm.a, and build, the target file was updated, but when I build my top project, S32DS didn't realize that this lib file is updated, and didn't relink the target actually.
I have to changed something in top project, fox instance, click the space and save, or clean the project, then build the project, the target would relink this time.
can S32DS detect whether the lib is updated, and relink the target automatically when I build project ?
or is there a "synchronize modification dates" function like CodeWarrior, so that I can tell the S32DS to detect the updating ?
thanks, I read the HOWTO link, and it works for S32DS elf project.
but what about a library project which include some sub libraries, there is not a linker option entry for a library project.
how can I let the S32DS to re-archive all the sub libraries if one of them updated ?
I'm afraid that currently there is no way how to add such a dependency into a library project.
Anyway this is an interesting feature that I communicated with the engineering team.
Thanks for your inquiry.
as a workaround for library project, I added a "rm" command to remove the lib target in the "Pre-build steps" form under "C/C++ Build"/"Settings"/"Build Steps".
so that lib target could be generated each time when I click build.