[vtkusers] here is my cmakelists

Ming Huang minghuangvtk at yahoo.com
Thu Sep 8 14:38:31 EDT 2011


    cmake_minimum_required( VERSION 2.6 )
    PROJECT(firstprogram)
    
    FIND_PACKAGE ( VTK)
    IF ( VTK_FOUND)
        INCLUDE( ${USE_VTK_FILE} )
    ENDIF( VTK_FOUND)
    INCLUDE_DIRECTORIES( ${Medical5_SOURCE_DIR}     )
    ADD_EXECUTABLE( firstprogram  1.cxx)
    TARGET_LINK_LIBRARIES ( firstprogram
        vtkRendering vtkGraphics vtkHybrid
        vtkImaging vtkIO vtkFiltering vtkCommon
        )
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20110908/bdd7208f/attachment.htm>


More information about the vtkusers mailing list