| Summary: | miscellaneous/build variables will not update the indexer | ||
|---|---|---|---|
| Product: | [Tools] CDT | Reporter: | charlls_quarra |
| Component: | cdt-build-managed | Assignee: | Project Inbox <cdt-build-managed-inbox> |
| Status: | NEW --- | QA Contact: | Jonah Graham <jonah> |
| Severity: | enhancement | ||
| Priority: | P3 | CC: | yevshif |
| Version: | 8.0 | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
Build Identifier: 20100917-0705 you can add a custom build variable (say, UNITTEST_CPP_CXXFLAGS) and then go to properties->c++ build->settings->tool settings->c++ compiler(miscellaneous) and to 'other flags', and add ${UNITTEST_CPP_CXXFLAGS} there. The compilation step will suceed, however, if the variable is something like "-I/home/users/third_party/UnitTest++/src", the indexer will not be updated with the new include path Reproducible: Always Steps to Reproduce: 1.add a string build variable that contains something like "-I/path/to/include" 2.add to properties->c++ build->settings->tool settings->c++ compiler(miscellaneous) and to 'other flags' the ${variable_just_created} 3.any includes from /path/to/include are not resolved, even if the project succesfully compiles