Community
Participate
Working Groups
This problem might be CDT specific, but I do not know. Neither does the indexer. I have different configs for different applications but same code basis and do not want to use libraries. So i chose to exclude one set of files in Config 1 and include that set in Config 2 but exclude the included set of Config 1. Thus I only have one main() per configuration. It does work, but the project explorer does not reflect the changes to the configurations. It should disable the files from config 1 when config 2 is used. For Config 1 this works (config 2 files are disabled) and the config 2 files are not indexed, too. When switching configs the indexer should update and so should the project explorer view. -- Configuration Details -- Product: Eclipse 1.3.2.20110218-0812 (org.eclipse.epp.package.cpp.product) Installed Features: org.eclipse.platform 3.6.2.r362_v20110210-9gF78Gs1FrIGnHDHWkEcopoN8AmxeZflGDGKQi
(In reply to comment #0) > I have different configs for different applications but same code basis and do > not want to use libraries. Are you referring to CDT launch configurations?
Created attachment 192247 [details] Different build configurations
Created attachment 192250 [details] This is the correct layout for config 1, but stays also for config 2, where the files under app should be greyed out
No, I'm referring to the cdt build configurations as can be seen in the screenshot in comment 2. The screenshot in comment 3 shows the project explorer with the excluded files (from build).
(In reply to comment #4) > No, I'm referring to the cdt build configurations as can be seen in the Thanks for reporting back. Moving to CDT for comment.
Keep in mind that Project Explorer and other UI displays the configuration specified in preferences, not Active configuration which is used by build. See discussion in the referenced bug. *** This bug has been marked as a duplicate of bug 313944 ***