Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 341530

Summary: RFE: Auto-populate LD_LIBRARY_PATH/PATH in launch config for project references
Product: [Tools] CDT Reporter: Andrew Overholt <overholt>
Component: cdt-build-managedAssignee: Project Inbox <cdt-build-managed-inbox>
Status: NEW --- QA Contact: Jonah Graham <jonah>
Severity: enhancement    
Priority: P3 CC: cdtdoug, jamesblackburn+eclipse, yevshif
Version: 7.0.2   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:

Description Andrew Overholt CLA 2011-03-31 14:19:41 EDT
Consider the following scenario:

- projectA is a managed build library project
- projectB is a managed build executable project which uses projectA's library and has a project reference to projectA

When one creates a launch configuration for projectB, one must manually add an LD_LIBRARY_PATH (or PATH on Windows, I'm told) environment variable that references projectA's build location.  It would be nice if this were done automatically.
Comment 1 James Blackburn CLA 2011-03-31 15:09:31 EDT
As a more generic request, we need all toolchain environment (or at least an integrator configurable amount of it) to be set before running the debugger.