1. 08 Mar, 2016 1 commit
  2. 22 Sep, 2015 1 commit
    • David Gobbi's avatar
      Wrap many more classes with python. · e6f75b9a
      David Gobbi authored
      This makes the python wrappers ignore WRAP_EXCLUDE, and instead use
      the new property WRAP_EXCLUDE_PYTHON that excludes fewer classes.
      The WRAP_SPECIAL flag, which used to act as a whitelist for python,
      has been removed.
      Because this change causes classes to be wrapped in python by default,
      some third-party VTK packages might break until they modify their own
      CMakeLists.txt files to add WRAP_EXCLUDE_PYTHON where necessary.
  3. 19 Dec, 2013 1 commit
    • Brad King's avatar
      Report runtime linker search path to VTK clients · dd4b51b9
      Brad King authored
      Add a <module>_RUNTIME_LIBRARY_DIRS module information value.  Teach
      vtk_module_config to report <ns>_RUNTIME_LIBRARY_DIRS by collecting and
      de-duplicating the directories from the modules.
      This restores the VTK_RUNTIME_LIBRARY_DIRS value provided by VTKConfig
      prior to modularization.  It is useful for consuming applications to
      find their runtime library files for packaging.
      Change-Id: I488d5c1395203a2492a4f5cc9b3c1d97385a31c3
  4. 13 Nov, 2013 1 commit
    • Marcus D. Hanwell's avatar
      DOC: Added documentation to CMake API functions · 9b076afe
      Marcus D. Hanwell authored
      Improve the documentation of the CMake API, making it clearer what
      the expected behavior is, and how the macros/functions should be
      used. Also made some very minor whitespace changes in one or two
      places for consistency with the rest of the file.
      Change-Id: I0293dee3bede73dc0fd91149ae3dd6f62ebd995f
  5. 12 Nov, 2013 1 commit
  6. 22 Mar, 2013 2 commits
    • Marcus D. Hanwell's avatar
      As discussed in review - rename CLASS->HEADER in modules · 524f23d4
      Marcus D. Hanwell authored
      This (hopefully final commit to this topic) renames the variables to
      HEADER/HEADERS rather than CLASS/CLASSES. The function is also renamed
      from vtk_module_classes_load to vtk_module_headers_load but performs
      essentially the same functions. Updated the documentation to reflect
      these changes.
      Change-Id: I6f44971a865c6788c16c6311f6704f21612a083b
    • Marcus D. Hanwell's avatar
      Rename vtkModule-Classes.cmake to vtkModule-Headers.cmake · 643aa039
      Marcus D. Hanwell authored
      After discussion on the mailing list we decided that this better fits
      the purpose of the file which is intended to export a list of all
      headers in each module along with their properties.
      Change-Id: Icd0dd5938427621dfe6a871ddaa94db8f063081f
  7. 28 Jan, 2013 1 commit
    • Utkarsh Ayachit's avatar
      Generalizing module config files importing logic. · 12e5b539
      Utkarsh Ayachit authored
      For applications based on VTK, they themselves might add additional modules. In
      that case the module config files locating code needs to look in multiple
      locations, those for VTK's modules and those for the extra modules added by the
      project. To enable that, we extend vtkModuleAPI to look for the config files in
      the VTK_MODULES_DIR as well as any location in the CMAKE_MODULE_PATH. Now, such
      applications can simply extend the CMAKE_MODULE_PATH and the module-config files
      can be easily imported.
      Change-Id: I1b94c96512eae6822e366df06b1e3cdbd363c790
  8. 06 Jul, 2012 1 commit
    • Utkarsh Ayachit's avatar
      Fix vtk_module_dep_includes to scan dependencies correctly. · 09ddcebc
      Utkarsh Ayachit authored
      Although vtk_module_dep_includes() is expected to recursively scan the
      dependencies to build the include dirs list, it didn't work as expected with the
      macro was called repeatedly within the same scope for different modules.  The
      problem was that the code that managed the recursion traversal
      (_vtk_module_config_recurse) uses variables to avoid duplicate traversal and
      that was resulting identifying incorrect duplicate visits when
      vtk_module_dep_includes() was used more than once. Fixed that by ensuring that
      vtk_module_dep_includes() scope the variable namespace using the modules name.
      Change-Id: I23fb97a9dafaf43b7ebdf0f837ee130b3ded9165
  9. 29 Jun, 2012 1 commit
  10. 28 Jun, 2012 1 commit
    • Marcus D. Hanwell's avatar
      Add a new macro to compute depdendent include dirs · f84b6b1e
      Marcus D. Hanwell authored
      This adds a new piece to the API to compute all of the include
      directories for the dependencies of a module. This is used by wrapping
      largely, but may be useful in other places.
      Change-Id: If0271f80c33bd436fe7dd50bd37e1c3aa9ab03f2
  11. 26 Jun, 2012 1 commit
  12. 25 Jun, 2012 1 commit
    • Dave DeMarle's avatar
      Allow projects to have modules that live outside of VTK. · db504d1e
      Dave DeMarle authored
      This change lets projects like ParaView, that use VTK as a
      submodule, reuse VTK's CMake code for their own
      modules which are maintained outside of VTK's repository.
      To specify additional directories to search in, call either of
      the two new macros in vtkModuleAPI to build up the search path
      before adding VTK as a cmake subdirectory.
      For example:
      include (vtkModuleAPI)
      Change-Id: Ic738ad289e330a20215c7a2e644ce52cf1156413
  13. 04 May, 2012 1 commit
    • Brad King's avatar
      Reject application requests for missing modules · 1c7d9a87
      Brad King authored
      When an application writes
        find_package(VTK ... vtkMissingModule)
      vtk_module_config (invoked from VTKConfig.cmake) should reject the
      missing module if it is not enabled.  The current vtk_module_load check
      incorrectly accepts modules that have been previously enabled in a build
      tree but are no longer available.  Test against VTK_MODULES_ENABLED.
      Change-Id: If0769b6192bf9c5878b7ef1e581d04df18b6bbef
  14. 01 May, 2012 1 commit
    • Chris Harris's avatar
      Add code to module infrastruture to export module class information · f48aa25c
      Chris Harris authored
      External wrappers such a ParaView need information about classes
      contain in a paricular module. This information was provided by
      the vtk${Kit}.cmake files. This information needs to be written to
      a new set of files in the VTK_MODULE_DIR along with the appropriate
      new macro the load this information.
      Change-Id: Iec18d3a03056feb2db5bd54d6c5380c0592c52cf
  15. 11 Apr, 2012 1 commit
  16. 09 Apr, 2012 1 commit
    • VTK Developers's avatar
      Add modular VTK build system · 0c1471f1
      VTK Developers authored
      Add module.cmake, CMakeLists.txt, and other build system files.
      The modular VTK build system is not yet mature.  The monolithic build
      files had a lot of infrastructure.  The modular build files reproduce
      much of the functionality but some features will need to be restored
      later.  Document status and tasks in "TODO-Modularization.txt".
      Co-Author: Marcus D. Hanwell <marcus.hanwell@kitware.com>
      Co-Author: Chris Harris <chris.harris@kitware.com>
      Co-Author: Brad King <brad.king@kitware.com>
      Co-Author: Nikhil Shetty <nikhil.shetty@kitware.com>