1. 29 Oct, 2014 1 commit
  2. 27 Oct, 2014 1 commit
  3. 14 Oct, 2014 1 commit
  4. 08 Sep, 2014 1 commit
    • Brad King's avatar
      ENH: Use if(DEFINED) to simplify conditions · 1f358017
      Brad King authored
      Replace old hacks of the form 'if("${VAR}" MATCHES "^${VAR}$")'
      with the much simpler 'if(NOT DEFINED ${VAR})'.
      Change-Id: I4dd42e9c3f5d03204992f5918650358eadc3734e
  5. 23 Jun, 2014 1 commit
  6. 11 Jun, 2014 1 commit
  7. 25 Apr, 2014 1 commit
    • Brad King's avatar
      Set MACOSX_RPATH property default consistently across CMake versions · cd0b6e68
      Brad King authored
      The MACOSX_RPATH target property was introduced in CMake 2.8.12, but we
      currently allow CMake 2.8.8.  Set CMAKE_MACOSX_RPATH to 0 by default
      so that we get consistent behavior across all versions of CMake.
      Leave a comment explaining when the default should be updated.
      Now that we set a MACOSX_RPATH default explicitly, we no longer need to
      set CMake Policy CMP0042 as was added in commit 2ad9f474 (Set CMake
      Policies CMP0025 and CMP0042 as necessary, 2014-03-11), so remove it.
      Change-Id: I8af24a728379176b9e7ab933206eaa956e1c60f2
  8. 11 Mar, 2014 2 commits
    • Brad King's avatar
      Set CMake Policies CMP0025 and CMP0042 as necessary · 2ad9f474
      Brad King authored
      CMake 3.0 introduces these policies to improve default behavior on OS X.
      Set them explicitly in VTK to avoid policy warnings.  VTK already works
      with the NEW behavior.
      Policy CMP0025 affects the project() command when the Apple Clang
      compiler is used so we need to set it in all the Examples.  Policy
      CMP0042 affects shared libraries on OS X, enabling MACOSX_RPATH by
      default.  Set it in directories where we create libraries.  Also tell
      KWSys to enable MACOSX_RPATH explicitly instead of setting the policy.
      Change-Id: I543b60ee1b8f629adb150e01ee83d99dddb66f46
    • Brad King's avatar
      vtkhdf5: Remove extra calls to cmake_minimum_required · ee1c7530
      Brad King authored
      Drop calls to this command in subdirectories.  They are never used as
      the top-level source directory.
      Change-Id: I6249719417ea8adb9297fab9f7e969c944bb3a13
  9. 10 Mar, 2014 1 commit
    • Brad King's avatar
      COMP: Drop invalid custom commands from HDF5 · 7df9a25f
      Brad King authored
      CMake 3.0 introduces policy CMP0040 to diagnose add_custom_command calls
      whose TARGET option names a target that does not exist.  Drop such
      unused custom commands from HDF5.
      Change-Id: Ic1fc58a3e2f171c35a9c055cdeca7bcc484ff837
  10. 14 Feb, 2014 1 commit
    • Bill Lorensen's avatar
      COMP: Remove bogus line info from generated files · 42415809
      Bill Lorensen authored
      The lex and yacc generated files retain some line preprocessor
      statements that contain non-existant filenames. These lines confuse
      newer version of lcov, the coverage tool.
      Change-Id: I3cbfd5b5583527d362cd80653f5fc4e970692bb1
  11. 18 Nov, 2013 1 commit
  12. 31 Jul, 2013 1 commit
    • Marcus D. Hanwell's avatar
      Removed the deprecated _CM24 CMake variables · 2f5fdb13
      Marcus D. Hanwell authored
      These were introduced for CMake 2.4 installation paths, and were
      deprecated in favor of VTK_INSTALL_*_DIR variables. Ported existing code
      to use these variables, removed the old declarations and removed some
      unused CMake code in Utilities/Release instead of porting it forward.
      Change-Id: I67ba95016eeb8536ebda8b8e44b30c9f2177744e
  13. 05 Jun, 2013 1 commit
    • Sven Buijssen's avatar
      Fix typos · 5ef33d3b
      Sven Buijssen authored
      Change-Id: I2edeb9e78066aa766e47ba37af92ddcbfe75a436
  14. 03 Feb, 2013 1 commit
    • David Cole's avatar
      BUG: Correct CMake message typos: FATAL -> FATAL_ERROR · 9e8594e1
      David Cole authored
      FATAL will just be emitted as message text, FATAL_ERROR
      actually triggers the intended "stop configuring now"
      Also, messge -> message.
      Most of these occurrences are luckily (?) in conditionals
      where they are rarely encountered in practice.
      Change-Id: I6a10bb6f7539e6c30d9cb1372570c697968226fe
  15. 28 Jan, 2013 1 commit
    • Utkarsh Ayachit's avatar
      Use newer variables for install rules. · cc89756d
      Utkarsh Ayachit authored
      Fixing install rules to use the newer VTK_INSTALL_RUNTIME_DIR,
      Change-Id: I362049561b3d4fa82a10d8176f4b4e387966e0de
  16. 05 Sep, 2012 1 commit
    • Utkarsh Ayachit's avatar
      Fixing CMake Version requirements for OPTIONAL_COMPONENTS. · 5555ea69
      Utkarsh Ayachit authored
      Since OPTIONAL_COMPONENTS is only available in CMake 2.8.8 and greater, adding a
      check and treated OPTIONAL_COMPONENTS as REQUIRED COMPONENTS when using CMake
      version lesser than 2.8.8.
      Fixed a bug in the logic that was overwriting COMPONENTS when
      OPTIONAL_COMPONENTS were specified.
      Also fixes HDF5 to mark "C" as a required component.
      Change-Id: I76671b76125171e8d7a49e0774711076ce666531
  17. 28 Aug, 2012 1 commit
  18. 27 Aug, 2012 1 commit
    • Utkarsh Ayachit's avatar
      BUG #13396. Fix issues with using system hdf5. · b0c68e4c
      Utkarsh Ayachit authored
      When using system hdf5, HL libraries were never found. The problem was because
      HL libraries are an optional component and find_package(HDF5) was never asking
      for it. Thus when using system HDF5, NetCDF always warned that it is disabling
      NetCDF4 support (since NetCDF4 needs HL libraries).
      This was fixed as follows:
      - vtk_module_third_party(..) macro now takes optional arguments COMPONENTS and
        OPTIONAL_COMPONENTS. These can be used when adding third party modules to
        ensure that when USE_SYSTEM_<module> is ON, the find_package(..) call is
        passed appropriate components.
      - Consequently <module>_INCLUDE_DIRS and <module>_LIBRARIES is properly set to
        include the paths and libs for the requested components and dependencies don't
        have to do anything specific.
      - Cleaned up vtknetcdf code to avoid creating unnecessary cache variables,
        namely USE_NETCDF4, NETCDF_ENABLE_NETCDF4. USE_NETCDF4 now is just a regular
        variable (not cache) and we use that to determine whether netcdf4 support is
      - The state of USE_NETCDF4 depends on presence of HDF5_HL_LIBRARY variable when
        using system hdf5. We assume HL support when using VTK's HDF5.
      Change-Id: Id3f5541dbad772797842ca24c6dc051d1056d14a
  19. 08 Aug, 2012 1 commit
  20. 18 Jul, 2012 1 commit
    • Brad King's avatar
      vtkhdf5: Hide H5_LEGACY_NAMING cache option · f56ff844
      Brad King authored
      In ThirdParty/hdf5/CMakeLists.txt we hard-code HDF5 CMake cache
      entries to configure HDF5 as needed for VTK.  Fix the name of
      the H5_LEGACY_NAMING option so it does not appear to the user.
      Change-Id: I7ab5ac7506896cef6cba14acf5d76f2271bc3bc8
  21. 12 Jul, 2012 2 commits
    • Brad King's avatar
      vtkhdf5: Skip GNU-specific flags on XL C compiler · b30d43ba
      Brad King authored
      We know the XL compiler does not have flags
       -std=c99 -fomit-frame-pointer -finline-functions -fno-common
      so do not bother checking for them.  The check_c_compiler_flag
      CMake macro is not fully reliable due to some compiler's response
      to unkown flags.
      Change-Id: I4dfc6641ffd4a0c061388680a1eaacfc3c2d89a8
    • Brad King's avatar
      vtkhdf5: Drop hard-coded '-Wall' compiler option · 17bf3036
      Brad King authored
      We are not developing hdf5 so we do not care about warnings in it.
      Not all compilers understand this option, so just remove it.
      Change-Id: Ib6a9ab7ddb2ffe164acccd65f003dc86d72a6e67
  22. 14 May, 2012 1 commit
    • Marcus D. Hanwell's avatar
      Use MPI_LIBRARIES instead of the deprecated vars · 5602a806
      Marcus D. Hanwell authored
      The FindMPI module only supports MPI_LIBRARY and MPI_EXTRA_LIBRARY for
      compatibility. The new version of the module actually forces the value
      of MPI_LIBRARY causing issues on some dashboard machines. Migrated to
      use the new MPI_LIBRARIES variable.
      Change-Id: Ieaa663b4e1c748f4902e5b9cfd751fbac4d64c8e
  23. 01 May, 2012 1 commit
  24. 09 Apr, 2012 3 commits
    • Marcus D. Hanwell's avatar
      Mark HDF5 cache variable as advanced. · e67e514a
      Marcus D. Hanwell authored
      Change-Id: I26c895d45e8fc6546b54e3fa40e1453cc8ff1bc0
    • 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>
    • VTK Developers's avatar
      Modularize VTK tree layout · cdd4d6fd
      VTK Developers authored
      Move source files from their former monolithic VTK location to their new
      location in modular VTK without modification.  This preserves enough
      information for "git blame -M" and "git log --follow" to connect
      modularized VTK files to their original location and history.
      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>