Splitting up a large project into subfolders?

Simon Ejsing simon at esoft.dk
Thu Jun 10 16:15:08 UTC 2004


	Hi, I have a C++ project I'm working on, and by now it's becomming more and 
more complex, so I want to split it into folders, but I can't figure out how 
to do that with the automake manager... It seems automake is blocking me from 
having files in seperate directories for the same target.

	What I want to do is to have eg. "texture.h", "texture.cpp" and possibly more 
files in a sub directory named "texture", these files should be compiled and 
linked against the rest of the project as if they were a part of that target. 
Is there any way to do this? If I try to create the files with the wizard, it 
will put the files into a subproject, and if I add them as existing files, it 
wants to symlink the files, which is not what I want.

	I suppose the right way is to create a subproject for the files, but how can 
I generate regular .o files and link them into the main project?

	Thanks in advance.

-- 
Simon Ejsing, Systemudvikler
esoft ApS, http://www.esoft.dk
Skibhusvej 52C, DK-5000 Odense C.
Tlf: 70 222 466, Fax: 63 122 466




More information about the KDevelop-devel mailing list