[CMake] Copying directories and build error

John Drescher drescherjm at gmail.com
Thu Sep 4 11:26:45 EDT 2008


On Thu, Sep 4, 2008 at 11:11 AM, Andreas Schneider <mail at cynapses.org> wrote:
> On Thursday 04 September 2008 16:57:18 Bill Hoffman wrote:
>> You don't CMake does not support the relocation of build trees.
>
> http://www.cmake.org/Wiki/CMake_FAQ#Why_does_CMake_use_full_paths.2C_or_can_I_copy_my_build_tree.3F
>

I copy my build tree without problems but I do this using cvs and I do
not have any of the generated files in the repository. So when I start
with a new sandbox I run cmake to generate the project files and all
is well.

If you are going to copy your tree I would recommend not copying any
generated files and run cmake again on your project in the new
location.

John


More information about the CMake mailing list