Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 326845 - miscellaneous/build variables will not update the indexer
Summary: miscellaneous/build variables will not update the indexer
Status: NEW
Alias: None
Product: CDT
Classification: Tools
Component: cdt-build-managed (show other bugs)
Version: 8.0   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact: Jonah Graham CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-02 15:14 EDT by charlls_quarra CLA
Modified: 2020-09-04 15:19 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description charlls_quarra CLA 2010-10-02 15:14:58 EDT
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