My patches to CMake
Go to file
James Bigler db207e4065 FindCUDA: Added CUDA_HOST_COMPILER variable.
Added a new CUDA variable for specifying the CUDA_HOST_COMPILER.  This will allow users to
be able to specify which host compiler to use for invoking NVCC with.  By default it will
use the compiler used for host compilation.  This is convenient for when you want to
specify a different compiler than the default compiler.  You end up using the same
compiler for both the NVCC compilation and the host compilation instead of using the
default compiler in the path for NVCC.
2012-08-20 15:14:37 -06:00
Docs Install editors helper files 2012-04-23 20:49:33 +02:00
Example
Modules FindCUDA: Added CUDA_HOST_COMPILER variable. 2012-08-20 15:14:37 -06:00
Source CMake Nightly Date Stamp 2012-06-19 00:01:05 -04:00
Templates Update CPackConfig template. 2012-02-25 23:07:07 +01:00
Tests Merge topic 'position-independent-targets' 2012-06-12 16:01:04 -04:00
Utilities BZip2: Remove unnecessary *.bz2 files from CMake source tree 2012-06-13 17:08:25 -04:00
.gitattributes Exclude from source archives files specific to Git work tree 2012-03-02 13:39:29 -05:00
.hooks-config.bash
CMakeCPack.cmake
CMakeCPackOptions.cmake.in
CMakeGraphVizOptions.cmake
CMakeLists.txt Require CMake 2.8.2 or higher to build CMake 2012-04-26 16:39:54 -04:00
CMakeLogo.gif
CTestConfig.cmake
CTestCustom.cmake.in Suppress warnings occurring on the dashboards using the PGI compiler. 2012-03-07 15:06:42 -05:00
CTestCustom.ctest.in
ChangeLog.manual CMake 2.8.8 2012-04-18 12:03:39 -04:00
ChangeLog.txt
CompileFlags.cmake
Copyright.txt Update main Copyright.txt year range for 2011 2011-11-10 07:56:31 -05:00
DartConfig.cmake
DartLocal.conf.in
Readme.txt
bootstrap Merge topic 'bootstrap-old-sh' 2012-05-29 15:36:47 -04:00
cmake_uninstall.cmake.in
configure
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