Patched versions of CMake for ReactOS needs
Go to file
David Cole c8f39193e0 Avoid problem reading jni.h on Macs.
Apple released an update recently in which there
was a broken symlink for jni.h that pointed to
a non-existent file. CMake had trouble configuring
because it encountered an error trying to read
jni.h.

We avoid the problem here by introducing a variable
CTEST_RUN_Java, which defaults to OFF on Macs, that
indicates whether to even attempt finding java, reading
jni.h and adding the "Java" CMake test.

If you would like to test Java on a Mac where the
jni.h symlink is not busted, feel free to pass in
-DCTEST_RUN_Java:BOOL=ON when configuring CMake.
2010-10-25 15:03:36 -04:00
Docs
Example
Modules Merge topic 'AddCMAKE_CURRENT_LIST_DIR' 2010-10-19 15:53:16 -04:00
Source KWSys Nightly Date Stamp 2010-10-25 00:11:05 -04:00
Templates
Tests Avoid problem reading jni.h on Macs. 2010-10-25 15:03:36 -04:00
Utilities Merge topic 'fix_release_tags' 2010-09-21 10:32:42 -04:00
.gitattributes
bootstrap bootstrap: Honor CFLAGS during "make" test (#10545) 2010-09-10 11:39:43 -04:00
ChangeLog.manual
ChangeLog.txt
cmake_uninstall.cmake.in
cmake.1
CMakeCPack.cmake
CMakeCPackOptions.cmake.in
CMakeGraphVizOptions.cmake
CMakeLists.txt Merge topic 'vs-project-groups' 2010-10-05 15:31:49 -04:00
CMakeLogo.gif
CompileFlags.cmake
configure
Copyright.txt
CTestConfig.cmake
CTestCustom.cmake.in
CTestCustom.ctest.in
DartConfig.cmake
DartLocal.conf.in
doxygen.config
Readme.txt

This is CMake, the cross-platform, open-source make system.
CMake is distributed under the BSD License, see Copyright.txt.
For documentation see the Docs/ directory once you have built CMake
or visit http://www.cmake.org.


Building CMake
==============


Supported Platforms
-------------------

MS Windows, Mac OS X, Linux, FreeBSD, Solaris, HP-UX, IRIX, BeOS, QNX

Other UNIX-like operating systems may work too out of the box, if not
it shouldn't be a major problem to port CMake to this platform. Contact the
CMake mailing list in this case: http://www.cmake.org/mailman/listinfo/cmake


If you don't have any previous version of CMake already installed
--------------------------------------------------------------

* UNIX/Mac OSX/MinGW/MSYS/Cygwin:

You need to have a compiler and a make installed.
Run the bootstrap script you find the in the source directory of CMake.
You can use the --help option to see the supported options.
You may want to use the --prefix=<install_prefix> option to specify a custom
installation directory for CMake. You can run the bootstrap script from
within the CMake source directory or any other build directory of your
choice. Once this has finished successfully, run make and make install.
So basically it's the same as you may be used to from autotools-based
projects:

$ ./bootstrap; make; make install


* Other Windows:

You need to download and install a binary release of CMake in order to build
CMake.  You can get these releases from
http://www.cmake.org/HTML/Download.html .  Then proceed with the instructions
below.


You already have a version of CMake installed
---------------------------------------------

You can build CMake as any other project with a CMake-based build system:
run the installed CMake on the sources of this CMake with your preferred
options and generators. Then build it and install it.
For instructions how to do this, see http://www.cmake.org/HTML/RunningCMake.html