Brad King 38b2667de2 ERR: Need double-quotes around expression to be mached in IF command. 23 lat temu
..
Platform 96189f79d5 ENH: unify EnableLanguage across all generators 23 lat temu
CMakeBackwardCompatibilityC.cmake 96189f79d5 ENH: unify EnableLanguage across all generators 23 lat temu
CMakeBackwardCompatibilityCXX.cmake 96189f79d5 ENH: unify EnableLanguage across all generators 23 lat temu
CMakeBorlandFindMake.cmake e2d1104881 determine CMAKE_MAKE_PROGRAM in EnableLanguage 23 lat temu
CMakeBuildSettings.cmake.in ee72d5740b ENH: Adding CMAKE_EXPORT_BUILD_SETTINGS and CMAKE_IMPORT_BUILD_SETTINGS macro. 23 lat temu
CMakeCCompiler.cmake.in ee42cf3c06 BUG: use CMAKE_COMPILER_IS_GNUCC not CMAKE_COMPILER_IS_GNUGCC 23 lat temu
CMakeCXXCompiler.cmake.in d1051bb575 clean up flags with _init flags 23 lat temu
CMakeDefaultMakeRuleVariables.cmake 3873bd6257 correctly place both LINK_FLAGS and CXX_LINK_FLAGS and C_LINK_FLAGS into all the rules 23 lat temu
CMakeDetermineCCompiler.cmake 38b2667de2 ERR: Need double-quotes around expression to be mached in IF command. 23 lat temu
CMakeDetermineCXXCompiler.cmake 38b2667de2 ERR: Need double-quotes around expression to be mached in IF command. 23 lat temu
CMakeDetermineJavaCompiler.cmake 1c6203b406 Add java support 23 lat temu
CMakeDetermineSystem.cmake f5d95fb078 Complete rework of makefile generators expect trouble 23 lat temu
CMakeExportBuildSettings.cmake ee72d5740b ENH: Adding CMAKE_EXPORT_BUILD_SETTINGS and CMAKE_IMPORT_BUILD_SETTINGS macro. 23 lat temu
CMakeImportBuildSettings.cmake f9eb32fc6e ENH: Using only filename without path or extension for comparing build tools. 23 lat temu
CMakeJavaCompiler.cmake.in 1c6203b406 Add java support 23 lat temu
CMakeLists.txt 5b9a880bfb add install stuff for platform directory 23 lat temu
CMakeNMakeFindMake.cmake e2d1104881 determine CMAKE_MAKE_PROGRAM in EnableLanguage 23 lat temu
CMakePrintSystemInformation.cmake f5d95fb078 Complete rework of makefile generators expect trouble 23 lat temu
CMakeSystem.cmake.in d1051bb575 clean up flags with _init flags 23 lat temu
CMakeSystemSpecificInformation.cmake 96189f79d5 ENH: unify EnableLanguage across all generators 23 lat temu
CMakeTestGNU.c da460f9008 test for gnu compiler 23 lat temu
CMakeUnixFindMake.cmake 9992fe5103 BUG: Removed stray debugging message. 23 lat temu
CMakeVS6BackwardCompatibility.cmake b472d792be use win32 threads for win32 23 lat temu
CMakeVS6FindMake.cmake 96189f79d5 ENH: unify EnableLanguage across all generators 23 lat temu
CMakeVS7BackwardCompatibility.cmake b472d792be use win32 threads for win32 23 lat temu
CMakeVS7FindMake.cmake 96189f79d5 ENH: unify EnableLanguage across all generators 23 lat temu
CheckFunctionExists.c 76e9af1575 Add two commonly used modules. First one checks if the function exists, the second one checks the size of type 23 lat temu
CheckFunctionExists.cmake 5b17658c91 Add more messages, make messages look the same, add checks if test was already successfull 23 lat temu
CheckIncludeFile.c.in 1d0d685049 Simplify checking for headers 23 lat temu
CheckIncludeFile.cmake 5b17658c91 Add more messages, make messages look the same, add checks if test was already successfull 23 lat temu
CheckIncludeFile.cxx.in f5d95fb078 Complete rework of makefile generators expect trouble 23 lat temu
CheckIncludeFileCXX.cmake 1e3ddfeecf try to fix check for ansi stream 23 lat temu
CheckLibraryExists.cmake 5b17658c91 Add more messages, make messages look the same, add checks if test was already successfull 23 lat temu
CheckLibraryExists.lists.in 3697ad6dc7 Initial attempt to check if library exists 23 lat temu
CheckSizeOf.c 76e9af1575 Add two commonly used modules. First one checks if the function exists, the second one checks the size of type 23 lat temu
CheckSizeOf.cmake 5b17658c91 Add more messages, make messages look the same, add checks if test was already successfull 23 lat temu
CheckVariableExists.c 9a98c16803 ENH: Added CHECK_VARIABLE_EXISTS macro. 23 lat temu
CheckVariableExists.cmake 9a98c16803 ENH: Added CHECK_VARIABLE_EXISTS macro. 23 lat temu
Dart.cmake 96189f79d5 ENH: unify EnableLanguage across all generators 23 lat temu
Documentation.cmake 1362bb41c8 Add module to find gnuplot 24 lat temu
DummyCXXFile.cxx 9a6c95fcea add checks for ansi flags and not hard code them 23 lat temu
FindAVIFile.cmake 0b288b6121 Fixed mistake in comments 23 lat temu
FindCABLE.cmake 3d3d7a9146 BUG: Should not load CMAKE_INSTALL_PREFIX from the cache. 23 lat temu
FindCurses.cmake 0d252c941d ENH: Added /lib to curses search path. 24 lat temu
FindCygwin.cmake cb4f04c94e Remove unneeded test and code duplication. Add WIN32 test. Make all ADVANCED. 24 lat temu
FindDart.cmake e2294ae591 ENH: look for Dart in c: 24 lat temu
FindDoxygen.cmake cb4f04c94e Remove unneeded test and code duplication. Add WIN32 test. Make all ADVANCED. 24 lat temu
FindFLTK.cmake ec1b07015e ENH: description of variables now follows other style in other .cmake files. 23 lat temu
FindGCCXML.cmake 11d50284ed ENH: Updated for version 0.2 of GCC-XML. 23 lat temu
FindGLU.cmake 0b288b6121 Fixed mistake in comments 23 lat temu
FindGLUT.cmake 93d38e24cc ENH: Description of variables now specifies that the full path is required. 23 lat temu
FindGTK.cmake 5e319f5b9b GL should not be a completely necessary thing for finding GTK. This will find gtk and GL but also just GTK 23 lat temu
FindGnuplot.cmake 1362bb41c8 Add module to find gnuplot 24 lat temu
FindHhc.cmake cb4f04c94e Remove unneeded test and code duplication. Add WIN32 test. Make all ADVANCED. 24 lat temu
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. 23 lat temu
FindImageMagick.cmake c40401f05b Module to find tools from the ImageMagick package. 23 lat temu
FindJNI.cmake 2281726935 Clean find for Python, add find for python 2.2 on windows, cleanup java on windows and add java 1.4 support 23 lat temu
FindJPEG.cmake 0b288b6121 Fixed mistake in comments 23 lat temu
FindJava.cmake 2281726935 Clean find for Python, add find for python 2.2 on windows, cleanup java on windows and add java 1.4 support 23 lat temu
FindLATEX.cmake 9686a9034c ENH: Now also locates the "makeindex" program. 23 lat temu
FindMFC.cmake 0059db268c A simple FindMFC module for consistency 23 lat temu
FindMPEG.cmake d7ebdb9da0 Add an MPEG finder in the new format - functionality copied from VXL. 23 lat temu
FindMPI.cmake 555a7f88aa Add mpi search paths for Debian 23 lat temu
FindOpenGL.cmake 1d7c2eaf90 FIX: minor fix, OPENGL_INCLUDE_PATH was set 2 times 23 lat temu
FindPNG.cmake 8cc45bd524 I copied a bit too much VXL functionality here. Oops 23 lat temu
FindPerl.cmake c5feb8c6c5 Added PERL_FOUND 23 lat temu
FindPythonLibs.cmake c720d473b3 Better search for python 23 lat temu
FindQt.cmake e18a53698e Make QT variables advanced 23 lat temu
FindSelfPackers.cmake cb4f04c94e Remove unneeded test and code duplication. Add WIN32 test. Make all ADVANCED. 24 lat temu
FindTCL.cmake 79ddd9426c ENH: make stub stuff ADVANCED 23 lat temu
FindTIFF.cmake 0b288b6121 Fixed mistake in comments 23 lat temu
FindTclsh.cmake 64a1707aee ENH: clean modules (doc, make stuff advanced, etc.) 23 lat temu
FindThreads.cmake d05716c498 BUG: fix for thread and cache override 23 lat temu
FindUnixCommands.cmake cb4f04c94e Remove unneeded test and code duplication. Add WIN32 test. Make all ADVANCED. 24 lat temu
FindVTK.cmake 14771cf5f6 ENH: Added support for finding/using VTK 4.0 without using its UseVTK.cmake file that does a LOAD_CACHE. 23 lat temu
FindWget.cmake 5f60153d2f Add helpful message for QT Windows users 23 lat temu
FindWish.cmake 74da9fb78e Add better detection of wish 8.2 23 lat temu
FindX11.cmake fce9bf48c5 fix for nsl library and X11 23 lat temu
FindZLIB.cmake f5ea46bbc5 This file should not be empty 23 lat temu
FindwxWindows.cmake 5e84aca2f1 Change priorities 23 lat temu
LinkQT.cmake 63d64d5780 Define a single expected format for the values defined in every FindXXX.cmake file. 23 lat temu
TestBigEndian.c dfb25dd982 Add test for big endian 23 lat temu
TestBigEndian.cmake ccafaa6bce Add append to write_file 23 lat temu
TestCXXAcceptsFlag.cmake 369d5f631c spelling error 23 lat temu
TestForANSIForScope.cmake a7098d1433 move ansi cxx flags stuff out of try compile and into cmake files 23 lat temu
TestForANSIStreamHeaders.cmake 1e3ddfeecf try to fix check for ansi stream 23 lat temu
TestForANSIStreamHeaders.cxx 32b398e55b new try compile module 23 lat temu
TestForAnsiForScope.cxx f5d95fb078 Complete rework of makefile generators expect trouble 23 lat temu
TestForSTDNamespace.cmake ddc3c70641 fix order 23 lat temu
TestForSTDNamespace.cxx f5d95fb078 Complete rework of makefile generators expect trouble 23 lat temu
UseVTK40.cmake 14771cf5f6 ENH: Added support for finding/using VTK 4.0 without using its UseVTK.cmake file that does a LOAD_CACHE. 23 lat temu
UseVTKBuildSettings40.cmake 14771cf5f6 ENH: Added support for finding/using VTK 4.0 without using its UseVTK.cmake file that does a LOAD_CACHE. 23 lat temu
UseVTKConfig40.cmake 14771cf5f6 ENH: Added support for finding/using VTK 4.0 without using its UseVTK.cmake file that does a LOAD_CACHE. 23 lat temu
readme.txt 28117a2e4a Add important missing word to documentation 23 lat temu

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.