[CMake] Force rebuild

Philip Lowman philip at yhbt.com
Mon Mar 26 08:36:09 EST 2007


Min Cu wrote:
> I have a project which needs to be rebuild every time make is called 
> (whether the project has changed or not). How do I do it?

One simple approach would simply be to remove CMakeCache.txt, run cmake 
from scratch and then type make.

There's probably a better way though.

-- 
Philip Lowman
Simulation Development Engineer, Modeling and Simulation Technology
General Dynamics Land Systems
http://www.gdls.com


More information about the CMake mailing list