forked from eclipse-cdt/cdt
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add a directory tracker to the CBS Makefile builder
Messages such as "make: Entering directory" are now processed so that the scanner info builder knows the correct full path to use for build. Without this code calls to ToolChain.getResourcesFromCommand() would pass in the wrong directory and resources could not be reliably calculated. With the incorrect calculation the scanner info does not get applied to the file correctly and the file cannot be indexed reliably. TODO: - [ ] Decide how to handle make -j as "make: Entering directory" becomes unreliable - [ ] Consider whether we should search project for resources so that the exact build directory is less important - [ ] Consider how to report back to the user that the detected resource was not found in the project.
- Loading branch information
1 parent
c8e47b3
commit 84cf19c
Showing
1 changed file
with
83 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters