[Cmake-commits] [cmake-commits] hoffman committed CMake-2.4.8.html NONE 1.1 CMake-2.4.html NONE 1.1 CMake-2.5.X.html NONE 1.1 CMake-2.5.html NONE 1.1 RunningCMake.html NONE 1.1 blank.html NONE 1.1 documentation.html 1.2 1.3 index.html 1.2 1.3 news.html 1.2 1.3 participants.html 1.2 1.3 style.css 1.2 1.3 styleIE6.css 1.2 1.3
cmake-commits at cmake.org
cmake-commits at cmake.org
Thu Mar 6 11:13:27 EST 2008
Update of /cvsroot/CMake/CMakeWeb/HTML2
In directory public:/mounts/ram/cvs-serv10833
Modified Files:
documentation.html index.html news.html participants.html
style.css styleIE6.css
Added Files:
CMake-2.4.8.html CMake-2.4.html CMake-2.5.X.html
CMake-2.5.html RunningCMake.html blank.html
Log Message:
ENH: update new web pages
Index: participants.html
===================================================================
RCS file: /cvsroot/CMake/CMakeWeb/HTML2/participants.html,v
retrieving revision 1.2
retrieving revision 1.3
diff -C 2 -d -r1.2 -r1.3
*** participants.html 1 Mar 2008 21:53:30 -0000 1.2
--- participants.html 6 Mar 2008 16:13:24 -0000 1.3
***************
*** 80,83 ****
--- 80,85 ----
<li>Ken Martin (Kitware)</li>
<li>Brad King (Kitware)</li>
+ <li>Dave Cole (Kitware)</li>
+ <li>Alexander Neundorf (KDE)</li>
</ul>
</div>
Index: index.html
===================================================================
RCS file: /cvsroot/CMake/CMakeWeb/HTML2/index.html,v
retrieving revision 1.2
retrieving revision 1.3
diff -C 2 -d -r1.2 -r1.3
*** index.html 1 Mar 2008 18:30:26 -0000 1.2
--- index.html 6 Mar 2008 16:13:23 -0000 1.3
***************
*** 17,21 ****
<meta name="Description" content="CMake is an open-source,
cross-platfom build environment. It supports native build processes
! on Unix and Windows platforms under a variety of compilers." />
<meta name="Keywords" content="Software, compile, make, build, cross-platform" />
<META NAME="rating" CONTENT="General">
--- 17,21 ----
<meta name="Description" content="CMake is an open-source,
cross-platfom build environment. It supports native build processes
! on Unix, Windows and Mac platforms under a variety of compilers." />
<meta name="Keywords" content="Software, compile, make, build, cross-platform" />
<META NAME="rating" CONTENT="General">
***************
*** 82,87 ****
<div id="Content">
<div id="ContentTxtProd"><div id="pngheader"></div><br />
! Welcome to CMake, the cross-platform, open-source make system. CMake is used to control the software compilation process using simple platform and compiler independent configuration files. CMake generates native makefiles and workspaces that can be used in the compiler environment of your choice. CMake is quite sophisticated: it is possible to support complex environments requiring system configuration, pre-processor generation, code generation, and template instantiation. Please go <a href="http://www.cmake.org/HTML/About.html">here </a> to learn more about CMake.
! <p> CMake was developed by <a href="http://www.kitware.com">Kitware </a> as part of the <a href="http://www.itk.org">NLM Insight Segmentation and Registration Toolkit </a> project. The <a href="http://www.asci.doe.gov/scs/views.htm">ASCI VIEWS project </a> also provided support in the context of their parallel computation environment. Other sponsors include the Insight, <a href="http://www.vtk.org">VTK </a>, and <a href="http://vxl.sourceforge.net">VXL </a> open source software communities. </p>
</div>
<div id="ContentImgProd">
--- 82,87 ----
<div id="Content">
<div id="ContentTxtProd"><div id="pngheader"></div><br />
! Welcome to CMake, the cross-platform, open-source build system. CMake is a family of tools designed to build, test and package software. CMake is used to control the software compilation process using simple platform and compiler independent configuration files. CMake generates native makefiles and workspaces that can be used in the compiler environment of your choice. CMake is quite sophisticated: it is possible to support complex environments requiring system introspection, pre-processor generation, code generation, and template instantiation. In addition to controling the build process, CMake includes CTest for testing and CPack for packaging. Please go <a href="http://www.cmake.org/HTML/About.html">here </a> to learn more about CMake.
! <p> CMake was developed by <a href="http://www.kitware.com">Kitware </a> as part of the <a href="http://www.itk.org">NLM Insight Segmentation and Registration Toolkit </a> project. The <a href="http://www.asci.doe.gov/scs/views.htm">ASCI VIEWS project </a> also provided support in the context of their parallel computation environment. </p>
</div>
<div id="ContentImgProd">
***************
*** 105,131 ****
<div class="TabbedPanelsContentGroup">
<div class="TabbedPanelsContent">
! <p><strong> CMake is an extensible, open-source system that has several powerful features.</strong></p>
! These features include:
<ul>
<li>Supports complex, large build environments. CMake has been
! proven in several large projects.</li>
<li>Generates native build files (e.g., makefiles on Unix;
workspaces/projects on MS Visual C++). Therefore standard
tools can be used on any platform/compiler configuration.</li>
! <li>Has powerful commands include the ability to locate
! include files, libraries, executables; include external
! CMake files that encapsulate standard functionality;
! interfaces to testing systems; supports recursive
! directory traversal with variable inheritance; can run
! external programs; supports conditional builds; supports
! regular expression expansion; and so on.</li>
<li>Supports in-place and out-of-place builds. Multiple
compilation trees are possible from a single source tree.</li>
-
<li>Can be easily extended to add new features.</li>
! <li>CMake is open source.</li>
<li>CMake operates with a cache designed to be interfaced with
a graphical editor. The cache provides optional interaction
to conditionally control the build process.</li>
</ul>
</div>
--- 105,131 ----
<div class="TabbedPanelsContentGroup">
<div class="TabbedPanelsContent">
! <p><strong> CMake is an extensible, open-source system that has many powerful features.</strong></p>
! Those features include:
<ul>
<li>Supports complex, large build environments. CMake has been
! proven in several large projects (KDE, ParaView, SecondLife)</li>
<li>Generates native build files (e.g., makefiles on Unix;
workspaces/projects on MS Visual C++). Therefore standard
tools can be used on any platform/compiler configuration.</li>
! <li>Powerful system introspection abilities including the ability to find installed include files,
! libraries and executables. Also the ability to test the compiler for supported features.</li>
! <li>Integrated testing system called CTest. </li>
! <li>Integrated packaging system called CPack.</li>
! <li>Easy integration with CDash and Dart dashboard servers.</li>
! <li>Powerful scripting language with simple syntax.</li>
<li>Supports in-place and out-of-place builds. Multiple
compilation trees are possible from a single source tree.</li>
<li>Can be easily extended to add new features.</li>
! <li>CMake is open source, under a liberal BSD license.</li>
<li>CMake operates with a cache designed to be interfaced with
a graphical editor. The cache provides optional interaction
to conditionally control the build process.</li>
+ <li>Ability to create Mac OSX Frameworks and Application Bundles.</li>
+ <li>Supports adding complex custom rules to the build.</li>
</ul>
</div>
--- NEW FILE: RunningCMake.html ---
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>CMake Cross Platform Make</title></title>
<link href="kitware.css" rel="stylesheet" type="text/css" />
<script src="SpryAssets/SpryMenuBar.js" type="text/javascript"></script>
<script src="SpryAssets/SpryTabbedPanels.js" type="text/javascript"></script>
<link href="SpryAssets/SpryMenuBarHorizontal.css" rel="stylesheet" type="text/css" />
<link href="SpryAssets/SpryTabbedPanels.css" rel="stylesheet" type="text/css" />
<link href="style.css" rel="stylesheet" type="text/css" />
<!--[if lte IE 6]>
<link href="styleIE6.css" rel="stylesheet" type="text/css" />
<![endif]-->
<meta name="Description" content="CMake is an open-source,
cross-platfom build environment. It supports native build processes
on Unix and Windows platforms under a variety of compilers." />
<meta name="Keywords" content="Software, compile, make, build, cross-platform" />
<META NAME="rating" CONTENT="General">
<META NAME="ROBOTS" CONTENT="ALL">
</head>
<body>
<div id="bg">
<div id="frame">
<div id="banner">
<div id="search">
<form id="form1" method="post" action="/cgi-bin/htsearch">
<input name="searchtext" type="text" class="searchfield" id="searchtext" value="Search" />
</form>
</div>
<div id="nav">
<ul id="MenuBar1" class="MenuBarHorizontal">
<li><a class="MenuBarItemSubmenu" href="index.html">HOME</a>
<ul>
<li><a href="about.html">About</a></li>
<li><a href="copyright.html">Copyright</a></li>
<li><a href="participants.html">Participants</a></li>
<li><a href="news.html">News</a></li>
<li><a href="http://www.cdash.org">CDash</a></li>
<li><a href="http://www.kitware.com">Kitware</a></li>
</ul>
</li>
<li><a href="#" class="MenuBarItemSubmenu">CMAKE</a>
<ul>
<li><a href="download.html">Download</a></li>
<li><a href="install.html">Install</a></li>
<li><a href="documentation.html">Documentation</a></li>
<li><a href="http://www.cmake.org/Wiki/CMake_FAQ">FAQ</a></li>
<li><a href="http://www.kitware.com/products/cmakebook.html">CMake Book</a></li>
</ul>
</li>
<li><a class="MenuBarItemSubmenu" href="#">DEVELOPERS</a>
<ul>
<li><a href="http://public.kitware.com/CDash/index.php?project=CMake">Dashboard</a></li>
<li><a href="http://public.kitware.com/Bug">Bug Tracker</a> </li>
<li><a href="mailinglist.html">Mailing list</a></li>
<li><a href="http://www.cmake.org/Wiki/CMake">Wiki</a></li>
<li><a href="testing.html">Testing Setup</a></li>
</ul>
</li>
</ul>
</div>
<div id="logo">
<map name="Map" id="Map">
<area shape="poly" coords="5,82,5,5,94,32,296,32,294,81" href="../index.html" alt="Home" />
</map></div>
</div>
<div id="ContentBg">
<div id="Content">
<div id="ContentTxtProdWide"><div id="running_header"></div><br />
Once <strong>CMake</strong> has been installed on your system using it to build a project is easy. We will cover the process for Windows and then UNIX.<p>
<h2>Running CMake for Windows / Microsoft Visual C++ (MSVC)</h2>
Run CMakeSetup.exe, which should be in your Start menu under Program Files, there may also be a shortcut on your desktop, or if you built from source, it will be in the build directory. A GUI will appear similar to what is shown below (but possibly different as CMake is still being developed). The top two entries are the source code and binary directories. They allow you to specify where the source code is for what you wanted to compile and where the resulting binaries should be placed. You should set these two values first. If the binary directory you specify does not exist, it will be created for you. The Build for option, allows you to select which type of build files are generated. Currently, on windows, visual studio 7 (.NET), visual studio 6, NMake makefiles and Borland makefiles are supported.
<div align="center">
<img src="../Art/CMakeGUI.gif" border=0 alt="">
</div>
<p>
<h2>Running CMake on Unix</h2>
On most unix platforms, if the curses library is supported, cmake will build an executable called ccmake. This interface is a terminal based text application that is very similar to the windows GUI. To run ccmake, change directories into the directory where you want the binaries to be placed. This can be the same directory as the source code for what we call in-place builds (the binaries are in the same place as the source code) or it can be a new directory you create. Then run ccmake with either no arguments for an in-place-build, or with the path to the source directory on the command line. This will start the text interface that looks something like this:
<p>
<div align="center">
<img src="../Art/ccmake.png"
border=0 alt="">
</div>
If you hit the "c" key, it will configure the project. You should use that as you change values in the cache. To change values, use the arrow keys to select cache entries, and the enter key to edit them. Boolean values will toggle with the enter key. Once you have set all the values as you like, you can hit the 'G" key to generate the makefiles and exit. You can also hit "h" for help, "q" to quit, and "t" to toggle the viewing of advanced cache entries.
<p>
Two examples of CMake usage on the Unix platform follow for a hello world project called Hello. In the first example, and in-place build is performed, i.e., the binaries are placed in the same directory as the source code.
<p>
<pre>
cd Hello
ccmake .
make
</pre>
<p>
In the second example, an out-of-place build is performed, i.e., the source code, libraries, and executables are produced in a directory separate from the source code directory(ies).
<p>
<pre>
mkdir Hello-Linux
cd Hello-Linux
ccmake ../Hello
make
</pre>
<h2>Running CMake from the command line</h2>
More information about the Cmake-commits
mailing list