Hi,

I am creating my python modules like:

  VTK_WRAP_PYTHON3 (vtkmyFilteringPython FilteringPython_SRCS "${SOURCES}")
  ADD_LIBRARY (vtkmyFilteringPythonD ${FilteringPython_SRCS})
  TARGET_LINK_LIBRARIES(vtkmyFilteringPythonD vtkmyFiltering
vtkFilteringPythonD vtkImagingPythonD ${LIBS_VTKMYFILTERING})
  PYTHON_ADD_MODULE(vtkmyFilteringPython vtkmyFilteringPythonInit.cxx)
  TARGET_LINK_LIBRARIES(vtkmyFilteringPython vtkmyFilteringPythonD)

and trying to install like:

INSTALL(TARGETS vtkmyFiltering RUNTIME DESTINATION
${CMAKE_INSTALL_PREFIX}/bin LIBRARY DESTINATION
${CMAKE_INSTALL_PREFIX}/bin CONFIGURATIONS RELEASE)
INSTALL(TARGETS vtkmyFilteringPython LIBRARY DESTINATION
${CMAKE_INSTALL_PREFIX}/bin CONFIGURATIONS RELEASE)
INSTALL(TARGETS vtkmyFilteringPythonD LIBRARY DESTINATION
${CMAKE_INSTALL_PREFIX}/bin CONFIGURATIONS RELEASE)

Problem is that only vtkmyFiltering*.so files are installed, but not
the also needed libvtkmyFilteringPython* files. Is there anything
special to fully install the created module?

Regards,
Dominik
_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to