Pelles C forum

Pelles C => Feature requests => Topic started by: Jacky on April 08, 2016, 11:56:47 am

Title: Adding source and headers from relative path
Post by: Jacky on April 08, 2016, 11:56:47 am
Pelles C IDE doesn't support adding files from other directory. So all the files must be in same directory.
But if they are treated as the shared common library for several project located in different directories, it is so inconvenient.
Title: Re: Adding source and headers from relative path
Post by: PaoloC13 on April 20, 2016, 08:36:03 pm
Normally I create different folders for my sources in a single project.
I connect them with a syntax like:

#include "..\TreeView.h"
#include "FileParser\FileList.h"

What seems that the PellesC IDE is missing, is the correspondence of these folders in the TreeView "souce files" directory for the project.
Title: Re: Adding source and headers from relative path
Post by: Bitbeisser on April 21, 2016, 06:02:49 pm
Pelles C IDE doesn't support adding files from other directory. So all the files must be in same directory.
But if they are treated as the shared common library for several project located in different directories, it is so inconvenient.
That's what precompiled libraries are for. Put those files into the linker path (and of course the header files into the include path) of the IDE. Problem solved...

Ralf