[CMake] Eclipse generator - scanner-discovered include pathsand pre-processor symbols

Alexander Neundorf a.neundorf-work at gmx.net
Sun Apr 3 12:18:02 EDT 2011


Hi,

On Tuesday 29 March 2011, Chatterjee, Shash wrote:
> Hi Alex,
>
> Thanks for the change.  The version you sent didn't end up working here
> (with just a CXX project).  The line to set the compiler is checking for
> "CXX" but, at least on my system, "${_lang}" is set to "c++".  Once I
> changed the line to check for "CXX" or "c++", it worked fine.  I also
> noticed that /usr/include was not being added, and it was because the
> regexp was skipping the last line of includes.  I have modified the regexp
> slightly, and that worked as well.  I have attached the changed file for
> you to compare, I am not sure if the changes are just specific to my
> system.

thanks, merged and pushed to next. This should be in 2.8.5.

Alex


More information about the CMake mailing list