summaryrefslogtreecommitdiffstats
path: root/Modules/FindVTK.cmake
Commit message (Collapse)AuthorAgeFilesLines
* FindVTK: Drop this ancient compatibility moduleBrad King2014-10-021-66/+0
| | | | | | | The FindVTK module only existed to help find_package(VTK) calls work in old projects written to use "USE_VTK_FILE" instead of "VTK_USE_FILE". Drop it to allow find_package(VTK) calls to search for VTKConfig.cmake directly.
* FindVTK: Drop support for finding VTK 4.0Brad King2014-07-011-101/+11
| | | | | Convert to a simple thin-wrapper around the find_package(VTK NO_MODULE). This makes the code much simpler and improves error messages.
* Convert builtin help to reStructuredText source filesKitware Robot2013-10-151-26/+41
| | | | | | | | Run the convert-help.bash script to convert documentation: ./convert-help.bash "/path/to/CMake-build/bin" Then remove it.
* Fix spelling and typos (non-binary)Andreas Mohr2013-05-071-2/+2
|
* Find* (and some other): use ${CMAKE_CURRENT_LIST_DIR} in include()Rolf Eike Beer2012-11-041-2/+2
| | | | | | This solves a lots of warnings, e.g. in the FindModulesExecuteAll test. If the installed version on the system is rather old this may even lead to bugs, e.g. https://bugs.gentoo.org/show_bug.cgi?id=436540
* use the find_* functions ENV parameterRolf Eike Beer2012-08-141-1/+1
| | | | | | | | | Instead of directly passing $ENV{SOMEVAR} to a find_* call pass in ENV SOMEVAR. This will make sure the paths will get correctly handled through different platforms, especially on Windows. Also fixes one place where paths with windows delimiters (\) were hardcoded to use forward slashes.
* Remove CMake-language block-end command argumentsKitware Robot2012-08-131-7/+7
| | | | | | | | | | | | | | | | | Ancient versions of CMake required else(), endif(), and similar block termination commands to have arguments matching the command starting the block. This is no longer the preferred style. Run the following shell code: for c in else endif endforeach endfunction endmacro endwhile; do echo 's/\b'"$c"'\(\s*\)(.\+)/'"$c"'\1()/' done >convert.sed && git ls-files -z -- bootstrap '*.cmake' '*.cmake.in' '*CMakeLists.txt' | egrep -z -v '^(Utilities/cm|Source/kwsys/)' | egrep -z -v 'Tests/CMakeTests/While-Endwhile-' | xargs -0 sed -i -f convert.sed && rm convert.sed
* Convert CMake-language commands to lower caseKitware Robot2012-08-131-50/+50
| | | | | | | | | | | | | | | | | Ancient CMake versions required upper-case commands. Later command names became case-insensitive. Now the preferred style is lower-case. Run the following shell code: cmake --help-command-list | grep -v "cmake version" | while read c; do echo 's/\b'"$(echo $c | tr '[:lower:]' '[:upper:]')"'\(\s*\)(/'"$c"'\1(/g' done >convert.sed && git ls-files -z -- bootstrap '*.cmake' '*.cmake.in' '*CMakeLists.txt' | egrep -z -v '^(Utilities/cm|Source/kwsys/)' | xargs -0 sed -i -f convert.sed && rm convert.sed
* Remove trailing whitespace from most CMake and C/C++ codeKitware Robot2012-08-131-7/+7
| | | | | | | | | | | | | | | | | Our Git commit hooks disallow modification or addition of lines with trailing whitespace. Wipe out all remnants of trailing whitespace everywhere except third-party code. Run the following shell code: git ls-files -z -- \ bootstrap doxygen.config '*.readme' \ '*.c' '*.cmake' '*.cpp' '*.cxx' \ '*.el' '*.f' '*.f90' '*.h' '*.in' '*.in.l' '*.java' \ '*.mm' '*.pike' '*.py' '*.txt' '*.vim' | egrep -z -v '^(Utilities/cm|Source/(kwsys|CursesDialog/form)/)' | egrep -z -v '^(Modules/CPack\..*\.in)' | xargs -0 sed -i 's/ \+$//'
* Modules: Fix spelling 'To distributed' -> 'To distribute'Todd Gamblin2010-08-091-1/+1
|
* Modernize FindVTK moduleBrad King2009-10-071-61/+48
| | | | | | | | | | This teaches the FindVTK module to use the Config mode of find_package() to search for VTKConfig in the common case. The old search method based on find_path() and UseVTK is now used only to search for VTK 4.0. This approach avoids the need to update the module for each new VTK version because find_package(VTK) automatically searches "lib/vtk*". It also addresses issue #9105 since find_package searches lib64 paths too.
* Convert CMake find-modules to BSD LicenseBrad King2009-09-281-0/+13
| | | | | | | This adds copyright/license notification blocks CMake's find-modules. Many of the modules had no notices at all. Some had notices referring to the BSD license already. This commit normalizes existing notices and adds missing notices.
* BUG: Fix issue #8804. Add vtk-5.4 lib path to the FindVTK.cmake module.David Cole2009-03-311-0/+1
|
* BUG: don't fail with FATAL_ERROR if REQUIRED was not usedAlexander Neundorf2008-04-271-6/+6
| | | | Alex
* ENH: Add ability to find VTK 5 without user help.Brad King2006-05-231-1/+6
|
* ENH: cleanupsKen Martin2005-12-151-15/+19
|
* ENH: add documentation support for modulesBill Hoffman2005-12-141-23/+19
|
* ENH: Cleanup. Use relative path to modulesAndy Cedilnik2004-08-271-1/+1
|
* BUG#682: Adding environment variable check to FIND_PACKAGE command.Brad King2004-04-261-0/+3
|
* ENH: Terminate with a FATAL_ERROR if FIND_PACKAGE command was called with ↵Brad King2004-04-211-0/+4
| | | | REQUIRED argument and package was not found.
* ENH: Improved error message for VTK_DIR not found to refer to it as a cache ↵Brad King2003-07-241-1/+1
| | | | entry. Some users thought this was supposed to be an environment variable.
* BUG: When VTK is not found, it should be fatal errorAndy Cedilnik2003-06-061-1/+1
|
* ENH: Updated documentation.Brad King2003-01-211-3/+0
|
* BUG: Fix for application of expand-list-variables.Brad King2003-01-171-3/+3
|
* ENH: Added support for finding/using VTK 4.0 without using its UseVTK.cmake ↵Brad King2002-12-051-27/+20
| | | | file that does a LOAD_CACHE.
* ENH: Added support to find VTK 4.0.Brad King2002-11-201-12/+34
|
* ENH: Only search VTK_INSTALL_PATH if USE_INSTALLED_VTK is on. Only search ↵Brad King2002-11-201-4/+4
| | | | VTK_BINARY_PATH if USE_BUILT_VTK is on.
* ENH: New implementation of FindVTK to take advantage of VTKConfig.cmake. ↵Brad King2002-11-201-127/+102
| | | | Also provides more powerful search path mechanism, and requires only one cache entry in user project.
* More finds for VTKAndy Cedilnik2002-04-011-4/+15
|
* Add some more locations of VTKAndy Cedilnik2002-03-311-0/+3
|
* ENH: Added option of disabling error message when VTK is not found.Brad King2002-01-221-1/+6
|
* More user friendly (built tree is automatically used).Sebastien Barre2002-01-071-66/+48
|
* Change so that different flavours of VTK might be chosen by the user. See ↵Sebastien Barre2001-12-211-65/+122
| | | | full instructions in that file.
* ENH: Also look for 4.2, 4.1, 4.0Sebastien Barre2001-12-201-0/+8
|
* use find_file and not just a set for USE_VTK_FILEBill Hoffman2001-10-261-1/+1
|
* changes to chamgheKen Martin2001-09-251-1/+7
|
* better install targetsKen Martin2001-09-211-8/+14
|
* updatesKen Martin2001-09-201-29/+13
|
* minor changesKen Martin2001-09-201-8/+8
|
* removed some VTK stuffKen Martin2001-09-201-0/+3
|
* updated to how FindVTK worksKen Martin2001-09-191-9/+69
|
* Module to search for VTK include and library pathsLuis Ibanez2001-05-231-0/+16