Re: [CMake] cdt4 generator and adding new source files from inside eclipse

2011-10-27 Thread Dan Kegel
On Wed, Oct 26, 2011 at 4:09 PM, Robert Dailey rcdai...@gmail.com wrote: When you make any changes to any CMakeLists.txt, the Makefiles are setup to check this and invoke cmake to reconfigure and regenerate those makefile scripts. I only use Visual Studio generators, so I can't say exactly how

Re: [CMake] cdt4 generator and adding new source files from inside eclipse

2011-10-27 Thread Eric Noulard
2011/10/27 Dan Kegel d...@kegel.com: On Wed, Oct 26, 2011 at 4:09 PM, Robert Dailey rcdai...@gmail.com wrote: When you make any changes to any CMakeLists.txt, the Makefiles are setup to check this and invoke cmake to reconfigure and regenerate those makefile scripts. I only use Visual Studio

Re: [CMake] cdt4 generator and adding new source files from inside eclipse

2011-10-27 Thread Alexander Neundorf
On Wednesday 26 October 2011, Dan Kegel wrote: I'm going over the checklist of whether cmake will meet the needs of my eclipse users, and their first question was what was the workflow for adding a new source file. I just tried the experiment of adding a .cpp file, adding it to

Re: [CMake] cdt4 generator and adding new source files from inside eclipse

2011-10-27 Thread Dan Kegel
On Thu, Oct 27, 2011 at 12:31 PM, Alexander Neundorf a.neundorf-w...@gmx.net wrote: The cdt4 web page says When you edit your CMakeLists.txt file, you are recommended to delete your project and reimport it. Eclipse has a Refresh entry in the context menu of the project view, which kind of

Re: [CMake] cdt4 generator and adding new source files from inside eclipse

2011-10-27 Thread Alexander Neundorf
On Thursday 27 October 2011, Dan Kegel wrote: On Thu, Oct 27, 2011 at 12:31 PM, Alexander Neundorf a.neundorf-w...@gmx.net wrote: The cdt4 web page says When you edit your CMakeLists.txt file, you are recommended to delete your project and reimport it. Eclipse has a Refresh entry in

Re: [CMake] cdt4 generator and adding new source files from inside eclipse

2011-10-27 Thread Alexander Neundorf
On Thursday 27 October 2011, Alexander Neundorf wrote: On Thursday 27 October 2011, Dan Kegel wrote: ... (Automatic refresh is not the default because for years, there was no efficient way except on Windows to watch a filesystem for changes, and nobody has added support for it on Linux or

Re: [CMake] cdt4 generator and adding new source files from inside eclipse

2011-10-27 Thread Dan Kegel
On Thu, Oct 27, 2011 at 1:33 PM, Alexander Neundorf a.neundorf-w...@gmx.net wrote: Window - Preferences - General - Workspace / Refresh using blah blah blah Ok, there is indeed an issue. Which version of Eclipse are you using ? Indigo SR1, the current download when you look for cdt at the

[CMake] cdt4 generator and adding new source files from inside eclipse

2011-10-26 Thread Dan Kegel
I'm going over the checklist of whether cmake will meet the needs of my eclipse users, and their first question was what was the workflow for adding a new source file. I just tried the experiment of adding a .cpp file, adding it to CMakeLists.txt, and clicking Build... and the .o file showed up

Re: [CMake] cdt4 generator and adding new source files from inside eclipse

2011-10-26 Thread Robert Dailey
On Wed, Oct 26, 2011 at 4:42 PM, Dan Kegel d...@kegel.com wrote: I'm going over the checklist of whether cmake will meet the needs of my eclipse users, and their first question was what was the workflow for adding a new source file. I just tried the experiment of adding a .cpp file, adding