Bug 390901 - Libraries and Library Path tabs not visible when building a static Library
Summary: Libraries and Library Path tabs not visible when building a static Library
Status: NEW
Alias: None
Product: CDT
Classification: Tools
Component: cdt-build (show other bugs)
Version: Next   Edit
Hardware: PC Windows 7
: P3 major (vote)
Target Milestone: ---   Edit
Assignee: cdt-build-inbox@eclipse.org CLA
QA Contact: Jonah Graham CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-10-02 04:28 EDT by Mats Tjader CLA
Modified: 2020-09-04 15:18 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mats Tjader CLA 2012-10-02 04:28:31 EDT
The Properties tabs for adding libraries and library paths (in Properties->C/C++ General->Paths and Symbols) are not visible when creating a statically linked library project.

To reproduce:
Create New C++ project 
Select name (e.g testproj)
Select Static Project->Empty Project
Select Mingw toolchain
Select Finish.

Check that tabs are not there.

Tested with Eclipse Juno and CDT 8.1.1.201209170703
Comment 1 John Doucette CLA 2013-06-20 11:40:57 EDT
Additional scenario with eclipse Juno Service Release 2 Build 20130225-0426 and CDT 8.1.2.201302132326:

Create a New C++ project with two configurations, "config-lib" producing a static library and "config-exe" producing an executable.

Make config-lib the active configuration.
Select Project->Properties->C/C++ General->Paths and Symbols.
The Libraries and Library Paths tabs are missing.

Remaining at Project->Properties->C/C++ General->Paths and Symbols panel, use the pulldown to choose the config-exe configuration.
The Libraries and Library Paths tabs are still missing.

Cancel out of the Project->Properties->C/C++ General->Paths and Symbols panel.

Make config-exe the active configuration.
Select Project->Properties->C/C++ General->Paths and Symbols.
The Libraries and Library Paths tabs are present.

Remaining at Project->Properties->C/C++ General->Paths and Symbols panel, use the pulldown to choose the config-lib configuration.
The Libraries and Library Paths tabs are still present.

Ie. upon entry to the project properties the tabs are present for all configurations if the active configuration produces an exe, and the tabs are missing for all configurations if the active configuration produces a lib. Switching the active configuration while at the Project->Properties->C/C++ General->Paths and Symbols panel does not change whether or not the tabs are visible. One must exit and re-enter Porject->Properties.