Source file sharing between projects

Tobias Gläßer tobi.web at gmx.de
Sat Sep 20 04:28:49 UTC 2003


Hi  Mickael,

yes I mean, you should include them manually.
You could also add a further Include path to your
project. -> -I thepath/xyz.h
and then include xyz.h like that:
#include <xyz.h>
Or you could create symbolic links to your files:
ln -s  ../oldprojectpath/THETARGET /mycurrentProjectPath/THELINK

if you want to find out more about "ln" for example, you could
type 'man ln'.

There is nearly always a better unix solution then it was possible in
the windows world.
The only problem is to accept this and search for the solution in
the man and infopages as well as in the internet.

Greetz...

Tobias Gläßer

Am Sam, 2003-09-20 um 03.10 schrieb Mickael Faivre-Macon:
> Hi Tobias,
> 
> Thank you for your reply!
> 
> This does not resolve the fact that each file added to the project is 
> duplicated into the project dir.... I don't want to work on a copy of my 
> files. That's the problem. Do you mean I have to include them manually? 
> Without using "Project/Add existing files"? How can I do that?
> 
> Mickael.
> 
> 
> Tobias Gläßer wrote:
> 
> >Hi,
> >
> >heh,
> >
> >just put your xyz.h
> >
> >into /usr/include/xyz/xyz.h
> >
> >and add the line
> >
> >#include <xyz.h>
> >
> >into your projects!
> >
> >Then you only have to update
> >/usr/include/xyz/xyz.h
> >but I would administrate xyz in a
> >small separate project.
> >
> >Greetz...
> >
> >Tobias Gläßer
> >
> >Am Fre, 2003-09-19 um 17.35 schrieb Mickael Faivre-Macon:
> >  
> >
> >>Hi,
> >>
> >>I come from the Windows programming world where the source file of a 
> >>project can be shared between projects. You put your classes in a 
> >>directory and when you include them in a project, they stay in the 
> >>directory they are in. When including files in a KDevelop project, the 
> >>files are copied to the project directory. I find that very annoying 
> >>since a utility class can be used in a lot of project and when you make 
> >>a change in the class you have to copy the newer version to all your 
> >>project dir to have the latest version of you class available.
> >>
> >>Why is it like that ? What can I gain over my old habits by adopting 
> >>this Linux way of doing things ?
> >>
> >>Mickael.
> >>
> 
> 
> ---------------------
> Free SMS: http://organizer.easyplay.com.tw/
> 
> -
> to unsubscribe from this list send an email to kdevelop-request at kdevelop.org with the following body:
> unsubscribe your-email-address
-- 


-
to unsubscribe from this list send an email to kdevelop-request at kdevelop.org with the following body:
unsubscribe »your-email-address«



More information about the KDevelop mailing list