Patched versions of CMake for ReactOS needs
Go to file
Brad King 0b7ad3f091 Replace <TARGET> in CMAKE_<LANG>_COMPILE_OBJECT rule variables
In some languages the compiler may need to know the path of the final
target file for which an object is being compiled.  Honor the <TARGET>
placeholder for compilation rules to support such cases.

Note that this cannot work with OBJECT library targets because the final
target path is not known during compilation (there can even be more than
one final target).

Suggested-by: Vittorio Giovara <vittorio.giovara@gmail.com>
2013-03-22 07:52:54 -04:00
Docs
Example
Modules Merge topic 'FindImageMagick-v6.8.0-8' 2013-03-19 15:20:34 -04:00
Source Replace <TARGET> in CMAKE_<LANG>_COMPILE_OBJECT rule variables 2013-03-22 07:52:54 -04:00
Templates
Tests Merge topic 'fix-genex-preprocess' 2013-03-19 15:20:27 -04:00
Utilities Merge branch 'upstream-kwiml' into update-KWIML 2013-01-08 15:31:53 -05:00
.gitattributes
.hooks-config.bash
bootstrap Add a new Export generator for IMPORTED targets. 2013-02-22 08:35:38 -05:00
ChangeLog.manual CMake 2.8.10.2 2012-11-26 13:04:20 -05:00
ChangeLog.txt
cmake_uninstall.cmake.in
CMakeCPack.cmake
CMakeCPackOptions.cmake.in CPack: Add a WiX Generator (#11575) 2012-12-03 11:00:31 -05:00
CMakeGraphVizOptions.cmake
CMakeLists.txt Tests: Add generator toolset support 2013-02-07 11:09:56 -05:00
CMakeLogo.gif
CompileFlags.cmake
configure
Copyright.txt
CTestConfig.cmake
CTestCustom.cmake.in Merge topic 'import-KWSys-subtree' 2012-11-07 09:07:15 -05:00
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