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 it
> works for Makefiles, but the principle is the same between the two.
> Basically there is no need to run cmake directly after each edit. I only run
> cmake once after a fresh checkout of my source code to get the initial
> scripts, then after that I let it automatically detect changes and do the
> respective work required to regenerate scripts/project files.

That's great.

I'm confused about one thing still: The cdt4 web page says
"When you edit your CMakeLists.txt file, you are recommended to delete
your project and reimport it."
Why?   If it's because cmake has generated a new .project / .cproject,
does that mean you should do a build (or somehow otherwise trigger
a cmake run) before deleting and reimporting the project?
- Dan
--

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