[vtkusers] How to make CMakeLists.txt
sudhanshu gupta
sudhanshugupta2511 at gmail.com
Fri May 20 01:08:34 EDT 2011
HI
Can anyone tell me how to make CMakeLists.txt for a particular c++ program.
like if i am using
#include< vtkImageReader.h >
#include< vtkJPEGReader.h >
#include< vtkImageDataGeometryFilter.h >
#include< vtkWarpScalar.h >
#include< vtkInteractorStyleTrackballCamera.h >
#include< vtkRenderWindowInteractor.h >
#include< vtkRenderWindow.h >
#include< vtkRenderer.h >
#include< vtkLODActor.h >
#include< vtkPolyDataMapper.h >
#include< vtkDataSetMapper.h >
#include< vtkGeometryFilter.h >
#include< vtkMergeFilter.h >
#include< vtkTexture.h >
cmake_minimum_required(VERSION 2.6)
PROJECT(pipeline)
FIND_PACKAGE(VTK REQUIRED)
INCLUDE(${VTK_USE_FILE})
ADD_EXECUTABLE(pipeline pipeline.cxx)
TARGET_LINK_LIBRARIES(pipeline _________)
What should I Write in the blank I dont know ??
please
thank you
Sudhanshu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20110520/5c422675/attachment.htm>
More information about the vtkusers
mailing list