File Organization problem

Patric dont at like.spam
Tue Jan 18 18:57:47 GMT 2000


Hi Benoit,
I rechecked it. You're right in so far that it works if you create a
class in different subdirectories. obviously there are problems when
importing existing classes into those subdirectories.
Anyway when creating a class in those directories I encountered a
hang-situation under certain circumstances which I reported as a bug.
this seem to be some general problems with project management /
makefilecreation.

Patric




Benoit Cerrina wrote:
> 
> Hi,
> this would be a bug, however I can't seem to reproduce your problem.
> Here is what I did:
>         Created a new terminal C++ project
>         Used the new Class dialog to generate a class toto with header
>                 ProtectedInterfaces/toto.h
>         and implementation
>                 toto.m/src/toto.cpp
> All worked fine, compiled fine and the class browser can find both the
> implementation and declaration of the class and its methods.
> 
> The one thing which looks funny to me is the fact that kdevelop classview puts
> the class where the cpp is and not where the h is.
> Ben
> 
> On lun, 17 jan 2000, you wrote:
> > Hi !
> > first elt me introduce myself, since I am new to this list. I am an
> > experienced C++ programmer on the Windows platforms and decided to learn
> > Linux in my spare time. I am working with Suse 6.3 for 2 month now.
> > After my first shock about the primitive development environments on the
> > Linux platform I was quite pleased to find KDevelop since it gave me an
> > easy entry and resembles very much MSVC to which I am used for many
> > years now.
> >
> > At work I am responsible for managing a huge class library and have just
> > recently reorganized it in various subdirectory - trees in order to be
> > able to keep overview. I decided to start a small C++ class library on
> > Linux as a learning project. What I am missing in KDevelop is the power
> > to use files which are everywhere in the directory tree, for example I
> > tend to keep H and CPP files in seperate trees, so ppl can just copy the
> > H files and my LIB files without the CPP files. KDevelop does seem to
> > have some problems with this organization. In particular the class
> > browser does not seem to be able to find the implementation.
> >
> > Well, since I'm new to KDevelop, maybe I oversaw something or did
> > something wrong. Can anybody give me a clue? Is this a feature others
> > are missing too? Or is there another way to realize this kind of file
> > organization?
> >
> > Regards
> >
> > Patric Lagny
> --
> Benoit Cerrina




More information about the KDevelop mailing list