Brad King c79abbd99c ENH: Enhanced FindITK supporting use of ITK from an install tree or a build tree. Only one cache entry is brought into user's project, called "ITK_DIR". This is the location of an ITKConfig.cmake file from which other settings are loaded. vor 23 Jahren
..
CMakeBackwardCompatibilityC.cmake 74eeb49d4c Do this the right way vor 23 Jahren
CMakeBackwardCompatibilityCXX.cmake b5de000f26 Improve backward compatibility, so that all backward compatibility stuff is in two modules; fix invoking of try_compile; add checking for header files and sizes of types vor 23 Jahren
CMakeCCompiler.cmake.in fa782867b3 closer to removing autoconf vor 23 Jahren
CMakeCXXCompiler.cmake.in 56f2d45191 *** empty log message *** vor 23 Jahren
CMakeDefaultMakeRuleVariables.cmake 319c3adf2a *** empty log message *** vor 23 Jahren
CMakeDetermineCCompiler.cmake 319c3adf2a *** empty log message *** vor 23 Jahren
CMakeDetermineCXXCompiler.cmake 319c3adf2a *** empty log message *** vor 23 Jahren
CMakeDetermineSystem.cmake 319c3adf2a *** empty log message *** vor 23 Jahren
CMakeLists.txt b051815555 ENH: Adding install of .in and .c modules. vor 23 Jahren
CMakePrintSystemInformation.cmake fa782867b3 closer to removing autoconf vor 23 Jahren
CMakeSystem.cmake.in fa782867b3 closer to removing autoconf vor 23 Jahren
CMakeSystemSpecificInformation.cmake 319c3adf2a *** empty log message *** vor 23 Jahren
CMakeTestGNU.c da460f9008 test for gnu compiler vor 23 Jahren
CYGWIN.cmake fa782867b3 closer to removing autoconf vor 23 Jahren
CheckFunctionExists.c 76e9af1575 Add two commonly used modules. First one checks if the function exists, the second one checks the size of type vor 23 Jahren
CheckFunctionExists.cmake ccafaa6bce Add append to write_file vor 23 Jahren
CheckIncludeFile.c.in 1d0d685049 Simplify checking for headers vor 23 Jahren
CheckIncludeFile.cmake ccafaa6bce Add append to write_file vor 23 Jahren
CheckLibraryExists.cmake ccafaa6bce Add append to write_file vor 23 Jahren
CheckLibraryExists.lists.in 3697ad6dc7 Initial attempt to check if library exists vor 23 Jahren
CheckSizeOf.c 76e9af1575 Add two commonly used modules. First one checks if the function exists, the second one checks the size of type vor 23 Jahren
CheckSizeOf.cmake ccafaa6bce Add append to write_file vor 23 Jahren
Dart.cmake 7d907a9a61 Add option to control number of errors sent to dashbaord vor 23 Jahren
Documentation.cmake 1362bb41c8 Add module to find gnuplot vor 24 Jahren
FindAVIFile.cmake 0b288b6121 Fixed mistake in comments vor 23 Jahren
FindCABLE.cmake 3d3d7a9146 BUG: Should not load CMAKE_INSTALL_PREFIX from the cache. vor 23 Jahren
FindCurses.cmake 0d252c941d ENH: Added /lib to curses search path. vor 24 Jahren
FindCygwin.cmake cb4f04c94e Remove unneeded test and code duplication. Add WIN32 test. Make all ADVANCED. vor 24 Jahren
FindDart.cmake e2294ae591 ENH: look for Dart in c: vor 24 Jahren
FindDoxygen.cmake cb4f04c94e Remove unneeded test and code duplication. Add WIN32 test. Make all ADVANCED. vor 24 Jahren
FindFLTK.cmake b013813f15 ENH: removed "USE_FLTK_VERSION_1.1" in favor of "FLTK_VERSION_1.1" to avoid vor 23 Jahren
FindGCCXML.cmake 11d50284ed ENH: Updated for version 0.2 of GCC-XML. vor 24 Jahren
FindGLU.cmake 0b288b6121 Fixed mistake in comments vor 23 Jahren
FindGLUT.cmake 079e8469ab Hide lots of values in the advanced list vor 23 Jahren
FindGTK.cmake 5e319f5b9b GL should not be a completely necessary thing for finding GTK. This will find gtk and GL but also just GTK vor 23 Jahren
FindGnuplot.cmake 1362bb41c8 Add module to find gnuplot vor 24 Jahren
FindHhc.cmake cb4f04c94e Remove unneeded test and code duplication. Add WIN32 test. Make all ADVANCED. vor 24 Jahren
FindITK.cmake c79abbd99c ENH: Enhanced FindITK supporting use of ITK from an install tree or a build tree. Only one cache entry is brought into user's project, called "ITK_DIR". This is the location of an ITKConfig.cmake file from which other settings are loaded. vor 23 Jahren
FindJNI.cmake 6bdf15c4de ENH: Added /usr/local/lib/java search paths. vor 24 Jahren
FindJPEG.cmake 0b288b6121 Fixed mistake in comments vor 23 Jahren
FindJava.cmake fe100ef263 ENH: mark some vars as advanced (and resort the list) vor 23 Jahren
FindLATEX.cmake 1f80ecf5a5 Configuratiion for finding LaTeX related executables. vor 23 Jahren
FindMFC.cmake 0059db268c A simple FindMFC module for consistency vor 23 Jahren
FindMPEG.cmake d7ebdb9da0 Add an MPEG finder in the new format - functionality copied from VXL. vor 23 Jahren
FindMPI.cmake 555a7f88aa Add mpi search paths for Debian vor 24 Jahren
FindOpenGL.cmake 15d27bbc42 FIX: typo + bring back the OPENGL_gl_LIBRARY path that can be used to find GLU (was wiped out from FindGLU) vor 23 Jahren
FindPNG.cmake 8cc45bd524 I copied a bit too much VXL functionality here. Oops vor 23 Jahren
FindPerl.cmake c5feb8c6c5 Added PERL_FOUND vor 23 Jahren
FindPythonLibs.cmake daaa5f3e79 Oops, forgot the library name vor 24 Jahren
FindQt.cmake e18a53698e Make QT variables advanced vor 23 Jahren
FindSelfPackers.cmake cb4f04c94e Remove unneeded test and code duplication. Add WIN32 test. Make all ADVANCED. vor 24 Jahren
FindTCL.cmake 79ddd9426c ENH: make stub stuff ADVANCED vor 23 Jahren
FindTIFF.cmake 0b288b6121 Fixed mistake in comments vor 23 Jahren
FindTclsh.cmake 64a1707aee ENH: clean modules (doc, make stuff advanced, etc.) vor 24 Jahren
FindUnixCommands.cmake cb4f04c94e Remove unneeded test and code duplication. Add WIN32 test. Make all ADVANCED. vor 24 Jahren
FindVTK.cmake c7e18a0408 More finds for VTK vor 24 Jahren
FindWget.cmake 5f60153d2f Add helpful message for QT Windows users vor 23 Jahren
FindWish.cmake 74da9fb78e Add better detection of wish 8.2 vor 24 Jahren
FindX11.cmake 37b8509310 Make things advanced vor 23 Jahren
FindZLIB.cmake f5ea46bbc5 This file should not be empty vor 23 Jahren
FindwxWindows.cmake 0ccba5a056 Add some search paths vor 23 Jahren
LinkQT.cmake 63d64d5780 Define a single expected format for the values defined in every FindXXX.cmake file. vor 23 Jahren
TestBigEndian.c dfb25dd982 Add test for big endian vor 23 Jahren
TestBigEndian.cmake ccafaa6bce Add append to write_file vor 23 Jahren
TestForANSIStreamHeaders.cmake d17830ee5e slight change in signature for TryCompile vor 23 Jahren
TestForANSIStreamHeaders.cxx 32b398e55b new try compile module vor 23 Jahren
Windows.cmake da460f9008 test for gnu compiler vor 23 Jahren
readme.txt 28117a2e4a Add important missing word to documentation vor 23 Jahren

