Content originally posted in LPCWare by EarlBryner on Fri Dec 19 15:47:00 MST 2014
Many new users struggle with the requirement to build the library projects in order to link the examples. Could the projects be changed to refer to the library files directly?
Reply (Earl Bryner)
This is understandable however the problem with making every project reference the lib files (like chip and board) directly is a maintenance issue. If / when we need to add a new module to a library, we would then have to modify 30+ projects to include the new link which becomes a lot of extra work and introduces the possibility of missing one etc. To help mitigate this problem, the LPCXpresso projects automatically have a dependency built in which forces the library to be built prior to linking. I am not aware of a mechanism to enforce this in Keil or IAR. There may be other creative ways to solve this problem so we are open to other suggestions.