[CMake] Does Cmake add 'standard' include paths ?

Alexander Neundorf a.neundorf-work at gmx.net
Tue Jan 5 13:51:43 EST 2010


On Tuesday 05 January 2010, Smith Jack (Ext. - UGIS - UniCredit Group) wrote:
> Generally I am using CMake successfully, and am generating makefiles for
> Linux, Solaris, and Visual Studio 9.  I recently used the "Eclipse CDT4 -
> NMake Makefiles" generator, and then loaded the resulting project into my
> Eclipse environment under Windows XP.

Which version of CMake, and which version of Eclipse and CDT are you using ?

> Eclipse then complains about missing include paths.   The problem is that I
> have not specified these 'missing' paths in my CMakeLists.txt, or any file
> included by them.

About which missing include paths does it complain ?
About include dirs you did not specify ?

> Does Cmake automatically add   PROJECT\include to every project include

No.

> paths with the Eclipse generator ?  If so, is there a way to suppress this
> behavior ?

Can you create a small example project which shows this issue ? Then I could 
check whether I can reproduce it under Linux.

Alex


More information about the CMake mailing list