Adding source and headers from relative path

Started by Jacky, April 08, 2016, 11:56:47 AM

Previous topic - Next topic

Jacky

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.

PaoloC13

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.

Bitbeisser

Quote from: 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.
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