[CMake] Makefiles without reference to CMake?

Alexander Neundorf a.neundorf-work at gmx.net
Wed Jul 6 12:06:21 EDT 2011


On Wednesday 06 July 2011, Bello, Musodiq O (GE Healthcare) wrote:
> Thanks, Michael. But is there a way to make the references to CMake a
> relative path rather than an absolute path? This will allow us to bundle
> CMake with the source tree.

You can bundle CMake with the source tree, but you can't bundle it with a 
build tree (because this one has the path to cmake encoded).
The cmake packages you can download from cmake.org work from any location.

But if you bundle cmake with the sources, there is no reason anymore IMO to 
try to give a build tree to your users/customers.

Alex


More information about the CMake mailing list