[CMake] Project that compiles all the files when a single file is modified

Rolf Eike Beer eike at sf-mail.de
Fri Oct 14 08:17:19 EDT 2011


> Doing cmake from scratch doesnt help, it seems to have the same behaviour
> always...
> Same application with same CMakelist.txt files with CMake VS2008 project
> generator works fine, so CMake structure is OK. So the answer is that I'm
> asking how can I manage to create a correct project.

You could try this:

-generate the solution with CMake, create a backup
-open it with VS, change something
-change it back
-quit VS

Then check the current and the backup solutions for differences. Maybe
that reveals something that CMake does wrong.

Eike


More information about the CMake mailing list