<html xmlns:v="urn:schemas-microsoft-com:vml"
xmlns:o="urn:schemas-microsoft-com:office:office"
xmlns:w="urn:schemas-microsoft-com:office:word"
xmlns="http://www.w3.org/TR/REC-html40">

<head>
<meta http-equiv=Content-Type content="text/html; charset=windows-1252">
<meta name=ProgId content=Word.Document>
<meta name=Generator content="Microsoft Word 9">
<meta name=Originator content="Microsoft Word 9">
<link rel=File-List href="./CMake_files/filelist.xml">
<link rel=Edit-Time-Data href="./CMake_files/editdata.mso">
<link rel=OLE-Object-Data href="./CMake_files/oledata.mso">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]-->
<title>Getting Started with Insight</title>
<!--[if gte mso 9]><xml>
 <o:DocumentProperties>
  <o:Author>Ken Martin</o:Author>
  <o:LastAuthor>Will Schroeder</o:LastAuthor>
  <o:Revision>2</o:Revision>
  <o:TotalTime>715</o:TotalTime>
  <o:LastPrinted>2000-11-02T14:34:00Z</o:LastPrinted>
  <o:Created>2000-11-24T13:31:00Z</o:Created>
  <o:LastSaved>2000-11-24T13:31:00Z</o:LastSaved>
  <o:Pages>9</o:Pages>
  <o:Words>2035</o:Words>
  <o:Characters>11604</o:Characters>
  <o:Company>Kitware Inc.</o:Company>
  <o:Lines>96</o:Lines>
  <o:Paragraphs>23</o:Paragraphs>
  <o:CharactersWithSpaces>14250</o:CharactersWithSpaces>
  <o:Version>9.2720</o:Version>
 </o:DocumentProperties>
</xml><![endif]--><!--[if gte mso 9]><xml>
 <w:WordDocument>
  <w:DoNotShowRevisions/>
  <w:DoNotPrintRevisions/>
  <w:HyphenationZone>0</w:HyphenationZone>
  <w:DoNotHyphenateCaps/>
  <w:DisplayHorizontalDrawingGridEvery>0</w:DisplayHorizontalDrawingGridEvery>
  <w:DisplayVerticalDrawingGridEvery>0</w:DisplayVerticalDrawingGridEvery>
  <w:UseMarginsForDrawingGridOrigin/>
  <w:DoNotShadeFormData/>
  <w:Compatibility>
   <w:UsePrinterMetrics/>
   <w:WW6BorderRules/>
   <w:FootnoteLayoutLikeWW8/>
   <w:ShapeLayoutLikeWW8/>
   <w:AlignTablesRowByRow/>
   <w:ForgetLastTabAlignment/>
   <w:LayoutRawTableWidth/>
   <w:LayoutTableRowsApart/>
  </w:Compatibility>
 </w:WordDocument>
</xml><![endif]-->
<style>
<!--
 /* Font Definitions */
@font-face
        {font-family:Wingdings;
        panose-1:5 0 0 0 0 0 0 0 0 0;
        mso-font-charset:2;
        mso-generic-font-family:auto;
        mso-font-pitch:variable;
        mso-font-signature:0 268435456 0 0 -2147483648 0;}
 /* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {mso-style-parent:"";
        margin-top:0in;
        margin-right:-.5in;
        margin-bottom:0in;
        margin-left:58.5pt;
        margin-bottom:.0001pt;
        mso-pagination:widow-orphan;
        font-size:12.0pt;
        mso-bidi-font-size:10.0pt;
        font-family:"Times New Roman";
        mso-fareast-font-family:"Times New Roman";}
h1
        {mso-style-next:Normal;
        margin-top:0in;
        margin-right:-.5in;
        margin-bottom:0in;
        margin-left:58.5pt;
        margin-bottom:.0001pt;
        mso-pagination:widow-orphan;
        page-break-after:avoid;
        mso-outline-level:1;
        font-size:18.0pt;
        mso-bidi-font-size:10.0pt;
        font-family:"Times New Roman";
        mso-font-kerning:0pt;
        mso-bidi-font-weight:normal;
        text-decoration:underline;
        text-underline:single;}
h2
        {mso-style-next:Normal;
        margin-top:0in;
        margin-right:-.5in;
        margin-bottom:0in;
        margin-left:58.5pt;
        margin-bottom:.0001pt;
        mso-pagination:widow-orphan;
        page-break-after:avoid;
        mso-outline-level:2;
        font-size:14.0pt;
        mso-bidi-font-size:10.0pt;
        font-family:"Times New Roman";
        mso-bidi-font-weight:normal;}
h3
        {mso-style-update:auto;
        mso-style-next:Normal;
        margin-top:0in;
        margin-right:-.5in;
        margin-bottom:0in;
        margin-left:0in;
        margin-bottom:.0001pt;
        mso-pagination:widow-orphan;
        page-break-after:avoid;
        mso-outline-level:3;
        font-size:12.0pt;
        mso-bidi-font-size:10.0pt;
        font-family:"Times New Roman";
        mso-bidi-font-weight:normal;}
h4
        {mso-style-update:auto;
        mso-style-next:Normal;
        margin-top:0in;
        margin-right:-.5in;
        margin-bottom:0in;
        margin-left:58.5pt;
        margin-bottom:.0001pt;
        mso-pagination:widow-orphan;
        page-break-after:avoid;
        mso-outline-level:4;
        font-size:14.0pt;
        mso-bidi-font-size:10.0pt;
        font-family:"Times New Roman";
        mso-bidi-font-weight:normal;}
h5
        {mso-style-next:Normal;
        margin-top:0in;
        margin-right:-.5in;
        margin-bottom:0in;
        margin-left:1.5in;
        margin-bottom:.0001pt;
        mso-pagination:widow-orphan;
        page-break-after:avoid;
        mso-outline-level:5;
        font-size:12.0pt;
        mso-bidi-font-size:10.0pt;
        font-family:"Times New Roman";
        font-weight:normal;}
p.MsoBodyText, li.MsoBodyText, div.MsoBodyText
        {margin-top:0in;
        margin-right:-.5in;
        margin-bottom:0in;
        margin-left:58.5pt;
        margin-bottom:.0001pt;
        mso-pagination:widow-orphan;
        font-size:12.0pt;
        mso-bidi-font-size:10.0pt;
        font-family:"Times New Roman";
        mso-fareast-font-family:"Times New Roman";}
p.MsoBodyText2, li.MsoBodyText2, div.MsoBodyText2
        {margin-top:0in;
        margin-right:-.5in;
        margin-bottom:0in;
        margin-left:58.5pt;
        margin-bottom:.0001pt;
        mso-pagination:widow-orphan;
        font-size:12.0pt;
        mso-bidi-font-size:10.0pt;
        font-family:"Times New Roman";
        mso-fareast-font-family:"Times New Roman";}
p.MsoBodyText3, li.MsoBodyText3, div.MsoBodyText3
        {margin-top:0in;
        margin-right:-.5in;
        margin-bottom:0in;
        margin-left:0in;
        margin-bottom:.0001pt;
        mso-pagination:widow-orphan;
        font-size:12.0pt;
        mso-bidi-font-size:10.0pt;
        font-family:"Times New Roman";
        mso-fareast-font-family:"Times New Roman";}
p.MsoBodyTextIndent2, li.MsoBodyTextIndent2, div.MsoBodyTextIndent2
        {margin-top:0in;
        margin-right:-.5in;
        margin-bottom:0in;
        margin-left:.5in;
        margin-bottom:.0001pt;
        mso-pagination:widow-orphan;
        font-size:12.0pt;
        mso-bidi-font-size:10.0pt;
        font-family:"Times New Roman";
        mso-fareast-font-family:"Times New Roman";}
p.MsoBodyTextIndent3, li.MsoBodyTextIndent3, div.MsoBodyTextIndent3
        {margin-top:0in;
        margin-right:-.5in;
        margin-bottom:0in;
        margin-left:2.0in;
        margin-bottom:.0001pt;
        mso-pagination:widow-orphan;
        font-size:12.0pt;
        mso-bidi-font-size:10.0pt;
        font-family:"Times New Roman";
        mso-fareast-font-family:"Times New Roman";}
p.MsoBlockText, li.MsoBlockText, div.MsoBlockText
        {margin-top:0in;
        margin-right:-.5in;
        margin-bottom:0in;
        margin-left:2.75in;
        margin-bottom:.0001pt;
        text-indent:-2.25in;
        mso-pagination:widow-orphan;
        font-size:12.0pt;
        mso-bidi-font-size:10.0pt;
        font-family:"Times New Roman";
        mso-fareast-font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;
        text-underline:single;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;
        text-underline:single;}
 /* Page Definitions */
