Hi, Droscy Thanks. I use your suggested method. Maybe future Eclipse can support out source build.
Best regards Yang ________________________________________ From: Droscy [drosc...@yahoo.it] Sent: Sunday, May 09, 2010 5:26 PM To: Yang, Y. Cc: cmake@cmake.org Subject: Re: [CMake] Help: How to show Qt src file in out-source folder build mode for Eclipse CDT project Hi Yang. I'm not sure this solution is what you are looking for, but you can try. Consider you have the source files in /project/src and the out-of-source build in /project/build. Do the following: - go to the /project/build folder - execute cmake -G"Eclipse CDT4 - Unix Makefiles" ../src - move (or copy) the two files .project and .cproject (created by CMake) from /project/build to /project/src. - open Eclipse and import the project in /project/src folder. Eclipse will correctly import the project and build it in /project/build folder. Bye Droscy _______________________________________________ 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