[Paraview] Filters are in the separate kit

Jean M. Favre jfavre at cscs . ch
Mon, 29 Sep 2003 11:24:25 +0200


Andy Cedilnik wrote:
> Hi All,
> 
> Just wanted to let everybody know that I moved most of the filters to
> the separate kit called Filters. It right now only creates library
> vtkFiltersTCL and links it into ParaView, but eventually I will put some
> tests in.
> 
> Let me know if there are any issues.

Andy,

One problem is that the lib does not get "installed"

I modified Filters/CMakeLists.txt and added to the end the following:

IF(BUILD_SHARED_LIBS)
   # Let parent project set KW_INSTALL_LIB_DIR to control library install
   # location.
   IF(NOT KW_INSTALL_LIB_DIR)
     SET(KW_INSTALL_LIB_DIR /lib)
   ENDIF(NOT KW_INSTALL_LIB_DIR)
   INSTALL_TARGETS(${KW_INSTALL_LIB_DIR} vtkPVFiltersTCL)
ENDIF(BUILD_SHARED_LIBS)

"make install" now correctly works.

Jean

-- 
Dr. Jean M. Favre,                            email:favre at cscs . ch
http://www . cscs . ch/people/Favre . html
CSCS, Swiss Center for Scientific Computing | Tel:  +41 (91) 610.82.40
Via Cantonale, 6928 Manno, Switzerland      | Fax:  +41 (91) 610.82.82