[CMake] How to forbid in-source build cleanly

Eric Noulard eric.noulard at gmail.com
Sun Mar 4 14:14:10 EST 2007


2007/3/4, Alan W. Irwin <irwin at beluga.phys.uvic.ca>:
> On 2007-03-04 19:21+0100 Eric Noulard wrote:
> >
> > Is there a way to cleanly forbid in-source build?
>
> I don't know, but out of curiosity have you tried FILE(REMOVE ...) to get
> rid of CMakeCache.txt to make the above give a cleaner result or does that
> not work?

I thought exactly like you :))
But did not succeed to remove those file/dir
using FILE(REMOVE(...

 :((


-- 
Erk


More information about the CMake mailing list