in case you upgrade cube porject intregation would you lind about this few points
-use virtual folder and linked folder rather than linked file (use exclude from build to omit non use source file into folders)
that way user can add it’s own source file they will alway be taken into account even if project is regenerated from cube.
-link the include folder into the projects and add the project linked folder in the c/c++ path
it will help indexer and dependecies building (all external include seam not be to part project depends) and ease navigation (call tree etc..)
it appear that changing hal or any user include file is not taken into account for rebuild.
a clean and rebuid must be done what is slow