@page
        {mso-footnote-position:end-of-section;
        mso-endnote-position:end-of-section;
        mso-endnote-numbering-style:arabic;
        mso-endnote-numbering-start:0;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.25in 1.0in 1.25in;
        mso-header-margin:.5in;
        mso-footer-margin:.5in;
        mso-paper-source:0;}
div.Section1
        {page:Section1;}
 /* List Definitions */
@list l0
        {mso-list-id:199510865;
        mso-list-type:simple;
        mso-list-template-ids:1617188546;}
@list l0:level1
        {mso-level-tab-stop:.5in;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l1
        {mso-list-id:473565295;
        mso-list-type:simple;
        mso-list-template-ids:67698703;}
@list l1:level1
        {mso-level-tab-stop:.25in;
        mso-level-number-position:left;
        margin-left:.25in;
        text-indent:-.25in;}
@list l2
        {mso-list-id:539517513;
        mso-list-type:simple;
        mso-list-template-ids:67698689;}
@list l2:level1
        {mso-level-number-format:bullet;
        mso-level-text:\F0B7;
        mso-level-tab-stop:.25in;
        mso-level-number-position:left;
        margin-left:.25in;
        text-indent:-.25in;
        font-family:Symbol;}
@list l3
        {mso-list-id:563219625;
        mso-list-type:hybrid;
        mso-list-template-ids:-88294360 1662814602 67698691 67698693 67698689 67698691 67698693 67698689 67698691 67698693;}
@list l3:level1
        {mso-level-start-at:0;
        mso-level-number-format:bullet;
        mso-level-text:\F0B7;
        mso-level-tab-stop:.75in;
        mso-level-number-position:left;
        margin-left:.75in;
        text-indent:-.25in;
        font-family:Symbol;
        mso-fareast-font-family:"Times New Roman";
        mso-bidi-font-family:"Times New Roman";}
@list l4
        {mso-list-id:793601646;
        mso-list-type:simple;
        mso-list-template-ids:-810149098;}
@list l4:level1
        {mso-level-start-at:2;
        mso-level-number-format:alpha-upper;
        mso-level-text:"%1\)";
        mso-level-tab-stop:.25in;
        mso-level-number-position:left;
        margin-left:.25in;
        text-indent:-.25in;}
@list l5
        {mso-list-id:908342481;
        mso-list-type:simple;
        mso-list-template-ids:-838064064;}
@list l5:level1
        {mso-level-number-format:alpha-upper;
        mso-level-text:"%1\)";
        mso-level-tab-stop:.5in;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l6
        {mso-list-id:1023172156;
        mso-list-type:hybrid;
        mso-list-template-ids:-43749692 67698703 67698713 67698715 67698703 67698713 67698715 67698703 67698713 67698715;}
@list l6:level1
        {mso-level-tab-stop:.5in;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l7
        {mso-list-id:1110665410;
        mso-list-type:simple;
        mso-list-template-ids:67698703;}
@list l7:level1
        {mso-level-tab-stop:.25in;
        mso-level-number-position:left;
        margin-left:.25in;
        text-indent:-.25in;}
@list l8
        {mso-list-id:1336492021;
        mso-list-type:simple;
        mso-list-template-ids:67698703;}
@list l8:level1
        {mso-level-tab-stop:.25in;
        mso-level-number-position:left;
        margin-left:.25in;
        text-indent:-.25in;}
@list l9
        {mso-list-id:1592200748;
        mso-list-type:simple;
        mso-list-template-ids:67698703;}
@list l9:level1
        {mso-level-tab-stop:.25in;
        mso-level-number-position:left;
        margin-left:.25in;
        text-indent:-.25in;}
@list l10
        {mso-list-id:1652054978;
        mso-list-type:hybrid;
        mso-list-template-ids:-1841533320 67698703 67698713 67698715 67698703 67698713 67698715 67698703 67698713 67698715;}
@list l10:level1
        {mso-level-tab-stop:.5in;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l11
        {mso-list-id:1724867039;
        mso-list-type:simple;
        mso-list-template-ids:67698689;}
@list l11:level1
        {mso-level-number-format:bullet;
        mso-level-text:\F0B7;
        mso-level-tab-stop:.25in;
        mso-level-number-position:left;
        margin-left:.25in;
        text-indent:-.25in;
        font-family:Symbol;}
@list l12
        {mso-list-id:1839999324;
        mso-list-type:simple;
        mso-list-template-ids:67698703;}
@list l12:level1
        {mso-level-tab-stop:.25in;
        mso-level-number-position:left;
        margin-left:.25in;
        text-indent:-.25in;}
@list l13
        {mso-list-id:2010212088;
        mso-list-type:simple;
        mso-list-template-ids:67698711;}
@list l13:level1
        {mso-level-number-format:alpha-lower;
        mso-level-text:"%1\)";
        mso-level-tab-stop:.25in;
        mso-level-number-position:left;
        margin-left:.25in;
        text-indent:-.25in;}
@list l14
        {mso-list-id:2012557743;
        mso-list-type:simple;
        mso-list-template-ids:67698689;}
@list l14:level1
        {mso-level-number-format:bullet;
        mso-level-text:\F0B7;
        mso-level-tab-stop:.25in;
        mso-level-number-position:left;
        margin-left:.25in;
        text-indent:-.25in;
        font-family:Symbol;}
@list l15
        {mso-list-id:2125536847;
        mso-list-type:simple;
        mso-list-template-ids:67698703;}
@list l15:level1
        {mso-level-tab-stop:.25in;
        mso-level-number-position:left;
        margin-left:.25in;
        text-indent:-.25in;}
ol
        {margin-bottom:0in;}
ul
        {margin-bottom:0in;}
-->
</style>
<!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext="edit" spidmax="2050"/>
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1"/>
 </o:shapelayout></xml><![endif]-->
</head>

<body lang=EN-US link=blue vlink=purple style='tab-interval:.5in'>

<div class=Section1>

<h1><!--[if gte vml 1]><v:shapetype id="_x0000_t202" coordsize="21600,21600"
 o:spt="202" path="m0,0l0,21600,21600,21600,21600,0xe">
 <v:stroke joinstyle="miter"/>
 <v:path gradientshapeok="t" o:connecttype="rect"/>
</v:shapetype><v:shape id="_x0000_s1026" type="#_x0000_t202" style='position:absolute;
 left:0;text-align:left;margin-left:0;margin-top:-6.4pt;width:132.85pt;
 height:48.05pt;z-index:1;mso-wrap-edited:f;mso-position-horizontal:left'
 wrapcoords="-104 0 -104 21600 21704 21600 21704 0 -104 0" o:allowincell="f"
 filled="f" stroked="f">
 <v:textbox style='mso-next-textbox:#_x0000_s1026'>
  <![if !mso]>
  <table cellpadding=0 cellspacing=0 width="100%">
   <tr>
    <td><![endif]>
    <div>
    <p class=MsoNormal style='margin-left:0in'><span style='font-size:24.0pt;
    mso-bidi-font-size:10.0pt'><v:shapetype id="_x0000_t75" coordsize="21600,21600"
     o:spt="75" o:preferrelative="t" path="m@4@5l@4@11@9@11@9@5xe" filled="f"
     stroked="f">
     <v:stroke joinstyle="miter"/>
     <v:formulas>
      <v:f eqn="if lineDrawn pixelLineWidth 0"/>
      <v:f eqn="sum @0 1 0"/>
      <v:f eqn="sum 0 0 @1"/>
      <v:f eqn="prod @2 1 2"/>
      <v:f eqn="prod @3 21600 pixelWidth"/>
      <v:f eqn="prod @3 21600 pixelHeight"/>
      <v:f eqn="sum @0 0 1"/>
      <v:f eqn="prod @6 1 2"/>
      <v:f eqn="prod @7 21600 pixelWidth"/>
      <v:f eqn="sum @8 21600 0"/>
      <v:f eqn="prod @7 21600 pixelHeight"/>
      <v:f eqn="sum @10 21600 0"/>
     </v:formulas>
     <v:path o:extrusionok="f" gradientshapeok="t" o:connecttype="rect"/>
     <o:lock v:ext="edit" aspectratio="t"/>
    </v:shapetype><v:shape id="_x0000_i1025" type="#_x0000_t75" style='width:117pt;
     height:40.5pt' o:ole="" fillcolor="window">
     <v:imagedata src="./CMake_files/image001.gif" o:title=""/>
    </v:shape><![if gte mso 9]><o:OLEObject Type="Embed" ProgID="Word.Picture.8"
     ShapeID="_x0000_i1025" DrawAspect="Content" ObjectID="_1036559827">
    </o:OLEObject>
   <![endif]></span></p>
    </div>
    <![if !mso]></td>
   </tr>
  </table>
  <![endif]></v:textbox>
 <w:wrap type="square"/>
</v:shape><![endif]--><![if !vml]><img width=179 height=67
src="./CMake_files/image002.gif" align=left hspace=12 alt="Text Box:  " v:shapes="_x0000_s1026"><![endif]><span
style='font-size:24.0pt;mso-bidi-font-size:10.0pt;text-decoration:none;
text-underline:none'>Cross-Platform Make (CMake)<br style='mso-special-character:
line-break'>
<![if !supportLineBreakNewLine]><br style='mso-special-character:line-break'>
<![endif]></span><span style='font-size:24.0pt;mso-bidi-font-size:10.0pt'><o:p></o:p></span></h1>

<h1 style='margin-left:0in'>Introduction<span style='font-size:14.0pt;
mso-bidi-font-size:10.0pt'><o:p></o:p></span></h1>

<p class=MsoNormal style='margin-left:0in'>The Cross-Platform Make facility
(CMake) manages the build process—in a portable manner—across Microsoft Visual
C++ and Unix platforms. CMake can be used to compile source code, create
libraries, and build executables in arbitrary combination. On Unix platforms,
CMake uses configure to build makefiles that may be used with the standard make
facility. In the Microsoft Visual C++ environment, CMake creates projects and
workspaces that can be imported into MSVC. (These projects and workspaces are
created by running the program CMakeSetup.exe.)</p>

<p class=MsoNormal><![if !supportEmptyParas]> <![endif]><o:p></o:p></p>

<p class=MsoNormal style='margin-left:0in'>CMake is designed to support complex
directory hierarchies and applications dependent on several libraries. For
example, CMake supports projects consisting of multiple toolkits (i.e.,
libraries), where each toolkit might contain several directories, and the
application depends on the toolkits plus additional code. CMake can also handle
situations where executables must be built in order to generate code that is
then compiled and linked into a final application.</p>

<p class=MsoNormal><span style='font-size:14.0pt;mso-bidi-font-size:10.0pt'><![if !supportEmptyParas]> <![endif]><o:p></o:p></span></p>

<h1 style='margin-left:0in'>User's Guide</h1>

<p class=MsoNormal style='margin-left:0in'>This section describes how to use
CMake from the user’s point of view. That is, if<span style="mso-spacerun:
yes">  </span>your aim is to use CMake to manage your build process, read this
section first. A Developer's Guide section follows later in this document to
explain the internals of CMake, and how to setup the CMake environment. Read
that section only if you plan to install, extend, or enhance the features of
CMake.</p>

<p class=MsoNormal style='margin-left:0in'><![if !supportEmptyParas]> <![endif]><o:p></o:p></p>

<h2 style='margin-left:0in'>Input to CMake</h2>

<p class=MsoNormal style='margin-left:0in'>CMake uses the following files and
variables. You must set these variables and create these files before CMake
will run properly. Please note that many of the variables represent a list of
items (e.g., a list of include directories). The list is defined by placing a
single item per line—with the line continuation character "\"
used—with as much whitespace (spaces and tabs) as you'd like between each
entry. (See the Examples section for more information.)</p>

<p class=MsoNormal style='margin-left:0in'><![if !supportEmptyParas]> <![endif]><o:p></o:p></p>

<p class=MsoNormal style='margin-left:.25in;text-indent:-.25in;mso-list:l1 level1 lfo4;
tab-stops:list .25in'><![if !supportLists]>1.<span style='font:7.0pt "Times New Roman"'>     
</span><![endif]>Variables (expanded as necessary during the CMake process):</p>

<p class=MsoNormal style='margin-left:.25in'><![if !supportEmptyParas]> <![endif]><o:p></o:p></p>

<p class=MsoBlockText>${CMAKE_SOURCE_DIR} — The root directory of the source
code directory tree.</p>

<p class=MsoBlockText><![if !supportEmptyParas]> <![endif]><o:p></o:p></p>

<p class=MsoBlockText>${CMAKE_BINARY_DIR}<span style="mso-spacerun: yes"> 
</span>— The root directory of the build tree where binaries are placed. This
includes object files, libraries, and executables.<br style='mso-special-character:
line-break'>
<![if !supportLineBreakNewLine]><br style='mso-special-character:line-break'>
<![endif]></p>

<p class=MsoNormal style='margin-left:.25in;text-indent:-13.5pt'><span
style='mso-tab-count:1'>     </span>Typically the user indirectly defines these
variables by running a program. In MSVC, the user runs a program
(CMakeSetup.exe) defining the location of the source code and where the
binaries (object code, libraries, and executables) are placed. On Unix,
configure is used to indicate where the source code and binaries are located.
(The location of the configure file is the source directory, the directory in
which configure is run is the binary directory.)</p>

<p class=MsoNormal><![if !supportEmptyParas]> <![endif]><o:p></o:p></p>

<p class=MsoNormal style='margin-left:.25in;text-indent:-.25in;mso-list:l1 level1 lfo4'><![if !supportLists]>2.<span
style='font:7.0pt "Times New Roman"'>      </span><![endif]>File
CMakeLists.txt:<br>
This input file specifies the things that need to be built in the current
directory.<span style="mso-spacerun: yes">  </span>The CMakeLists.txt can
contain the following variables:</p>

<p class=MsoNormal style='margin-left:0in'><![if !supportEmptyParas]> <![endif]><o:p></o:p></p>

<p class=MsoNormal style='margin-left:.5in;text-indent:-.25in;mso-list:l5 level1 lfo9;
tab-stops:list .5in'><![if !supportLists]>A)<span style='font:7.0pt "Times New Roman"'>   
</span><![endif]>Build Targets: </p>

<p class=MsoNormal style='margin-left:1.0in'>SOURCE_FILES = </p>

<p class=MsoNormal style='margin-left:1.0in'>WIN32_SOURCE_FILES = </p>

<p class=MsoNormal style='margin-left:1.0in'>UNIX_SOURCE_FILES = </p>

<p class=MsoNormal style='margin-left:1.0in'>ABSTRACT_CLASSES = </p>

<p class=MsoNormal style='margin-left:1.0in'>SUBDIRS =</p>

<p class=MsoNormal style='margin-left:1.0in'>LIBRARY =</p>

<p class=MsoNormal style='margin-left:1.0in'>EXECUTABLES =</p>

<p class=MsoNormal style='margin-left:1.0in'>AUX_SOURCE_DIRECTORY = </p>

<p class=MsoNormal style='margin-left:1.0in'>PROJECT = </p>

<p class=MsoNormal style='margin-left:.5in'><![if !supportEmptyParas]> <![endif]><o:p></o:p></p>

<p class=MsoNormal style='margin-left:.5in'>CMake works recursively, descending
from the current directory into the subdirectories listed in the SUBDIRS
variable. The variable SOURCE_FILES lists all source code that must be compiled
for all platforms (Note: currently only C and C++ code can be compiled.)
WIN32_SOURCE_FILES is a list of all source code that must be compiled in the
MSVC environment. Similarly, UNIX_SOURCE_FILES lists all source code that must
be compiled on Unix platforms. ABSTRACT_CLASSES are modules that must be
compiled but are not instantiable (i.e., instances cannot be created because
the class has pure virtual functions). This is important in some applications
where wrapper code can be generated around instantiable modules. LIBRARY
defines the name of a library into which all object code is inserted and
EXECUTABLES are any executables that must be built. (Note: source code is
compiled first, then libraries are built, and then executables are created.)
The AUX_SOURCE_DIRECTORY is a directory where other source code, not in this
directory, whose object code is to be inserted into the current LIBRARY.<span
style="mso-spacerun: yes">  </span>All source files in the AUX_SOURCE_DIRECTORY
are compiled (e.g. *.c, *.cxx, *.cpp, etc.). PROJECT is a special variable used
in the MSVC to create the project for the compiler.</p>

<p class=MsoNormal style='margin-left:.5in;text-indent:.5in'><![if !supportEmptyParas]> <![endif]><o:p></o:p></p>

<p class=MsoNormal style='margin-left:.5in;text-indent:-.25in;mso-list:l4 level1 lfo6'><![if !supportLists]>B)<span
style='font:7.0pt "Times New Roman"'>     </span><![endif]>Build
flags and options.<span style="mso-spacerun: yes">  </span>In addition to the
variables listed above, CMakeLists.txt can contain the following variables:</p>

<p class=MsoNormal style='margin-left:.5in'><![if !supportEmptyParas]> <![endif]><o:p></o:p></p>

<p class=MsoNormal style='margin-left:1.0in'>INCLUDE_DIRECTORIES = </p>

<p class=MsoNormal style='margin-left:1.0in'>LINK_DIRECTORIES =</p>

<p class=MsoNormal style='margin-left:1.0in'>LINK_LIBRARIES = </p>

<p class=MsoNormal style='margin-left:1.0in'>WIN32_LIBRARIES =</p>

<p class=MsoNormal style='margin-left:1.0in'>UNIX_LIBRARIES =</p>

<p class=MsoNormal><![if !supportEmptyParas]> <![endif]><o:p></o:p></p>

<p class=MsoNormal style='margin-left:.5in'>These variables define directories
and libraries used to compile source code and build executables. An important feature
of the variables listed above is that are recursively expanded as each
subdirectory is visited. That is, as CMake descends through a directory
hierarchy (defined by SUBDIRS) these variables are expanded each time a
definition for a variable is encountered. For example, if in the top-level
directory INCLUDE_DIRECTORIES is set to /usr/include, and the SUBDIRS variable
lists ./subdir1, and the file ./subdir1/CMakeLists.txt defines
INCLUDE_DIRECTORIES to be /tmp/foobar, then the net result is</p>

<p class=MsoNormal><![if !supportEmptyParas]> <![endif]><o:p></o:p></p>

<p class=MsoNormal><span style='mso-tab-count:1'>     </span>INCLUDE_DIRECTORIES
= /usr/include /tmp/foobar</p>

<p class=MsoNormal style='margin-left:.5in;text-indent:.5in'><![if !supportEmptyParas]> <![endif]><o:p></o:p></p>

<p class=MsoNormal style='margin-left:1.0in'><![if !supportEmptyParas]> <![endif]><o:p></o:p></p>

<h1 style='margin-left:0in'>Using CMake</h1>

<p class=MsoNormal style='margin-left:0in'>The instructions in this section
assume that the CMake environment has been properly installed on your system.
(See the Developer's Guide later in this document for instructions on
installing the CMake environment.) These instructions are fairly general, each
section has examples demonstrating the use of CMake in a particular
circumstance.</p>

<p class=MsoNormal style='margin-left:0in'><![if !supportEmptyParas]> <![endif]><o:p></o:p></p>

<h2 style='margin-left:0in'>A Simple Build</h2>

<p class=MsoNormal style='margin-left:0in'>The build process varies depending
on the platform as described in the following sections.</p>

<p class=MsoNormal style='margin-left:0in'><![if !supportEmptyParas]> <![endif]><o:p></o:p></p>

<h3>Microsoft Visual C++ (MSVC)</h3>

<p class=MsoNormal style='margin-left:0in;tab-stops:0in'>In the MSVC
environment, two executable programs are used.</p>

<p class=MsoNormal style='margin-left:0in;text-indent:.5in'>CMakeSetup.exe<span
style="mso-spacerun: yes">  </span>— GUI-based tool for configuring CMake in
the MSVC environment.</p>

<p class=MsoNormal style='margin-left:0in;text-indent:.5in'><![if !supportEmptyParas]> <![endif]><o:p></o:p></p>

<p class=MsoNormal style='margin-left:0in;text-indent:.5in'>CMakeSetupCMD.exe —
windows command line version of CmakeSetup</p>

<p class=MsoNormal style='margin-left:0in;text-indent:.5in'><![if !supportEmptyParas]> <![endif]><o:p></o:p></p>

<p class=MsoBodyText3>Typically the user will use CmakeSetup.exe for
configuring in the MSVC environment. For those who prefer a
scripting/command-line environment; however, CMakeSetupCMD.exe provides an
alternative. (Note: these programs may have to be built from the CMake/Source
directory, so the executable may not initially exist. Once you load and build
the workspace as described in the following, the executables will be created.)</p>

<p class=MsoNormal style='margin-left:.25in'><![if !supportEmptyParas]> <![endif]><o:p></o:p></p>

<p class=MsoNormal style='margin-left:.25in;text-indent:-.25in;mso-list:l8 level1 lfo10'><![if !supportLists]>1.<span
style='font:7.0pt "Times New Roman"'>      </span><![endif]>Using
CMakeSetup:</p>

<p class=MsoNormal style='margin-left:0in'><![if !supportEmptyParas]> <![endif]><o:p></o:p></p>

<p class=MsoNormal style='margin-left:.75in;text-indent:-.25in;mso-list:l3 level1 lfo14;
tab-stops:list .75in'><![if !supportLists]><span style='font-family:Symbol'>·<span
style='font:7.0pt "Times New Roman"'>       
</span></span><![endif]>Load CMake/Source/CMakeSetup.dsw into MSVC.</p>

<p class=MsoNormal style='margin-left:.75in;text-indent:-.25in;mso-list:l3 level1 lfo14;
tab-stops:list .75in'><![if !supportLists]><span style='font-family:Symbol'>·<span
style='font:7.0pt "Times New Roman"'>       
</span></span><![endif]>Build CMakeSetup.exe</p>

<p class=MsoNormal style='margin-left:.75in;text-indent:-.25in;mso-list:l3 level1 lfo14;
tab-stops:list .75in'><![if !supportLists]><span style='font-family:Symbol'>·<span
style='font:7.0pt "Times New Roman"'>       
</span></span><![endif]>Run CMakeSetup.exe</p>

<p class=MsoNormal style='margin-left:.75in;text-indent:-.25in;mso-list:l3 level1 lfo14;
tab-stops:list .75in'><![if !supportLists]><span style='font-family:Symbol'>·<span
style='font:7.0pt "Times New Roman"'>       
</span></span><![endif]>Define the variables CMAKE_SOURCE_DIR and
CMAKE_BINARY_DIR by typing in the blanks in the GUI.</p>

<p class=MsoNormal style='margin-left:.75in;text-indent:-.25in;mso-list:l3 level1 lfo14;
tab-stops:list .75in'><![if !supportLists]><span style='font-family:Symbol'>·<span
style='font:7.0pt "Times New Roman"'>       
</span></span><![endif]>Click OK.</p>

<p class=MsoNormal style='margin-left:.75in;text-indent:-.25in;mso-list:l3 level1 lfo14;
tab-stops:list .75in'><![if !supportLists]><span style='font-family:Symbol'>·<span
style='font:7.0pt "Times New Roman"'>       
</span></span><![endif]>Load the generated project file. The project file will
be found in CMAKE_BINARY_DIR.</p>

<p class=MsoNormal style='margin-left:.75in;text-indent:-.25in;mso-list:l3 level1 lfo14;
tab-stops:list .75in'><![if !supportLists]><span style='font-family:Symbol'>·<span
style='font:7.0pt "Times New Roman"'>       
</span></span><![endif]>Build the appropriate project(s).</p>

<p class=MsoNormal style='margin-left:0in'><![if !supportEmptyParas]> <![endif]><o:p></o:p></p>

<p class=MsoNormal style='margin-left:.25in'>The following example demonstrates
the use of CMake in the NLM Insight Segmentation and Registration Toolkit
environment. Begin by opening the CMakeSetup.dsw workspace by choosing
File/Open Workspace…</p>

<p class=MsoNormal style='margin-left:.25in'><![if !supportEmptyParas]> <![endif]><o:p></o:p></p>

<p class=MsoNormal align=center style='margin-left:.25in;text-align:center'><!--[if gte vml 1]><v:shape
 id="_x0000_i1026" type="#_x0000_t75" style='width:247.5pt;height:154.5pt'>
 <v:imagedata src="./CMake_files/image003.png" o:title=""/>
</v:shape><![endif]--><![if !vml]><img width=330 height=206
src="./CMake_files/image004.jpg" v:shapes="_x0000_i1026"><![endif]></p>

<p class=MsoNormal style='margin-left:.25in'><![if !supportEmptyParas]> <![endif]><o:p></o:p></p>

<p class=MsoBodyText3 style='margin-left:.25in'>Next, run and build
CMakeSetup.exe by choosing Build/Execute. MSVC may indicate that some files are
out-of-date and need rebuilding. Answer YES and proceed. </p>

<p class=MsoNormal align=center style='margin-left:.25in;text-align:center'><!--[if gte vml 1]><v:shape
 id="_x0000_i1027" type="#_x0000_t75" style='width:431.25pt;height:351.75pt'>
 <v:imagedata src="./CMake_files/image005.jpg" o:title="CMakeBuild"/>
</v:shape><![endif]--><![if !vml]><img width=575 height=469
src="./CMake_files/image006.jpg" v:shapes="_x0000_i1027"><![endif]></p>

<p class=MsoNormal style='margin-left:.25in'><![if !supportEmptyParas]> <![endif]><o:p></o:p></p>

<p class=MsoBodyText3 style='margin-left:.25in'>Once CMakeSetup.exe is
compiled, it will run and the following GUI will appear as shown below. Notice
that the location of the source root directory (CMAKE_SOURCE_DIR) and the
binary root directory (CMAKE_BINARY_DIR ) are set. (Use the browse button if
necessary to set/locate these directories. If the binary directory does not
exist, it will be created.)<span style="mso-spacerun: yes"> 
</span>CMakeSetup.exe will run for a second or two and then disappear.</p>

<p class=MsoNormal><![if !supportEmptyParas]> <![endif]><o:p></o:p></p>

<p class=MsoNormal align=center style='margin-left:.25in;text-align:center'><!--[if gte vml 1]><v:shape
 id="_x0000_i1028" type="#_x0000_t75" style='width:264.75pt;height:191.25pt'>
 <v:imagedata src="./CMake_files/image007.png" o:title=""/>
</v:shape><![endif]--><![if !vml]><img width=353 height=255
src="./CMake_files/image008.jpg" v:shapes="_x0000_i1028"><![endif]></p>

<p class=MsoNormal style='margin-left:0in'><![if !supportEmptyParas]> <![endif]><o:p></o:p></p>

<p class=MsoBodyText3 style='margin-left:.25in'>CMakeSetup.exe generates a MSVC
project file named according the CMake variable PROJECT described
previously.<span style="mso-spacerun: yes">  </span>In this example, PROJECT=
ITK, so the MSVC workspace is ITK.dsw (and is placed in the CMAKE_BINARY_DIR,
in this example I:\InsightBin). The next step in this process is to open the
workspace with MSVC. Once open, the project can be built by choosing
Build/Batch Build. This will build all the projects contained in the workspace.</p>

<p class=MsoBodyText3 align=center style='text-align:center'><!--[if gte vml 1]><v:shape
 id="_x0000_i1029" type="#_x0000_t75" style='width:402pt;height:349.5pt'>
 <v:imagedata src="./CMake_files/image009.jpg" o:title="BatchBuild"/>
</v:shape><![endif]--><![if !vml]><img width=536 height=466
src="./CMake_files/image010.jpg" v:shapes="_x0000_i1029"><![endif]></p>

<p class=MsoBodyText3 align=center style='text-align:center'><![if !supportEmptyParas]> <![endif]><o:p></o:p></p>

<p class=MsoBodyText3 align=center style='text-align:center'><![if !supportEmptyParas]> <![endif]><o:p></o:p></p>

<p class=MsoBodyText3 style='margin-left:.25in;text-indent:-.25in;mso-list:
l8 level1 lfo10;tab-stops:list .25in'><![if !supportLists]>2.<span
style='font:7.0pt "Times New Roman"'>      </span><![endif]>Using
CMakeSetupCMD.exe:</p>

<p class=MsoBodyText3><![if !supportEmptyParas]> <![endif]><o:p></o:p></p>

<p class=MsoNormal style='margin-left:.75in;text-indent:-.25in;mso-list:l3 level1 lfo14;
tab-stops:list .75in'><![if !supportLists]><span style='font-family:Symbol'>·<span
style='font:7.0pt "Times New Roman"'>       
</span></span><![endif]>Load CMake/Source/CMakeSetup.dsw into MSVC.</p>

<p class=MsoNormal style='margin-left:.75in;text-indent:-.25in;mso-list:l3 level1 lfo14;
tab-stops:list .75in'><![if !supportLists]><span style='font-family:Symbol'>·<span
style='font:7.0pt "Times New Roman"'>       
</span></span><![endif]>Build CMakeSetup.exe (this will generate
CMakeSetupCMD.exe).</p>

<p class=MsoNormal style='margin-left:.75in;text-indent:-.25in;mso-list:l3 level1 lfo14;
tab-stops:list .75in'><![if !supportLists]><span style='font-family:Symbol'>·<span
style='font:7.0pt "Times New Roman"'>       
</span></span><![endif]>Run CMakeSetupCMD.exe with the appropriate command-line
arguments.</p>

<p class=MsoNormal style='margin-left:.75in;text-indent:-.25in;mso-list:l3 level1 lfo14;
tab-stops:list .75in'><![if !supportLists]><span style='font-family:Symbol'>·<span
style='font:7.0pt "Times New Roman"'>       
</span></span><![endif]>Load the generated project file. The project file will
be found in CMAKE_BINARY_DIR.</p>

<p class=MsoNormal style='margin-left:.75in;text-indent:-.25in;mso-list:l3 level1 lfo14;
tab-stops:list .75in'><![if !supportLists]><span style='font-family:Symbol'>·<span
style='font:7.0pt "Times New Roman"'>       
</span></span><![endif]>Build the appropriate project(s).</p>

<p class=MsoNormal style='margin-left:0in'><![if !supportEmptyParas]> <![endif]><o:p></o:p></p>

<p class=MsoNormal style='margin-left:.25in'>Using the command line version
CMakeSetupCMD.exe is similar to the process described previously. The only
difference is that CMakeSetupCMD.exe is run instead of CMakeSetup.exe.</p>

<p class=MsoNormal style='margin-left:.25in'><![if !supportEmptyParas]> <![endif]><o:p></o:p></p>

<p class=MsoNormal style='margin-left:.25in'>The following example demonstrates
the use of CMakeSetupCMD.exe in the NLM Insight Segmentation and Registration Toolkit
environment. To run the program you must have a MS-DOS window or similar
(cygwin shell). Then type:</p>

<p class=MsoNormal style='margin-left:.25in'><![if !supportEmptyParas]> <![endif]><o:p></o:p></p>

<p class=MsoNormal style='margin-left:1.0in;text-indent:-.5in'>CMakeSetupCMD.exe
Makefile.in –DSW|-DSP \<br>
–H$CMAKE_SOURCE_DIR -B$CMAKE_BINARY_DIR \</p>

<p class=MsoNormal style='margin-left:1.0in'>–D(current source directory)
–O(current binary directory)</p>

<p class=MsoNormal style='margin-left:.5in'><![if !supportEmptyParas]> <![endif]><o:p></o:p></p>

<p class=MsoNormal style='margin-left:.25in'>(The “\” indicates line
continuation, you do not have to type this.) This usage reflects that
CMakeSetupCMD.exe can be run anywhere in the source directory tree. Therefore,
not only must you define the CMAKE_SOURCE_DIR and CMAKE_BIN_DIR variable
definitions using the –H –B command line arguments. In addition, you must
indicate where you are in the source tree using the –D argument, and the
equivalent location in the binary directory tree with the –O argument. In
addition, you must specify whether to build the workspace containing all the
projects, or whether to build just the project corresponding to this directory.</p>

<p class=MsoNormal style='margin-left:0in'><![if !supportEmptyParas]> <![endif]><o:p></o:p></p>

<h3>Unix</h3>

<p class=MsoBodyText3>On Unix, configure and the standard make utility are used
as follows:</p>

<p class=MsoBodyText3><![if !supportEmptyParas]> <![endif]><o:p></o:p></p>

<p class=MsoBodyText3 style='margin-left:.75in;text-indent:-.25in;mso-list:
l3 level1 lfo14;tab-stops:list .75in'><![if !supportLists]><span
style='font-family:Symbol'>·<span style='font:7.0pt "Times New Roman"'>       
</span></span><![endif]>Run configure from the CMAKE_BINARY_DIR.</p>

<p class=MsoBodyText3 style='margin-left:.75in;text-indent:-.25in;mso-list:
l3 level1 lfo14;tab-stops:list .75in'><![if !supportLists]><span
style='font-family:Symbol'>·<span style='font:7.0pt "Times New Roman"'>       
</span></span><![endif]>Type “make” in the same dir.</p>

<p class=MsoBodyText3><![if !supportEmptyParas]> <![endif]><o:p></o:p></p>

<p class=MsoBodyText3>The CMake variables CMAKE_SOURCE_DIR and CMAKE_BINARY_DIR
are defined when configure is run. The directory that configure is run <u>from</u>
determines where the binaries are placed; the location <u>of</u> the configure
program determines where the source tree is located.</p>

<p class=MsoBodyText3><![if !supportEmptyParas]> <![endif]><o:p></o:p></p>

<p class=MsoBodyText3>Two examples of CMake usage on the Unix platform follow
(using the Insight system). 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>

<p class=MsoBodyText3><![if !supportEmptyParas]> <![endif]><o:p></o:p></p>

<p class=MsoNormal style='margin-left:.5in'>cd (into the CMAKE_SOURCE_DIR
directory)</p>

<p class=MsoNormal style='margin-left:0in;text-indent:.5in'>./configure</p>

<p class=MsoBodyText3 style='text-indent:.5in'>make</p>

<p class=MsoBodyText3 style='text-indent:.5in'><![if !supportEmptyParas]> <![endif]><o:p></o:p></p>

<p class=MsoBodyText3>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>

<p class=MsoNormal style='margin-left:.25in'><![if !supportEmptyParas]> <![endif]><o:p></o:p></p>

<p class=MsoNormal style='margin-left:.5in'>mkdir Build-dir</p>

<p class=MsoNormal style='margin-left:.5in'>cd Build-dir</p>

<p class=MsoNormal style='margin-left:.5in'>$CMAKE_SOURCE_DIR /configure</p>

<p class=MsoNormal style='margin-left:.5in'>make</p>

<p class=MsoNormal><![if !supportEmptyParas]> <![endif]><o:p></o:p></p>

<h2 style='margin-left:0in'>Developing with CMake</h2>

<p class=MsoNormal style='margin-left:0in'>The preceding instructions enable
users to compile and build CMake projects. If all you need to do is use the
resulting binary code, these instructions are sufficient. However, if you are
planning to extend your installation by adding new source files, libraries,
and/or directories, you will need to modify the CMakeLists.txt. </p>

<p class=MsoNormal style='margin-left:0in'><![if !supportEmptyParas]> <![endif]><o:p></o:p></p>

<h3>Adding A New Source Module</h3>

<p class=MsoNormal style='margin-left:0in'>One of the most common ways to
extend CMake is to add a new, compilable source module. (Here we mean that a
compilable module is a source code module that when processed by a compiler
generates object code. A .h header file or .txx template file is not a
compilable module by this definition). Adding a source module means adding it
the list of source files by adding it to the SOURCE_FILES variable defined in
the CMakeLists.txt file . Here is an example where the module itkFoo.cxx is
added.</p>

<p class=MsoNormal style='margin-left:0in'><![if !supportEmptyParas]> <![endif]><o:p></o:p></p>

<p class=MsoNormal style='margin-left:0in'><span style='mso-tab-count:1'>            </span>SOURCE_FILES
=\</p>

<p class=MsoNormal style='margin-left:0in;text-indent:.5in'>itkDataObject \</p>

<p class=MsoNormal style='margin-left:0in;text-indent:.5in'>itkDirectory \</p>

<p class=MsoNormal style='margin-left:0in;text-indent:.5in'>itkFoo</p>

<p class=MsoNormal style='margin-left:0in;text-indent:.5in'><![if !supportEmptyParas]> <![endif]><o:p></o:p></p>

<p class=MsoBodyText3>When a new module is added, CMake must be rerun (e.g.,
CMakeSetup.exe on MSVC or configure on Unix) to regenerate projects or
makefiles. Then the compilation can proceed (e.g., MSVC or make).</p>

<p class=MsoNormal style='margin-left:0in'><![if !supportEmptyParas]> <![endif]><o:p></o:p></p>

<h3>Adding A New Directory</h3>

<p class=MsoBodyText3>Another common way to extend a project is to add a new
directory. This involves three steps:</p>

<p class=MsoBodyText3><![if !supportEmptyParas]> <![endif]><o:p></o:p></p>

<p class=MsoBodyText3 style='margin-left:.5in;text-indent:-.25in;mso-list:l10 level1 lfo16;
tab-stops:list .5in'><![if !supportLists]>1.<span style='font:7.0pt "Times New Roman"'>     
</span><![endif]>Create the directory somewhere in the CMAKE_SOURCE_DIR
directory hierarchy.</p>

<p class=MsoBodyText3 style='margin-left:.25in'><![if !supportEmptyParas]> <![endif]><o:p></o:p></p>

<p class=MsoBodyText3 style='margin-left:.5in;text-indent:-.25in;mso-list:l10 level1 lfo16;
tab-stops:list .5in'><![if !supportLists]>2.<span style='font:7.0pt "Times New Roman"'>     
</span><![endif]>Add the directory to the SUBDIRS variable in CMakeLists.txt</p>

<p class=MsoBodyText3><![if !supportEmptyParas]> <![endif]><o:p></o:p></p>

<p class=MsoBodyText3 style='margin-left:.5in;text-indent:-.25in;mso-list:l10 level1 lfo16;
tab-stops:list .5in'><![if !supportLists]>3.<span style='font:7.0pt "Times New Roman"'>     
</span><![endif]>Create a CMakeLists.txt in the new directory with the
appropriate variables defined.</p>

<h2 style='margin-left:0in'><![if !supportEmptyParas]> <![endif]><o:p></o:p></h2>

<p class=MsoNormal style='margin-left:1.0in'><b style='mso-bidi-font-weight:
normal'><span style='font-size:14.0pt;mso-bidi-font-size:10.0pt'><![if !supportEmptyParas]> <![endif]><o:p></o:p></span></b></p>

<h1 style='margin-left:0in'>Developers Guide</h1>

<p class=MsoNormal style='margin-left:0in'>This section describes some of the
internals of CMake. Read this section only if you intend to extend or debug
CMake.</p>

<p class=MsoNormal style='margin-left:0in'><![if !supportEmptyParas]> <![endif]><o:p></o:p></p>

<h2 style='margin-left:0in'>Installing CMake</h2>

<p class=MsoNormal style='margin-left:0in'>To install CMake, you must copy the
directory structure and source code found in the CMake directory into the
CMAKE_SOURCE_DIR directory. More advanced users may also want to modify the
configure.in files to control particular features of the project.</p>

<p class=MsoNormal><![if !supportEmptyParas]> <![endif]><o:p></o:p></p>

<h2 style='margin-left:0in'>Additional Platform-Dependent Details</h2>

<p class=MsoNormal style='margin-left:0in'>The following describes
platform-dependent details. </p>

<p class=MsoNormal><![if !supportEmptyParas]> <![endif]><o:p></o:p></p>

<h3>Microsoft Visual C++ (MSVC)</h3>

<p class=MsoNormal style='margin-left:.25in;text-indent:-.25in;mso-list:l6 level1 lfo15'><![if !supportLists]>1.<span
style='font:7.0pt "Times New Roman"'>      </span><![endif]>CMakeSetupConfig.MSC
– The configuration input file for CMakeSetup when Microsoft projects are
created.<span style="mso-spacerun: yes">  </span>This is used to generate
header files that would normally be created by configure on Unix.</p>

<p class=MsoNormal><![if !supportEmptyParas]> <![endif]><o:p></o:p></p>

<p class=MsoNormal style='margin-left:.5in'>#<span style="mso-spacerun: yes"> 
</span>itk configure file, just copy the .h.in to the .h</p>

<p class=MsoNormal style='margin-left:.5in'>${CMAKE_BINARY_DIR}:itkConfigure.h:${CMAKE_SOURCE_DIR}/itkConfigure.h.in</p>

<p class=MsoNormal style='margin-left:.5in'><![if !supportEmptyParas]> <![endif]><o:p></o:p></p>

<p class=MsoNormal style='margin-left:.5in'># for the vcl configure copy the
vc60.h config file </p>

<p class=MsoNormal style='margin-left:.5in'>${CMAKE_BINARY_DIR}/Code/Insight3DParty/vxl/vcl:vcl_config.h:${CMAKE_SOURCE_DIR}/Code/Insight3DParty/vxl/vcl/vcl_config-vc60.h</p>

<p class=MsoNormal style='margin-left:0in'><![if !supportEmptyParas]> <![endif]><o:p></o:p></p>

<h3>Unix</h3>

<p class=MsoNormal style='margin-left:.25in;text-indent:-.25in;mso-list:l9 level1 lfo11'><![if !supportLists]>1.<span
style='font:7.0pt "Times New Roman"'>      </span><![endif]>Unix
scripts and programs. In general you should never have to modify these.</p>

<p class=MsoNormal style='margin-left:.5in'>configure.in — used by autoconf to
generate configure</p>

<p class=MsoNormal style='margin-left:.5in'>configure — run on Unix to
configure the build</p>

<p class=MsoNormal style='margin-left:.5in'>CMakeBuildTargets — Unix program to
read CMakeLists.txt and generate CMakeTargets.make</p>

<p class=MsoNormal style='margin-left:.5in'>makefile fragments:</p>

<p class=MsoNormal style='margin-left:.5in'>CMakeMaster.make.in — main file to
be included by makefiles</p>

<p class=MsoNormal style='margin-left:.5in'>CMakeVariables.make.in — all make
variables are set in this file</p>

<p class=MsoNormal style='margin-left:.5in'>CMakeRules.make.in — All build
rules are here (except Simple Rules)</p>

<p class=MsoNormal style='margin-left:.5in'>CMakeSimpleRules.make.in - simple
build rules for .o to .cxx, this is separate to be able to build
CMakeBuildTargets itself.</p>

<p class=MsoNormal style='margin-left:.5in'>CMakeLocal.make.in — Place for hand
configuration</p>

<p class=MsoNormal style='margin-left:.5in'>CMakeTargets.make — generated rules
for make style build in each directory</p>

<p class=MsoNormal style='margin-left:.5in'>MakefileTemplate.make.in — master
makefile template used by configure to generate Makefiles</p>

<p class=MsoNormal style='margin-left:0in'><![if !supportEmptyParas]> <![endif]><o:p></o:p></p>

<h1 style='margin-left:0in'>Further Information</h1>

<p class=MsoNormal style='margin-left:0in'>Bill Hoffman was the principal
developers of<span style="mso-spacerun: yes">  </span>CMake. Reach him at <a
href="mailto:bill.hoffman@kitware.com">bill.hoffman@kitware.com</a>. This
document was written by Will Schroeder and Bill Hoffman. Reach Will at <a
href="mailto:will.schroeder@kitware.com">will.schroeder@kitware.com</a>.</p>

<p class=MsoNormal style='margin-left:0in'><![if !supportEmptyParas]> <![endif]><o:p></o:p></p>

<p class=MsoNormal style='margin-left:0in'>To learn more about the NIH/NLM
Insight Segmentation and Registration Toolkit, see the Web site at <a
href="http://www.kitware.com/Insight.html">http://www.kitware.com/Insight.html</a>.
</p>

</div>

</body>

</html>