I am afraid I have solve the problem by modify the source code of cmake. So, CMake can set env vars. Just didn't do that. I have already if cdt is using Intel compiler it's will add the PATH env to eclipse build system.
And also I found the eclipse target is a little old so make strange actions such as it's can not generate the correct PREDEFINED macros correctly. Now I was focus on solve this problem. _______________________________________________ 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
