This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 167485

Summary: Ability to detect and include available libraries
Product: cnd Reporter: crazybyte <crazybyte>
Component: ProjectAssignee: Alexander Simon <alexvsimon>
Status: RESOLVED FIXED    
Severity: blocker CC: crazybyte
Priority: P3 Keywords: SIMPLEFIX
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: ENHANCEMENT Exception Reporter:
Attachments: Library inclusion in CodeBlocks

Description crazybyte 2009-06-22 21:16:28 UTC
This feature is available in CodeBlocks IDE. Go to Project Properties --> Libraries tab. The tab contains two lists
among other settable options. The right side list contains all the available libraries that are detected by CodeBlocks
using the pkg-config database (basically it lists the contents of the directories where pkg-config files are located in
the files system). The left side list contains the libraries already included or if the project is new then the list is
empty. CodeBlocks allows the user to inclusion or the removal of the detected libraries from project, by clicking on a
button. If a library is included the output of pkg-config of the library metadata file is used by CodeBlocks to set the
header inclusion paths and library inclusion paths for the compiler and linker. It would be very useful to have such a
feature in the Project Properties --> C/C++ Compiler and Linker tabs somewhere beside the Additional Options field.
Comment 1 crazybyte 2009-06-22 21:17:58 UTC
Created attachment 83891 [details]
Library inclusion in CodeBlocks
Comment 2 Vladimir Voskresensky 2009-06-22 21:31:58 UTC
thank you for the ENH. 
Should be easy to do (because internally we have support for pkg-config), may be community wants to help?
Comment 3 Vladimir Voskresensky 2010-12-01 09:13:51 UTC
Alexander?
Comment 4 Alexander Simon 2010-12-01 14:05:28 UTC
fixed, change set:
http://hg.netbeans.org/cnd-main/rev/42c01570e9e4
Comment 5 Quality Engineering 2010-12-02 06:22:57 UTC
Integrated into 'main-golden', will be available in build *201012020001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/42c01570e9e4
User: Alexander Simon <alexvsimon@netbeans.org>
Log: fixed Bug #167485 Ability to detect and include available libraries
Comment 6 Quality Engineering 2010-12-03 06:19:51 UTC
Integrated into 'main-golden', will be available in build *201012030001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/f09077134fc9
User: Alexander Simon <alexvsimon@netbeans.org>
Log: fixed Bug #167485 Ability to detect and include available libraries (additional fix for code model)