On Thu, Apr 30, 2009 at 7:54 AM, Antoine DUCHAMPS wrote:
[...]
> sugest to create source and build folders as "siblings". From this I
> understand that I have to folders like
>
> /home/user/project-src
> /home/user/project-bin
>
> So, how can be the source inside the project? I assume that I have to
> call ccmake as usual, i.e. :
>
> cd /home/user/project-bin
> ccmake -G"Eclipse CDT4 - Unix Makefiles" ../project-src

Yes, this is the recommended way.

> (Of course this works but I cannot navigate the source code after
> importing the project into eclipse ... )

There should be a linked resource per each 'project(XXX)' command in
your CMakeLists.txt that allows you to do that.

> Could anybody tell me what I'm doing wrong?

Nothing that I can see from your description. If you create a minimal
example that exhibits the problem. You can send it to me and I can try
it to see if there is a problem.

BTW, what Eclipse, Eclipse CDT, and CMake version are you using?

--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

Reply via email to