1. 12 Sep, 2016 1 commit
    • Haocheng LIU's avatar
      Rewrite all public&private dependency in module.cmake file · 6e113ad4
      Haocheng LIU authored
      The current dependency relationship in vtk is unclear and misleading.
      This MR tries to rewrite them based on header files inclusion of headers
      and source files in each module. Corner cases are considered and
      modules are sorted in alphabetical order to facilitate future reference.
      See details in my gitlab python based script project. In future we can continue
      using this script to clean the VTK Dependency easily from
      time to time.
      6e113ad4
  2. 08 Jul, 2016 1 commit
  3. 26 Jun, 2016 1 commit
    • Michka Popoff's avatar
      ENH: Do not link against libpython when possible · 772cc086
      Michka Popoff authored
      This is similar to what is already done in ITK and SimpleITK.
      
      The new vtkTargetLinkLibrariesWithDynamicLookup.cmake file is slightly modified copy from ITK (things have been renamed from ITK to VTK). The explanation of what this patch tries to achieve is documented in this file.
      
      A new argument is introduced, called OPTIONAL_PYTHON_LINK. When used, the module will be optionally be linked against libpython. In the module.cmake files, most vtkPython dependencies were moved to COMPILE_DEPENDS, so that libpython is not added to the target_link_libraries() call.
      
      The vtkPython is explicitely linked against the python libraries, as this is a python executable.
      
      Also, the find_package calls for the PythonLibs were made optional when possible.
      
      This fixes the following bug: http://www.vtk.org/Bug/view.php?id=16068
      772cc086
  4. 08 Mar, 2016 1 commit
  5. 29 Oct, 2014 1 commit
  6. 10 Oct, 2014 1 commit
  7. 02 Oct, 2014 1 commit
    • David Gobbi's avatar
      14552: Check python interp and lib versions. · 52a5b977
      David Gobbi authored
      Add a variable to allow the user to choose a version for the python
      interpreter.  Attempt to locate libraries with the same version number.
      Emit a warning if the library version number and the interpreter
      version number do not match.
      
      Change-Id: I0c555c01deb7d6fa9a4f57d65ff5125463de7aef
      52a5b977
  8. 19 Aug, 2014 1 commit
  9. 05 Aug, 2014 1 commit
    • Ben Boeckel's avatar
      vtkmpi4py: empty out Py_{UN,}BLOCK_THREADS · 0714be97
      Ben Boeckel authored
      Cython will put _save in a WITH_THREAD block, so it isn't available
      without threads. Just having empty code works just as well.
      
      Change-Id: Ia5c63824916a5f14b1d0cf6833e12ed40bf4f71b
      0714be97
  10. 30 Jun, 2014 1 commit
    • Brad King's avatar
      mpi4py: Suppress warnings in third-party code · 644096bc
      Brad King authored
      Use vtk_third_party_warning_suppress to disable warnings when compiling
      third-party C code in the mpi4py module.  Without this, there may be
      many warnings with -Wunused-parameter.  To avoid modifying third-party
      code, simply suppress them.
      
      Change-Id: I216f8dae9e9001d22d5c5dd06aeb597e48baf836
      644096bc
  11. 23 Jun, 2014 1 commit
  12. 19 Jun, 2014 1 commit