[CMake] Bootstrapping CMake

Frerich Raabe raabe at froglogic.com
Wed Jun 5 14:35:20 EDT 2013


On Jun 5, 2013, at 11:19 AM, Dan Kegel <dank at kegel.com> wrote:

> On Tue, Jun 4, 2013 at 4:57 PM, Frerich Raabe <raabe at froglogic.com> wrote:
>> one of the projects I'm working on requires that the build system can be bootstrapped, i.e. when unpacking a source tarball you run 'configure' which is actually a shell script which first runs 'make' to build the actual (proprietary) build tool - which has no dependencies other than a C++ compiler and a C++ library - and then it runs the build tool.
> 
> Doesn't cmake fit this description?  I see a 'configure' script in the
> cmake source tree, and I think after running it, you then run 'make'
> to build cmake.

True; I guess the Source/cm* files are the 'cmake' binary, right? Maybe it would be feasible to strip it a bit (i.e. remove all generators except for those generating Makefiles or so) to get it down from the 6.3MB it's at right now (in cmake 2.8.11).

-- 
Frerich Raabe - raabe at froglogic.com
www.froglogic.com - Multi-Platform GUI Testing








More information about the CMake mailing list