Couple of question about new KDevelop
Andreas Pakulat
apaku at gmx.de
Mon Apr 18 09:56:09 BST 2011
On 18.04.11 00:45:13, Igor Korot wrote:
> On Mon, Apr 18, 2011 at 12:01 AM, Andreas Pakulat <apaku at gmx.de> wrote:
> > On 17.04.11 15:26:14, Igor Korot wrote:
> >> OK, let me go a little further:
> >>
> >> main project directory
> >> |
> >> |
> >> -------> debug
> >> | |----------------> Makefile
> >> | |---------------> Makefile.in
> >> | |---------------> src
> >> |
> >> |-----------> configure
> >> |-----------> src
> >>
> >> This is what I have from the KDevelop 3 project.
> >>
> >> So in order to open this in KDevelop 4 I should go to
> >> <main_project_directory>/debug and open the
> >> file called "Makefile". Am I right?
> >
> > That won't work IIRC, you'll then not see the actual source files under
> > /src/. You'll have to run configure in the project directory so that the
> > Makefile's are in the same directory as the sources.
>
> So I should run configure script from the <main_project_directory>?
> And then open the Makefile from <main_project_directory>/src?
No, once you've ran configure there should be a Makefile in
<project-dir>/.
> >> I understand that the answer might be different because the interface
> >> changed, but
> >> the question still remains.
> >
> > Well, the only thing to be said about this particular thing is:
> > KDevelop does not have a GUI to add shared libraries. I don't think
> > thats useful in a faq, it should be put into the kdev3 vs. kdev4
> > comparison page.
>
> Not sure what do you mean here.
> I could've made a subproject to build a shared library in KDevelop 3.
> Does this mean that in KDevelop 4 I can build executable only?
No, KDevelop cannot build anything, neither KDev3 nor KDev4. What
KDevelop can do is start your build-tool, usually make. KDev3 had some
GUI dialogs to configure the buildsystem, kdevelop4 does not have that
anymore. Hence there's no GUI to create an executable, a library or
some other kind of target. Instead please look into the documentation of
the buildsystem you're using and edit the buildsystem files
apropriately.
Andreas
More information about the KDevelop
mailing list