[CMake] Copying directories and build error

Andreas Pakulat apaku at gmx.de
Thu Sep 4 14:08:43 EDT 2008


On 04.09.08 11:26:45, John Drescher wrote:
> 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.

Then you're not copying the buildtree, but the source tree. The
buildtree is the directory containing all the files generated by CMake
and the make/your-ide-buildtool runs. 

Andreas

-- 
You have taken yourself too seriously.


More information about the CMake mailing list