[Cmake] VTK : out of source build HELP !!!!

Yi-Yu Chou chouyiyu at hotmail.com
Wed, 21 Jan 2004 19:56:17 +0000


Dear all,

I tried to build my own vtk class, and I succeeded to do it.
The way I did is :
I saved my files vtkLocalExample.h and vtkLocalExample.cxx under 
/VTK/Filtering
Edit CMakeLists.txt
Add one line : vtkLocalExample.cxx to this file below 
vtkImageToImageFilter.cxx
Goto VTK/
run make Then I got libvtkLocalPython.so in /VTK/bin

But I have a problem now. 
I want to build this class in a "out-of-source" location.
How should I do that ?
What're the folders needed to be moved to this local location ?
How to change the options when running ccmake . ?
And how to edit the CMakeLists.txt ?
Please help me !!! 

Best,
YY

_________________________________________________________________
下載最新版本的 MSN Messenger:和朋友在線上聊天,用有趣的表情符號傳達心意! 
http://messenger.msn.com.tw/