<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'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"><<a href="mailto:daviddoria@gmail.com">daviddoria@gmail.com</a>></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 <<a href="mailto:scc.wwl@gmail.com">scc.wwl@gmail.com</a>> wrote:<br>> David,<br>><br>> Thank you for your reply.<br>><br>> I follow the instructions from the textbook to use CMake to generate all<br>
> these .lib files and include them in my application. Then develop with them.<br>> I've done other applications in this way before. So i think it should be<br>> right. However, this is the only way I know to develop with VTK.<br>
><br>> I know it is a silly question, but is there anyway else to develop VTK with<br>> C++ and VS2008?<br>><br>> Thank you very much for your help.<br>><br>> Yours<br>> 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>