Bug 32493 - path selection compile, link
Summary: path selection compile, link
Status: RESOLVED FIXED
Alias: None
Product: kdevelop
Classification: Applications
Component: kdevelop 2.x (obsolete) (show other bugs)
Version: 2.0
Platform: openSUSE Other
: NOR wishlist
Target Milestone: ---
Assignee: KDevelop-Devel List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-09-14 16:33 UTC by heithecker
Modified: 2007-02-23 11:56 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description heithecker 2001-09-14 16:24:43 UTC
(*** This bug was imported into bugs.kde.org ***)

Package:           kdevelop
Version:           2.0 (using KDE 2.2.0 )
Severity:          wishlist
Installed from:    SuSE RPMs
Compiler:          Not Specified
OS:                Not Specified
OS/Compiler notes: Not Specified

Hi

currently additional directories where to search for includes and libraries have to be specified in the "additional flags" field for the compiler/linker. It would be great to have a dedicated directory list for this. Another
idea for specifying additional link libraries is to let the user select from a list where all the reachable libraries are displayed. 
Another idea is to expand "~" to the proper directory.

Kind Regards Sven Heithecker

(Submitted via bugs.kde.org)
Comment 1 Mike Whittaker 2003-09-30 11:22:21 UTC
Please let's have a sensible split between what can be set globally for the
whole project, and what can be reconfigured for individual build configurations.

The existing feature does not seem to work as it "should".

If I am building a cross-development project, the names of the libraries I am
using will (probably) be the same across platforms.

However, the locations of include files AND LIBRARIES will be different
depending on the platform being built for.

Currently, KDEv lets you specify build-specific CPP/C/C++ options (Proj
Options/Compiler Options/Flags and Warnings), and linker FLAGS (LDFLAGS), but
you are only allowed to specify additional library LOCATIONS in the Linker
Options/Additional Libraries field - which is a global Project setting for all
build configurations. (I have tried setting -L options in the config-specific
Compiler Options/Linker flags field without success.)

Even in the non-cross-platform case this doesn't make sense - say I want to use
a debug version of the library, in a different location, same lib name, for a
debug build. Can't do it without re-editing the Linker Options every time.

Regards
Mike Whittaker
[Currently using KDev 2.1.5 on RH 9.0, x86]
Comment 2 Mike Whittaker 2003-09-30 11:24:42 UTC
Please let's have a sensible split between what can be set globally for the
whole project, and what can be reconfigured for individual build configurations.

The existing feature does not seem to work as it "should".

If I am building a cross-development project, the names of the libraries I am
using will (probably) be the same across platforms.

However, the locations of include files AND LIBRARIES will be different
depending on the platform being built for.

Currently, KDEv lets you specify build-specific CPP/C/C++ options (Proj
Options/Compiler Options/Flags and Warnings), and linker FLAGS (LDFLAGS), but
you are only allowed to specify additional library LOCATIONS in the Linker
Options/Additional Libraries field - which is a global Project setting for all
build configurations. (I have tried setting -L options in the config-specific
Compiler Options/Linker flags field without success.)

Even in the non-cross-platform case this doesn't make sense - say I want to use
a debug version of the library, in a different location, same lib name, for a
debug build. Can't do it without re-editing the Linker Options every time.

And yes, "~" doesn't always expand properly

Regards
Mike Whittaker
[Currently using KDev 2.1.5 on RH 9.0, x86]
Comment 3 Amilcar do Carmo Lucas 2003-10-01 23:57:08 UTC
Sorry, KDevelop 2.x is no longer under development. 
 
The KDevelop3 lets you specify additional library LOCATIONS per build 
configuration. 
You are strongly advised to update to the latest CVS version of KDevelop3, 
code name gideon, take a look at: 
http://www.kdevelop.org/index.html?filename=branches_compiling.html 
for all the details you need. If you find a problem or need help please send a 
mail to the mailing list: 
http://www.kdevelop.org/index.html?filename=mailinglist.html 
or drop us a line at the channel #kdevelop on the server irc.kde.org using 
ksirc, for example. 
Please use the CVS version and compile it yourself because that way you can 
easily patch it if a bug is found. 
 
KDevelop3 can open Develop2 projects. To do so, goto the "Project -> Open 
Project ... " and select 
"KDevelop 2 Project Files" in the "Filter:". 
You can have and run KDevelop3 and KDevelop2 at the same time on the same 
computer without any problems. 
So migrating is a breeze. :) 
 
Comment 4 Amilcar do Carmo Lucas 2003-10-01 23:59:03 UTC
This wish now resumes to: 
 
- An idea for specifying additional link libraries is to let the user select 
from a list where all the reachable libraries are displayed. 
 
- Another idea is to expand "~" to the proper directory. 
Comment 5 Mike Whittaker 2003-10-02 11:57:18 UTC
Hello, 2.x is no longer in development, but I cannot download anything but an
Alpha version of 3.0 - there doesn't appear to be a 'release' yet.

Or does Alpha really mean Beta ... or RC ?

>>
    * Alpha releases are very early drops of the software intended for dedicated
testers. Alpha releases may not be stable, may introduce file formats that will
change or become unsupported in the future, and should not be installed on
machines relied on for your daily work. They usually include known bugs. Alpha
releases are best installed on a second machine or even a dedicated testing system.
    * Beta releases are considered reasonably stable drops of the software, but
may share some of the instabilities of an alpha release. Beta releases should be
installed only by users who are willing to endure some broken functionality, to
provide feedback on our newsgroups, and who are willing (if necessary) to
manually delete or move files or registry keys.
    * RC is the designation for release candidates. An RC1 release is intended
to be suitable for "burning and pressing" onto a CD-ROM. Only critical bugs will
be fixed. RC builds should be suitable for installation by almost any user.
<<
Comment 6 Andreas Pakulat 2007-02-23 11:56:05 UTC
Adding libraries is something that needs to be done through the buildsystem and all buildsystems that are supported in kdevelop allow to choose libraries via file dialog by now.