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

 
 

bug #22311: ProjectCenter: Additional libraries not handled properly

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

Add a New Comment (Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

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>
Project AdministratorIn charge of this item.
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>
Project AdministratorIn charge of this item.
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>
Project 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>
Project AdministratorIn charge of this item.

 

(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)
  •  

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    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.6