bugGNUstep - Bugs: bug #22311, ProjectCenter: Additional...

Group
 
 

bug #22311: ProjectCenter: Additional libraries not handled properly

Submitter:  Gregory John Casamento <gcasa>
Submitted:  Thu 14 Feb 2008 02:44:39 AM UTC
   
 
Category:  Application Severity:  3 - Normal
Item Group:  Bug Status:  Fixed
Privacy:  Public Assigned to:  gcasa
Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

Thu 14 Feb 2008 10:18:38 PM UTC, comment #3: 

The solution implemented is sufficient at this time.   The solution suggested by Nicola should be added as an enhancement request.

Gregory John Casamento <gcasa>
Group administrator
Thu 14 Feb 2008 03:23:24 AM UTC, comment #2: 

I went ahead and made a change which automatically adds the correct variable for the project type.

I think a better solution is what you're describing.  Currently the PC gui is restricted to simply adding libs to the project without regard for which variable they are assigned to in the makefile.  What's needed is a per-project configuration/preferences panel like the one in Xcode.

G.

Gregory John Casamento <gcasa>
Group administrator
Thu 14 Feb 2008 02:54:24 AM UTC, comment #1: 

ProjectCenter should allow you to separately configure:

 ADDITIONAL_GUI_LIBS

 ADDITIONAL_TOOL_LIBS

 ADDITIONAL_OBJC_LIBS

for every project. :-)

Using only ADDITIONAL_GUI_LIBS is usually good enough
for applications, but it would be nice to be able to set
the other ones as well. :-)

Not only ADDITIONAL_GUI_LIBS is not used when linking CLI tools,
but even when linking an application (that uses them all),
the flags appear in different position on the linker
command-line, which might be important on some platforms. ;-)

So the best solution is to have all the flags available.

Thanks

Nicola Pero <nico>
Group Member
Thu 14 Feb 2008 02:44:39 AM UTC, original submission:  

When you add more libraries to be linked, the variable added to GNUmakefile.preamble is ADDITIONAL_GUI_LIBS.   This is only appropriate for applications, not for TOOLS.

For tools the variable added should be ADDITIONAL_TOOL_LIBS.

GJC

Gregory John Casamento <gcasa>
Group administrator

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by nico (Posted a comment)
  • -email is unavailable- added by gcasa (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2008-02-14 gcasa StatusNone Fixed
        Assigned toNone gcasa
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-758e.
    Corresponding source code