[CMake] Help: How to show Qt src file in out-source folder build mode for Eclipse CDT project
Mike Jackson
mike.jackson at bluequartz.net
Sun May 9 20:37:47 EDT 2010
If you look on the wiki there is another method that does support out
of source builds. You have to generate makefiles first then manually
create the eclipse projects.
-----
Mike Jackson www.bluequartz.net
Principal Software Engineer mike.jackson at bluequartz.net
BlueQuartz Software Dayton, Ohio
On May 9, 2010, at 17:49, "Yang, Y." <Y.Yang at tue.nl> wrote:
> Hi, Droscy
>
> Thanks. I use your suggested method.
> Maybe future Eclipse can support out source build.
>
> Best regards
>
> Yang
> ________________________________________
> From: Droscy [droscy85 at yahoo.it]
> Sent: Sunday, May 09, 2010 5:26 PM
> To: Yang, Y.
> Cc: cmake at 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
More information about the CMake
mailing list