Hi
That workaround works - I've done it when I sent the initial mail. But I
can imagine various situation when this can become an issue as well
(like when writing compiler or platform specific code), so I posted it
here anyway to start a discussion.
I think the probing for defined macros like you do for the includes
(that makes things like heaven compared to <2.6.4!!) would solve it
nicely IMHO.
Thanks
Benjamin
Miguel A. Figueroa-Villanueva wrote:
On Tue, Jul 14, 2009 at 2:39 PM, Michael Jackson wrote:
Using the form I sent earlier I do not have any of these problems. All my
source files are parsed and indexed correctly. Am I missing something or
doing something wrong?
Mike Jackson
Hello Mike,
Well, I see it as a viable workaround, but only if you use eclipse
only with gcc. In the case where you might use nmake/eclipse, then it
won't work.
So, I would prefer to work around it by handling compiler specific
stuff with CMake magic and ideally we can use the same gcc probing
technique that is being used for the include files.
So Benjamin, could you check if the cmake workaround actually works
and mybe you would like to open a feature request to use the gcc
probing method to automatically include compiler specific definitions
in the .cproject.
--Miguel
_______________________________________________
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