[Cmake] How to make clean object files first before compile?

sfang sfang at bcm . tmc . edu
Tue, 25 Nov 2003 14:03:30 -0600


Hello, Guys,
I have a simple problem, that is, whenever I input "make" to build a project 
or lib, I want to it generate new object files no matter whether the src code 
was modified or not. My idea is :in make-file, make clean first, then make. 
But I don't know how to implement it in cmakelist.txt, any idea was 
appreciated.
Shunming Fang