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

Hendrik Sattler post at hendrik-sattler.de
Tue Jun 9 01:31:54 EDT 2009


Am Dienstag 09 Juni 2009 04:20:19 schrieb Philip Lowman:
> 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.

 The following variables are used in the order of appearance:
  LC_ALL, LC_MESSAGES, LANG

So you should override those _IF_ present. If none of them is present, you 
don't have to do anything.

HS



More information about the CMake mailing list