1. 08 Jan, 2014 1 commit
    • Brad King's avatar
      Teach SourceTarball.bash to split source and data tarballs · bf5cf3cf
      Brad King authored
      Teach Utilities/Maintenance/SourceTarball.bash to generate separate
      archives for the source code, normal data, and large data.  Organize
      the archive layout so that they can all be extracted on top of one
      another.  Make the data archives extract into <prefix>/.ExternalData
      to appear as if the content came with the source tree.
      Add .ExternalData/README.rst to document the directory and indicate its
      existence.  Change the BUILD_TESTING default to OFF when the file is not
      present.  Teach SourceTarball.bash to leave this file out of the source
      tarball and put it in the normal data tarball.  With this approach
      users can download and build the source with or without the data and
      never hit the network for test data by default.
      Change-Id: I33007959c87ea60a9b11f49e5f7af351fc2ca9b7
  2. 22 Nov, 2013 1 commit
    • Kitware Robot's avatar
      KWSys 2013-11-21 (1010d0e3) · 43c38a73
      Kitware Robot authored
      Extract upstream KWSys using the following shell commands.
      $ git archive --prefix=upstream-kwsys/ 1010d0e3 | tar x
      $ git shortlog --no-merges --abbrev=8 --format='%h %s' f67bb2ba..1010d0e3
      Brad King (2):
            ace1364c Encoding: Remove unused include
            1010d0e3 SystemTools: Avoid unused function warnings
      Clinton Stimpson (4):
            0c2ff1f7 Encoding: Add Encoding module.
            8abbad82 FStream: Add FStream module.
            0a98de97 KWSys: Port to use wide character Windows APIs throughout.
            2b0c683d Encoding: Default to ANSI code page on Windows
      Sean McBride (1):
            a40b9263 SystemInformation: Work around gcc -Wliteral-suffix warning
      Change-Id: Ieaf3a5c6e8410b4a1d61a3100915b1343286a921
  3. 28 Oct, 2013 1 commit
  4. 21 Oct, 2013 1 commit
    • Kitware Robot's avatar
      KWSys 2013-10-15 (f67bb2ba) · d485fcc6
      Kitware Robot authored
      Extract upstream KWSys using the following shell commands.
      $ git archive --prefix=upstream-kwsys/ f67bb2ba | tar x
      $ git shortlog --no-merges --abbrev=8 --format='%h %s' 4c4f8a9e..f67bb2ba
      Adrien Destugues (2):
            2b303bd7 SystemTools: Remove outdated preprocessor checks for Haiku
            96b2f6f4 DynamicLoader: Cleanup test include files for Haiku
      Burlen Loring (1):
            1d882d4c SystemInformation : Better stack trace
      David Cole (1):
            f67bb2ba SystemTools: Move typedef mode_t inside the SystemTools class
      Patrick Gansterer (2):
            89e42c36 SystemTools: Remove duplicate code for parsing Windows registry keys
            deec6b8a SystemTools: Add a function to get subkeys of a Windows registry key
      Raphael Kubo da Costa (1):
            6eab64c3 SystemInformation: Include backtrace-related headers on FreeBSD
      Rolf Eike Beer (1):
            dbc8fa1b SystemInformation: fix truncation warnings
      Change-Id: I47be1a03a542b83736065217c3827c0f08ca081c
  5. 11 Oct, 2013 1 commit
    • Andrew Maclean's avatar
      ENH: Eliminate CMP0020 warning. · 96bc743f
      Andrew Maclean authored
      Eliminate a warning when building in Windows that relates
        to static linking of Qt executables to qtmain.lib.
      This policy was introduced in CMake version 2.8.11.
      CMake version warns when the policy is not set
        and uses OLD behavior.
      This change sets the behaviour to NEW as all the Qt
        executables in VTK link to qtmain.lib.
      Change-Id: Ie37e447fda1af40c836da56e6c3f5d5c6ce2b4a1
      Signed-off-by: Andrew Maclean's avatarAndrew Maclean <andrew.amaclean@gmail.com>
  6. 08 Oct, 2013 1 commit
    • Berk Geveci's avatar
      Improved atomics API. · 92f6db75
      Berk Geveci authored
      Made the atomic API compatible with std::atomic such that we
      can easily substitute std::atomic when available. This API
      also requires no change by the users of ReferenceCount.
      Change-Id: I078c29d92fcee5fd444c0eb675bceca695c89667
  7. 11 Sep, 2013 1 commit
    • Brad King's avatar
      COMP: Set CMake Policy CMP0022 to NEW · 6383648d
      Brad King authored
      Since commit ed6c07d0 (Cleanup CMP0022 and CMP0023 warnings, 2013-08-19)
      VTK uses target_link_libraries signatures to set the link interface
      without direct manipulation of the old LINK_INTERFACE_LIBRARIES
      property.  Set CMP0022 to NEW to avoid warnings about differences due to
      generator expressions in INTERFACE_LINK_LIBRARIES, known to be safe.
      Change-Id: I0afe5e316846e7883e3d6cb50a1dfa9bad0f6426
  8. 05 Sep, 2013 1 commit
  9. 03 Sep, 2013 1 commit
    • Dave DeMarle's avatar
      Make the python module installation directory configurable. · bec28326
      Dave DeMarle authored
      Advanced cache variable VTK_INSTALL_PYTHON_MODULE_DIR now controls
      where the install target puts the python .py files and corresponding
      python extension libraries (*Python.so or *Python.dll). ThirdParty
      modules like Zope, Twisted and Autobahn should be placed there,
      vtk extensions should go inside the vtk directory there.
      System installers for instance will likely want to set it to be:
      /usr/local/lib/pythonX.Y/site-packages #Linux
      /Library/Python/X.Y/site-packages #Mac
      C:/PythonXY/Lib/site-packages #Windows
      ParaView will use it to put the VTK python modules underneath its own.
      Also for ParaView's use, there is once again a way to disable installation
      of the vtkpython binary. Now it is done by setting VTK_INSTALL_NO_PYTHON_EXES.
      The change also updates the README.txt per VTK 6.X layout and
      removes references to setup.py, which we no longer support.
      Change-Id: I92c1d65c8ca8aa44ca2d54cc4526bbc72f42eb0d
  10. 19 Aug, 2013 2 commits
    • Berk Geveci's avatar
      Added support for atomic integers. · cc8540d1
      Berk Geveci authored
      As a first step of a SMP (symmetric multiprocessing)
      infrastructure, I added a set of atomic integer
      classes. Currently, there are backends of system
      specific implementation (Sequential), OpenMP, Intel
      TBB and Inria's X-Kaapi.
      Change-Id: Ie606ef9202f9588616a0b5412123512ffe536be6
    • Zach's avatar
      Web module. · 07aaa329
      Zach authored
      This module moves most of the functionality from ParaViewWeb down
      into VTK proper.
      Change-Id: I3cf98c68b2c7c254c9463db2668532a5b2dfe353
  11. 14 Aug, 2013 1 commit
    • Marcus D. Hanwell's avatar
      Add support for private dependencies in VTK · 57901457
      Marcus D. Hanwell authored
      A simple implementation of private dependencies, with some of the most
      obvious private dependencies moved over. This should be used for all
      dependencies that are not exposed in the public API of the classes in
      the module.
      The target_link_libraries call defaults to private due to the way CMake
      implements the link logic. The private dependency logic can help reduce
      link line and include directory length for private links where the
      dependency's API is not exposed in the module. Also added code to ensure
      include directories are not duplicated for modules in the build tree.
      Change-Id: If4535338e8d5e9957d7bcce7d3ab0eadec21d2c4
  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. 19 Jul, 2013 1 commit
    • Kitware Robot's avatar
      KWSys 2013-07-10 (beef6819) · bc2e9dab
      Kitware Robot authored
      Extract upstream KWSys using the following shell commands.
      $ git archive --prefix=upstream-kwsys/ beef6819 | tar x
      $ git shortlog --no-merges --abbrev=8 --format='%h %s' 5b0d1bd9..beef6819
      Andreas Mohr (1):
            f4928d44 Fix spelling and typos in comments and method documentation
      Brad King (7):
            5c34ed2e SystemTools: Do not abort with no current directory
            709fb5c1 SystemTools: Fix FileIsDirectory for Windows drive letter roots
            9fd64779 SystemTools: Fix FileIsDirectory with long paths
            e3370418 SystemTools: Use COMPILE_DEFINITIONS to pass platform tests
            dccf7725 SystemTools: Touch with better than 1s resolution if possible
            d79a792e SystemTools: Fix CollapseFullPath to not erase root component
            beef6819 SystemTools: Implement IsSubDirectory without loop
      Cory Quammen (1):
            3d1d4e7c SystemTools: MakeDirectory() reports failure if path is file
      Paul Kunysch (1):
            2d263bc3 Process: Increase FD_SETSIZE on Cygwin
      Rolf Eike Beer (3):
            e8269442 Tests: fix a warning with acc
            87abd647 SystemInformation: fix truncation warnings
            039d9598 fix warnings about sizeof() return value truncation
      Sean McBride (2):
            13f5badd SystemInformation: Replace __GNUG__ with __GNUC__
            f6c4c247 RegularExpression: Remove 'register' storage specifier
      Change-Id: I25759bb9f579b7702314bce688cd989a409618e4
  14. 02 Jul, 2013 1 commit
  15. 04 Jun, 2013 1 commit
    • Brad King's avatar
      Convert VTKData test inputs to ExternalData content links · 3797f83d
      Brad King authored
      Add to the Testing/Data directory ExternalData content links mirroring
      the content and layout we use from the VTKData/Data directory.
      Add a CMake/vtkLegacyData.cmake module, included from CMakeLists.txt and
      Testing/External/CMakeLists.txt, to call ExternalData_Expand_Arguments
      for all data directories added from VTKData/Data.  This will bulk-fetch
      all test input data currently used by tests of any module, enabled or
      not.  We can make the DATA{} references more granular later.
      Add a VTK_TEST_DATA_DIR variable to refer to the directory we tell the
      ExternalData module to populate the real data files.  Replace references
      to VTK_DATA_ROOT in test command lines (after -D) with references to
      VTK_TEST_DATA_DIR.  Drop the VTK_DATA_ROOT CMake option and stop using
      the VTKData repository.
      Remove the TESTING_DATA option from the vtk_add_test_cxx API and remove
      the VTK_DATA_ROOT option from the vtk_add_test_mpi API since all test
      input data are now handled through ExternalData and Testing/Data content
      Change-Id: Id02490b76ea2e161b9038188264a4830485039d8
  16. 24 May, 2013 1 commit
    • Brad King's avatar
      Convert VTKLargeData test inputs to ExternalData content links · 4fbc3a0d
      Brad King authored
      Add a Testing/Data directory with ExternalData content links mirroring
      the content and layout we use from the VTKLargeData/Data directory.
      Add a VTK_USE_LARGE_DATA option to enable tests using such data.
      Call ExternalData_Expand_Arguments in */*/Testing/Cxx/CMakeLists.txt for
      tests that reference these data files in order to tell the ExternalData
      module to populate a ExternalData/Testing/Data directory in the build
      tree.  Pass the ExternalData/Testing directory in the build tree as the
      "-D" data directory option to tests using these data so that they can
      find the files where ExternalData puts them at build time.
      In the vtk_add_test_* API replace the LARGE_DATA options with a new
      TESTING_DATA option to indicate that a test uses the directory
      ExternalData/Testing/Data populated by ExternalData from the
      Testing/Data source directory.
      Drop VTK_LARGE_DATA_ROOT and stop using the VTKLargeData repository.
      Drop references to VTKLargeData from test source comments.
      Change-Id: Iaaf36293a840e65d6c171ae69b5c99db4c61443e
  17. 23 May, 2013 1 commit
    • Brad King's avatar
      Search for Ghostscript only when needed · fb82c67a
      Brad King authored
      Move the search for the Ghostscript executable added by commit 870dd114
      (Add new GL2PS testing system using ghostscript, 2012-10-01) into a
      dedicated vtkGhostscript module.  Include it from CMakeLists.txt that
      need VTK_GHOSTSCRIPT_EXECUTABLE.  This avoids keeping module-specific
      code in the top-level CMakeLists.txt file and enables the corresponding
      tests in the Testing/External build.
      Change-Id: I410737f16c653aaaa60799ce1471cb1798707079
  18. 06 May, 2013 1 commit
    • Brad King's avatar
      Add ExternalData infrastructure · 43f0b283
      Brad King authored
      Port the ExternalData configuration from ITK 'master' as of 2013-05-06.
      Add a CMake/vtkExternalData.cmake module to include and configure the
      ExternalData module for VTK.  List MIDAS and vtk.org URLs.
      Include vtkExternalData from the top-level CMakeLists.txt file and from
      Testing/External/CMakeLists.txt so it works for both the main build and
      when building tests externally.
      Teach the VTK pre-commit hook to move staged .ExternalData_MD5_* files
      left by the ExternalData module into the store at the top of the source
      tree as .ExternalData/MD5/* and import them into Git as refs/data/MD5/*.
      Teach the VTK git-gerrit-push alias to push content from refs/data/MD5/*
      when commits referencing it are pushed to Gerrit.
      Add a .gitignore to tell Git to ignore .ExternalData* names.
      Change-Id: I8c0a91cb3ce350450e378e4f16a23c62e7f2de6f
  19. 22 Mar, 2013 2 commits
  20. 21 Mar, 2013 1 commit
    • Marcus D. Hanwell's avatar
      VTK_LEGACY_REMOVE should default to OFF · cc8d4251
      Marcus D. Hanwell authored
      This looks like something that slipped through in the modularization
      commit, turning it off by default so that typical builds contain legacy
      removal warnings as intended.
      Change-Id: I678a7156bb70a8c1adad463b49a2a23db76d569a
  21. 05 Feb, 2013 1 commit
    • Sean McBride's avatar
      Restored VTK_REQUIRED_OBJCXX_FLAGS in main CMakeLists.txt · 8764962a
      Sean McBride authored
      It seems to have been accidentally removed in the massive modularization commit (0c1471f1).  Removed check for 10.4 SDK since VTK6 now requires 10.5.  VTK_REQUIRED_OBJCXX_FLAGS is set to "-fobjc-gc" so that VTK libraries can be linked into either GC or non-GC processes.
      Change-Id: Ifaeb2b4299b2aa4b92fd32bf9abdd5ad96b42ab7
  22. 16 Jan, 2013 1 commit
    • Kitware Robot's avatar
      KWSys 2013-01-14 (6fa1c99f) · 2d22591e
      Kitware Robot authored
      Extract upstream KWSys using the following shell commands.
      $ git archive --prefix=upstream-kwsys/ 6fa1c99f | tar x
      $ git shortlog --no-merges --abbrev=8 --format='%h %s' 3b17de34..6fa1c99f
      Brad King (6):
            fea37696 Process: Remove support for Windows 98
            01e15c22 Remove KWSys Registry
            cb5f835f SystemTools: Fix MakeDirectory with colon in path
            1643507a IOStream: Fix check for compiler 'long long' support
            34177aec SystemTools: Fix MakeDirectory after recent cleanup
            84827cc1 Process: Avoid argv[0]==NULL from parsing empty command line
      Riku Voipio (1):
            8ce09af5 CPU: Add Aarch64 support
      Rolf Eike Beer (45):
            f376ec32 SystemInformation: fix typos
            bfee5174 SystemInformation: sum up all caches found in /proc/cpuinfo
            5690d711 SystemInformation: fix value extraction from /proc/cpuinfo
            36295981 SystemInformation: PA-RISC chips are from HP
            72e9d02e SystemInformation: try harder to find a useful processor name
            b39de34c SystemInformation: try harder to find the CPU family
            933eb822 SystemInformation: extract CPU stepping information from /proc/cpuinfo, too
            4da9894d SystemInformation: Clean up QuerySolarisInfo()
            01392358 SystemInformation: don't attribute i386 Solaris systems to Sun
            3db65ac1 SystemInformation: wrap the call to CPUID in a function
            61bd9b42 SystemInformation: use the __cpuid compiler intrinsic if present
            5932e7c0 SystemInformation: query memory size on Cygwin using sysconf()
            ea5612ed SystemInformation: count memory with _SC_PAGESIZE and _SC_PHYS_PAGES
            3aca6642 SystemInformation: query memory size, CPU count, and CPU speed on BSD
            3572c54d SystemInformation: count CPUs on HP-UX
            e6771b34 SystemInformation: determine CPU type on HP-UX
            640210e5 SystemInformation: use /proc/cpuinfo only when present
            5bdcfd10 SystemInformation: query total memory on AIX
            de69d547 SystemInformation: use intrinsic for RDTSC if supported
            9808d4e7 SystemInformation: get CPU speed on Windows when RDTSC fails
            f4c625b5 tests: avoid truncation of testSystemInformation output in CDash
            03d6fbe5 SystemInformation: get x86 CPU features from /proc/cpuinfo
            f8e917c1 SystemInformation: remove the #define CPUID_INSTRUCTION
            59c4b5c5 SystemInformation: split Windows code out of QueryMemory()
            200ee91f SystemInformation: split HP-UX code out of QueryMemory()
            88217703 SystemInformation: split Linux code out of QueryMemory()
            9e317872 SystemInformation: split AIX code out of QueryMemory()
            349cee5b SystemInformation: remove useless zeroing from QueryMemory()
            7271926e SystemInformation: split Cygwin code out of QueryMemory()
            6da78ad1 SystemInformation: make QueryMemory() return bool
            182179e9 Haiku no longer defines __BEOS__
            297758a5 SystemInformation: fix conversion warning
            79ef34ef SystemInformation: fix calling kwsysProcess_WaitForData()
            f1068caf SystemInformation: speed up copying process data
            e041cd66 SystemInformation: factor out QueryMemoryBySysconf()
            ea850fa0 SystemInformation: factor out QueryProcessorBySysconf()
            57f06d49 SystemInformation: count processors with sysconf() on Solaris
            7dfc27d5 SystemInformation: check CPU vendor and SSE support on OpenBSD
            494d9d7a SystemInformation: get stepping code on Intel Macs
            608d6b47 SystemInformation: determine processor features on Intel Macs
            c6057a06 SystemInformation: fix "Multi-character character constant"
            5a27bd4f SystemInformation: make IsHyperThreadingSupported() return bool
            342c0ad2 SystemInformation: query memory size with sysconf() on Solaris
            f0b857c1 SystemInformation: cache result of IsHyperThreadingSupported()
            ab0c2a09 SystemInformation: try using assembler with BorlandC
      Sean McBride (2):
            5e17bfde Process: Dereference NULL++ instead of NULL to force crash
            86a78cb7 SystemTools: Add check for empty strings to prevent integer underflow
      Stephen Kelly (1):
            247b8a3c SystemTools: Rename MakeCnidentifier() to MakeCidentifier()
      Change-Id: I6376d94b490a0f4c351940f708b1098acd5e1653
  23. 12 Oct, 2012 1 commit
    • Nikhil Shetty's avatar
      Fixing python test driver to build in Binary directory · f83ca85c
      Nikhil Shetty authored
      This fix moves the scripts into build directory and runs dirver files form the
      build. Previously it was usign the source cauing *.pyc file to be created in the source.
      Change-Id: I3f0e7b18a22fa1c448f771fb17ce40533329783d
      Deleting old commented code
      Change-Id: I6e8073d117b5b6ac0ff5736e64ac3b625a84785f
  24. 10 Oct, 2012 1 commit
    • Kitware Robot's avatar
      KWSys 2012-10-10 (f4fc41fa) · b1846080
      Kitware Robot authored
      Extract upstream KWSys using the following shell commands.
      $ git archive --prefix=upstream-kwsys/ f4fc41fa | tar x
      $ git shortlog --no-merges --abbrev=8 --format='%h %s' 6004a876..f4fc41fa
      Burlen Loring (1):
            6072e63b SystemInformation: support for resource limits
      Change-Id: I9b475151fffd8b7b91fb3f1d7f7fdd55ef645dd3
  25. 03 Oct, 2012 1 commit
  26. 01 Oct, 2012 3 commits
    • Kitware Robot's avatar
      KWSys 2012-10-01 (bab53989) · 5d0de36d
      Kitware Robot authored
      Extract upstream KWSys using the following shell code.
      $ sha1=bab53989d7c4027259bff837574f75003396d59f &&
      git archive --prefix=KWSys-snapshot/ $sha1 |
      tar x
      $ git log 719638e2..bab53989 ^341043cf --no-merges --oneline --abbrev=8
      bab53989 Tell Git to check tab-in-indent and no-lf-at-eof
      8115bd1b SystemInformation: Pass extern "C" functions to sigaction
      4f4dd224 SystemInformation: Fix unused assignment warnings
      6b26d2fe SystemInformation: Use ifaddrs.h only where available
      381923ed SystemInformation: Use si_code constants only where available
      8f85338c SystemInformation: Use execinfo.h backtrace only where available
      a8e98f98 SystemInformation: Use Windows API more portably
      750b4b5c SystemInformation: Use long long or __int64 only where available
      8d2cafcd SystemInformation: Fix UNIX system includes for FQDN
      857bda17 SystemInformation: Report more information
      63cbea35 Add and configure developer setup helper scripts
      924466f5 SystemTools: Fix accidental bitwise instead of logical OR
      2f423229 SystemTools: Remove unused environ declaration
      a49c2417 Disable warnings about MS deprecation of C library
      e3390720 CTestConfig: Submit to dedicated KWSys dashboard
    • Kitware Robot's avatar
      KWSys 2012-05-02 (719638e2) · 7d3c2959
      Kitware Robot authored
      Extract upstream KWSys using the following shell code.
      $ sha1=719638e233b560afb0d9a0afdcf23469dc1827fe &&
      git archive --prefix=KWSys-snapshot/ $sha1 |
      tar x
    • David C. Lonie's avatar
      Add new GL2PS testing system using ghostscript. · 870dd114
      David C. Lonie authored
      This commit replaces the md5sum based GL2PS tests, which were
      unreliable across GL implementations and difficult to maintain,
      with a ghost script based approach.
      Testing is performed as follows:
      1) The unit tests generate a post script file
      2) A CMake script, CMake/RasterizePostScript.cmake is called, which
         runs ghostscript to rasterize the postscript file into a png image.
      3) A PNGCompare test is called, which uses new API in vtkTesting to
         read the png file back in and perform a fuzzy image diff. PNGCompare
         lives in the Rendering/GL2PS module.
      Change-Id: I0e99b903512166741fe572ce417c1d0d480c34cd
  27. 31 Aug, 2012 1 commit
  28. 29 Aug, 2012 1 commit
    • VTK Developers's avatar
      verdict 2012-08-24 (reduced) · 42017336
      VTK Developers authored
      Extract upstream verdict using the following shell code.
      sha1=68e6c095645ea9777d42877d019aba7721435d4a &&
      ' &&
      git archive --prefix=verdict-reduced/ $sha1 -- $paths |
      tar x
      Change-Id: I32d13c6e8180179aed3f3a43a1f90b69427286f3
  29. 17 Aug, 2012 1 commit
    • Bill Lorensen's avatar
      ENH: Migrate examples to VTK6 · 1995122e
      Bill Lorensen authored
      1) Add Find_Package(VTK COMPONENTS) for each example dir
      2) Add MAC app support
      3) Use ${VTK_LIBRARIES} for target_link_libraries
      4) Use new signature for add_test
      Each set of examples can be built within the VTK bin tree or as
      stand-alone examples.
      Change-Id: I6daa126bcc2ed44d827b50954d27f90f394ad4f2
  30. 16 Aug, 2012 1 commit
    • David Gobbi's avatar
      ENH: Make the Wrapping/Tools directory into a VTK module. · 0af3c1e1
      David Gobbi authored
      The vtkWrappingTools library and the wrapper-tool executables are now
      configured and built as part of the new modular organization of VTK.
      This change also required vtkWrappingTcl to be converted into a module.
      Change-Id: I1bc6c2ce73c0ca7422b0a9a6afe9de2df8426c2c
  31. 15 Aug, 2012 1 commit
    • David Gobbi's avatar
      ENH: Move wrapper tools into Wrapper/Tools subdirectory. · cac6610d
      David Gobbi authored
      This is the first commit in a two-stage process of creating a new
      module for the wrapping tools. This commit moves the files into
      Wrapper/Tools and renames the library to libvtkWrappingTools.
      The next commit will make WrappingTools into a VTK module.
      Change-Id: Ifeecdf51538718718750c028968a142ac52e0855
  32. 10 Aug, 2012 1 commit
  33. 07 Aug, 2012 1 commit
    • Utkarsh Ayachit's avatar
      Adding mechanisms to deal with compile-tools. · b929bb08
      Utkarsh Ayachit authored
      * Added new macros to vtkModuleMacros.cmake to add targets for build-tools. Now
        any component/module creating a tool that's used at compile time should use
        the vtk_compile_tools_target() macro.
      * vtk_compile_tools_target(), besides ensuring that the target properties are
        setup properly, adds the target to the VTK_COMPILETOOLS_TARGETS list.
      * As a last step, VTK_COMPILETOOLS_TARGETS are exported to both VTKTargets.cmake
        and VTKCompileToolsConfig.cmake.
      * When cross compiling VTKCompileToolsConfig.cmake is imported to load
        information about all the build tools.
      * vtkCompileTools is a new virtual target that can be used to build host-tools.
        It includes all the targets exported using vtk_compile_tools_target() or
        vtk_compile_tools_target_export() macros.
      * For projects, like ParaView, that contain VTK, added a mechanism for the
        parent project to manage importing of the compile tools when cross compiling.
      Change-Id: Ibf38868d8ea5f562c7c2682936c72bc11208c5c9
  34. 06 Aug, 2012 3 commits
    • Utkarsh Ayachit's avatar
      Fixing code to locate wrapping executables using targets, if possible. · 62510085
      Utkarsh Ayachit authored
      When building projects dependending on VTK, we ran into issues since some
      variables were expected to be declared e.g. VTK_WRAP_PYTHON_INIT_EXE,
      VTK_WRAP_HIERARCHY_EXE. These are unnnecessary since they are imported targets
      and should be used if present. Updated code to use the targets directly if
      Change-Id: I74b5996671e195b02bd65b85b71a2e33bd3ca2da
    • Utkarsh Ayachit's avatar
      Fixing code to locate wrapping executables using targets, if possible. · 5da762c8
      Utkarsh Ayachit authored
      When building projects dependending on VTK, we ran into issues since some
      variables were expected to be declared e.g. VTK_WRAP_PYTHON_INIT_EXE,
      VTK_WRAP_HIERARCHY_EXE. These are unnnecessary since they are imported targets
      and should be used if present. Updated code to use the targets directly if
      Change-Id: I74b5996671e195b02bd65b85b71a2e33bd3ca2da
    • Brad King's avatar
      Export all targets from the build tree in one step · 35c840ba
      Brad King authored
      Since commit 2377ca28 (Removed the LastConfigureStep logic, 2012-07-26)
      we exported targets one at a time and incrementally appended to
      VTKTargets.cmake in the build tree.  This has two disadvantages:
      (1) The export() command APPEND mode cannot detect target dependencies
      that are not exported.
      (2) If any target properties are changed after the export() command is
      run then their build might not match the exported information.
      We still collect all target names in a VTK_TARGETS global property.
      Return to using it to export() all the targets at once.  Just call it
      directly from the end of the top-level CMakeLists.txt file instead of
      restoring the LastConfigureStep directory.
      The VTK_INSTALL_EXPORT_NAME value is only for the install(EXPORT)
      command, so return to hard-coding the name "VTKTargets.cmake" for the
      build tree file.
      Change-Id: If0fb56895a2fef34c4257ba607eb32b4f4a233ee