[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
[cdt-dev] Exact purpose of CDT_SOURCE and CDT_OUTPUT pathentries ?
|
Hi,
I'm currently the maintainer of the Eclipse CDT project file generator in
CMake. I.e. CMake can generate for any cmake-based project simple Makefile-
based projects, or Visual Studio projects, XCode projects, CodeBlocks projects
and also Eclipse CDT projects.
Now I need some help.
I was looking for a documentation of the .cproject file format, but didn't
find one.
The CDT reference manual helps somewhat:
http://help.eclipse.org/indigo/index.jsp?topic=%2Forg.eclipse.cdt.doc.isv%2Freference%2Fapi%2Forg%2Feclipse%2Fcdt%2Fcore%2Fmodel%2FIPathEntry.html
So, what I'd like to know what the purpose of the CDT_SOURCE and CDT_OUTPUT
pathentry's in the .cproject file are exactly, i.e. at which point and for
which actions they are used.
AFAIK CDT_SOURCE must be related to the indexer.
So, which directories should I add as CDT_SOURCE ?
All directories which contain source files which will be compiled ?
Or all directories which contain targets which will be built (this can differ
from above, since targets can also use source files from other directories).
And, if I forget to add some directories, which negative effect will this have
?
And the same for CDT_OUTPUT.
What is this used for ?
Thanks
Alex