readme.txt

Note to authors of FindXXX.cmake files

We would like all FindXXX.cmake files to produce consistent variable names.

Please use the following consistent variable names for general use.

XXX_INCLUDE_DIR Where to find xxx.h, etc. If for some reason, you really need two paths, then that shouldn't be a problem - however, consider if you really should have two different FindXXX.cmake files. (XXX_INCLUDE_PATH was considered bad because a path includes an actual filename.)
XXX_LIBRARIES The libraries to link against to use XXX. These should include full paths.
XXX_DEFINITIONS Definitions to use when compiling code that uses XXX. This really shouldn't include options such as (-DHAS_JPEG)that a client source-code file uses to decide whether to #include
XXX_EXECUTABLE Where to find the XXX tool.
XXX_YYY_EXECUTABLE Where to find the YYY tool that comes with XXX.
XXX_ROOT_DIR Where to find the base directory of XXX.
XXX_VERSION_YY Expect Version YY if true. Make sure at most one of these is ever true.
XXX_WRAP_YY If False, do not try to use the relevent CMake wrapping command.
XXX_YY_FOUND If False, optional YY part of XXX sytem is not available.
XXX_FOUND Set to false, or undefined, if we haven't found, or don't want to use XXX.

You do not have to provide all of the above variables. You should provide XXX_FOUND under most circumstances. If XXX is a library, then XXX_LIBRARIES, should also be defined, and XXX_INCLUDE_DIR should usually be defined (I guess libm.a might be an exception)

The following names should not usually be used in CMakeLists.txt files, but they may be usefully modified in users' CMake Caches to control stuff.

XXX_LIBRARY Name of XXX Library. A User may set this and XXX_INCLUDE_DIR to ignore to force non-use of XXX.
XXX_YY_LIBRARY Name of YY library that is part of the XXX system. It may or may not be required to use XXX.

For tidiness's sake, try to keep as many options as possible out of the cache, leaving at least one option which can be used to disable use of the module, or locate a not-found library (e.g. XXX_ROOT_DIR). For the same reason, mark most cache options as advanced.

If you need other commands to do special things then it should still begin with XXX_. This gives a sort of namespace effect and keeps things tidy for the user. You should put comments describing all the exported settings, plus descriptions of any the users can use to control stuff.

You really should also provide backwards compatibility any old settings that were actually in use. Make sure you comment them as deprecated, so that no-one starts using them.