<div>David,</div>
<div> </div>
<div>I saw this CMakeList.txt. I just used CMake once to set up the enviroment for my application, so I don&#39;t understand how it works.</div>
<div> </div>
<div>I run the example just want to learn how to use vtkLandmarkTransform. I already have my source code with vtkLandmarkTranform included and am want to use it in my application. So in my case, should I run CMake on my source code file? </div>

<div> </div>
<div>Thank you very much.</div>
<div> </div>
<div>Long</div>
<div> </div>
<div>2011/10/18 David Doria <span dir="ltr">&lt;<a href="mailto:daviddoria@gmail.com">daviddoria@gmail.com</a>&gt;</span><br></div>
<div class="gmail_quote">
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<div class="im">On Tue, Oct 18, 2011 at 4:49 PM, Wenlong Wang &lt;<a href="mailto:scc.wwl@gmail.com">scc.wwl@gmail.com</a>&gt; wrote:<br>&gt; David,<br>&gt;<br>&gt; Thank you for your reply.<br>&gt;<br>&gt; I follow the instructions from the textbook to use CMake to generate all<br>
&gt; these .lib files and include them in my application. Then develop with them.<br>&gt; I&#39;ve done other applications in this way before. So i think it should be<br>&gt; right. However, this is the only way I know to develop with VTK.<br>
&gt;<br>&gt; I know it is a silly question, but is there anyway else to develop VTK with<br>&gt; C++ and VS2008?<br>&gt;<br>&gt; Thank you very much for your help.<br>&gt;<br>&gt; Yours<br>&gt; Wenlong<br><br></div>With every example comes a corresponding CMakeLists.txt file:<br>
<a href="http://www.vtk.org/Wiki/VTK/Examples/Cxx/Filters/LandmarkTransform" target="_blank">http://www.vtk.org/Wiki/VTK/Examples/Cxx/Filters/LandmarkTransform</a><br><br>You just need to run CMake on that file and it will produce your<br>
VS2008 project. When you open the project, it should know where all of<br>the libraries and headers are automatically. This is the power of<br>CMake!<br><font color="#888888"><br>David<br></font></blockquote></div><br>