Re: [CMake] eclipse generator and sibling folders

2009-05-11 Thread Tim Cramer
Hi all, Eric Noulard wrote: 2009/5/4 Miguel A. Figueroa-Villanueva migu...@ieee.org: I did just gave a generic Eclipse CDT advice which does not fits the Eclipse CDT generator case (but my hand-made Eclipse project with CMake which enables to use CVS) again sorry about the confusion. --

Re: [CMake] eclipse generator and sibling folders

2009-05-11 Thread Michael Jackson
This is an eclipse issue. What you need to do is to build with VERBOSE=1 inside eclipse. That will cause the full compile commands to be emitted which will allow Eclipse to parse those commands for - I arguments. Eclipse will then add those paths to it's include list. Also, if this happens

Re: [CMake] eclipse generator and sibling folders

2009-05-10 Thread Eric Noulard
2009/5/9 Alexander Neundorf a.neundorf-w...@gmx.net: On Friday 08 May 2009, Eric Noulard wrote: 2009/5/4 Miguel A. Figueroa-Villanueva migu...@ieee.org: ... It is no the nicest solution, but it works around the problem of the out-of-source builds with CVS sources. It is described here:

Re: [CMake] eclipse generator and sibling folders

2009-05-10 Thread Eric Noulard
2009/5/8 Eric Noulard eric.noul...@gmail.com: Ah, no problem. I was just thinking that there might be a bug. BTW, did you try the ECLIPSE_CDT4_GENERATE_SOURCE_PROJECT option? Yes it wokrs just fine. It is no the nicest solution, but it works around the problem of the out-of-source builds

Re: [CMake] eclipse generator and sibling folders

2009-05-10 Thread Eric Noulard
2009/5/10 Eric Noulard eric.noul...@gmail.com: 2009/5/8 Eric Noulard eric.noul...@gmail.com: Ah, no problem. I was just thinking that there might be a bug. BTW, did you try the ECLIPSE_CDT4_GENERATE_SOURCE_PROJECT option? Yes it wokrs just fine. It is no the nicest solution, but it works

Re: [CMake] eclipse generator and sibling folders

2009-05-09 Thread Alexander Neundorf
On Friday 08 May 2009, Eric Noulard wrote: 2009/5/4 Miguel A. Figueroa-Villanueva migu...@ieee.org: ... It is no the nicest solution, but it works around the problem of the out-of-source builds with CVS sources. It is described here: http://www.cmake.org/Wiki/Eclipse_CDT4_Generator Yes

Re: [CMake] eclipse generator and sibling folders

2009-05-08 Thread Eric Noulard
2009/5/4 Miguel A. Figueroa-Villanueva migu...@ieee.org: I did just gave a generic Eclipse CDT advice  which does not fits the Eclipse CDT generator case (but my hand-made Eclipse project with CMake which enables to use CVS) again sorry about the confusion. -- Erk Ah, no problem. I was

Re: [CMake] eclipse generator and sibling folders

2009-05-04 Thread Antoine DUCHAMPS
hi Miguel, thanks for responding! I'm sorry, I had misunderstood the wiki page. I've followed the steps and I can navigate the source code now. However, the code completion does not work. My application is linked to an external library (ITK) and I would like to have code completion for the ITK

Re: [CMake] eclipse generator and sibling folders

2009-05-04 Thread Eric Noulard
2009/5/4 Antoine DUCHAMPS antoine.ducha...@gmail.com: hi Miguel, thanks for responding! I'm sorry, I had misunderstood the wiki page. I've followed the steps and I can navigate the source code now. However, the code completion does not work. My application is linked to an external library

Re: [CMake] eclipse generator and sibling folders

2009-05-04 Thread Eric Noulard
2009/5/4 Miguel A. Figueroa-Villanueva migu...@ieee.org: On Mon, May 4, 2009 at 4:36 AM, Eric Noulard wrote: 2009/5/4 Antoine DUCHAMPS: [...] However, the code completion does not work. My application is linked to an external library (ITK) and I would like to have code completion for the ITK

Re: [CMake] eclipse generator and sibling folders

2009-05-04 Thread Miguel A. Figueroa-Villanueva
On Mon, May 4, 2009 at 2:46 PM, Eric Noulard wrote: 2009/5/4 Miguel A. Figueroa-Villanueva migu...@ieee.org: On Mon, May 4, 2009 at 4:36 AM, Eric Noulard wrote: 2009/5/4 Antoine DUCHAMPS: [...] However, the code completion does not work. My application is linked to an external library (ITK)

[CMake] eclipse generator and sibling folders

2009-04-30 Thread Antoine DUCHAMPS
Hi all, I would like to create an eclipse project out of source and after reading the wiki http://www.cmake.org/Wiki/Eclipse_CDT4_Generator I'm confused. The section accesing the source and advanced editing features says that the source code must be inside the project and sugest to create source

Re: [CMake] eclipse generator and sibling folders

2009-04-30 Thread Miguel A. Figueroa-Villanueva
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