[CMake] Does Cmake add 'standard' include paths ?
Smith Jack (Ext. - UGIS - UniCredit Group)
jack.smith.extern at unicreditgroup.de
Thu Jan 7 03:34:25 EST 2010
> -----Original Message-----
> From: cmake-bounces at cmake.org
> [mailto:cmake-bounces at cmake.org] On Behalf Of Alexander Neundorf
> Sent: Tuesday, January 05, 2010 7:52 PM
> To: cmake at cmake.org
> Subject: Re: [CMake] Does Cmake add 'standard' include paths ?
>
> 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 ?
CMake: cmake version 2.6-patch 2
Eclipse Platform: Version: 3.5.1.R35x_v20090910-9gEeG1_FthkNDSP2odXdThaOu9GFDPn83DGB7
Sorry, I'm not that familiar with Eclipse, how do I check CDT version ?
>
> > 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 ?
Example:
Invalid project path: Include path not found (D:\SVN\trunk\MY_PROJECT\SUB_PROJECT\include).
Project-Debug at Debug pathentry Path Entry Problem
Correct. Nowhere in my CMakeLists.txt files do I add that path to the inlcudes, yet they show up in the generated files.
>
> > 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
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the CMake FAQ at:
> http://www.cmake.org/Wiki/CMake_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.cmake.org/mailman/listinfo/cmake
>
More information about the CMake
mailing list