[CMake] How to force cmake to run on a different source directory?

Andreas Pakulat apaku at gmx.de
Mon Aug 13 16:34:39 EDT 2012


Hi,

On Mon, Aug 13, 2012 at 9:48 PM, Peng Yu <pengyu.ut at gmail.com> wrote:
> Hi,
>
> The following directory has 'cmake ../src1' run before. I get the
> following error when I run the following command. One way to solve the
> problem is to run "rm -rf *", but I'm wondering if there is a way to
> force cmake to run even when the source directory changes. I don't see
> such a command line option in the manual. Thanks!

There is no such way, the correct way is to rm -rf *.

Andreas


More information about the CMake mailing list