[CMake] Building CMake on Windows

Pau Garcia i Quiles pgquiles at elpauer.org
Tue Dec 8 07:34:18 EST 2009


On Tue, Dec 8, 2009 at 12:58 PM, steve naroff <snaroff at apple.com> wrote:
> The 'Readme.txt' for the Windows source distribution says:
>
> "You need to download and install a binary release of CMake in order to
> build CMake."
>
> Unlike UNIX/Mac, the Windows source can't be bootstrapped...
>
> I assume the Readme.txt is accurate? Any plans to change this?

The Windows source cannot be bootstrapped if you use Visual C++
because the 'bootstrap' script is a Bourne-shell script. You may want
to try downloading Zsh from
http://gd.tuwien.ac.at/gnu/gnu-win32/release/zsh/ , then setting a few
environment variables (take a look at the bootstrap script) and
crossing your fingers.

The other path is bootstrapping it on Windows by using
mingw+msys/cygwin. You may also be able to cross-compile a
mingw-compiled binary version from OS X, Linux, etc. I have not tried
any of those options, but they should work.

-- 
Pau Garcia i Quiles
http://www.elpauer.org
(Due to my workload, I may need 10 days to answer)


More information about the CMake mailing list