[CMake] avoiding complete rebuild when the user changes

pellegrini pellegrini at ill.fr
Wed Apr 18 04:22:37 EDT 2012


Dear CMakers,

I introduced recently a colleague of mine to the wonders of cmake. He 
has a problem that neither he or me could solve.

When he cmakes and builds his project as root and builds subsenquently  
its project as himself the whole project is rebuilt even if
nothing has been changed.

I may be wrong but I think this is not an actual problem with cmake but 
rather a general property of make that do not consider only the
timestamp but also the owner of a file and if one of these changes, the 
file is marked as having to be rebuild.

What do you think ? Would you see one way to escape from this feature ?

thanks a lot

see you

Eric



-- 
Eric Pellegrini
Calcul Scientifique
Institut Laue-Langevin
Grenoble, France



More information about the CMake mailing list