[CMake] Problems C/C++ system headers and Eclipse Generator

Philip Lowman philip at yhbt.com
Thu Jun 11 02:48:50 EDT 2009


On Tue, Jun 9, 2009 at 4:05 AM, Stefan Dröge <stefan at sdroege.de> wrote:

> 2009/6/9 Philip Lowman <philip at yhbt.com>:
> > Yes, that is the only reason.
> >
> > Can you try the CMakeFindEclipseCDT4.cmake attached to this bug report?
> I've
> > wrapped the call to EXECUTE_PROCESS by saving the LANG environment
> variable
> > and then setting it to "C", and restoring it after running gcc.  I'm not
> > entirely sure if this is the right thing to do as I'm not really
> experienced
> > with locales at all.
> >
> > http://public.kitware.com/Bug/view.php?id=9122
> >
> > You can test the script by putting the following in your code:
> > message("C system include dirs = ${CMAKE_ECLIPSE_C_SYSTEM_INCLUDE_DIRS}")
> > message("C++ system include dirs =
> > ${CMAKE_ECLIPSE_CXX_SYSTEM_INCLUDE_DIRS}")
> >
> > --
> > Philip Lowman
>
> For me, it solves the problem. Thank you!


Cool, sorry to bother you again but can you try the new version of the patch
and confirm it still works ok?  I changed some things in light of Hendrik's
post about LC_ALL and LC_MESSAGES.

http://public.kitware.com/Bug/view.php?id=9122

-- 
Philip Lowman
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20090611/9783183e/attachment.htm>


More information about the CMake mailing list