Alexander Neundorf 281e08131a преди 18 години
..
Platform f9cb0f3cb4 преди 18 години
AddFileDependencies.cmake a980fdc96a BUG: don't include MacroLibrary.cmake, but add a cmake module which implements ADD_FILE_DEPENDENCIES() преди 19 години
CMake.cmake b7fa820118 ENH: add documentation support for modules преди 20 години
CMakeASM-ATTInformation.cmake 5b18b80b58 преди 18 години
CMakeASMCompiler.cmake.in 021ceea1b0 ENH: second try for handling the linker language with integer priority values (returning a pointer to a string on the stack is no good idea) преди 18 години
CMakeASMInformation.cmake d885d45b0f преди 18 години
CMakeAddNewLanguage.txt 8be3e4eeca ENH: clean up EnableLanguage try to fix problem where try compile runs cmake преди 20 години
CMakeBackwardCompatibilityC.cmake b7fa820118 ENH: add documentation support for modules преди 20 години
CMakeBackwardCompatibilityCXX.cmake 9891260a6d ENH: add support for watcom wmake and wcl386 преди 20 години
CMakeBorlandFindMake.cmake e2d1104881 determine CMAKE_MAKE_PROGRAM in EnableLanguage преди 23 години
CMakeBuildSettings.cmake.in ee72d5740b ENH: Adding CMAKE_EXPORT_BUILD_SETTINGS and CMAKE_IMPORT_BUILD_SETTINGS macro. преди 23 години
CMakeCCompiler.cmake.in 021ceea1b0 ENH: second try for handling the linker language with integer priority values (returning a pointer to a string on the stack is no good idea) преди 18 години
CMakeCCompilerId.c d090159318 преди 18 години
CMakeCInformation.cmake 930bb0cd37 преди 18 години
CMakeCXXCompiler.cmake.in 021ceea1b0 ENH: second try for handling the linker language with integer priority values (returning a pointer to a string on the stack is no good idea) преди 18 години
CMakeCXXCompilerId.cpp d090159318 преди 18 години
CMakeCXXInformation.cmake 930bb0cd37 преди 18 години
CMakeCommonLanguageInclude.cmake 45d85c2e34 BUG: fix for 3550 again преди 19 години
CMakeConfigurableFile.in 01a55559dd ENH: Make modules use configure instead of file write преди 20 години
CMakeDependentOption.cmake de007ef199 ENH: Adding CMAKE_DEPENDENT_OPTION macro. преди 19 години
CMakeDetermineASM-ATTCompiler.cmake 5b18b80b58 преди 18 години
CMakeDetermineASMCompiler.cmake 5b18b80b58 преди 18 години
CMakeDetermineCCompiler.cmake ff9ed18dad преди 18 години
CMakeDetermineCXXCompiler.cmake ff9ed18dad преди 18 години
CMakeDetermineCompilerId.cmake 40e55ab780 преди 18 години
CMakeDetermineFortranCompiler.cmake d9bbc3f45f STYLE: fdcorrect comments about FC/CC преди 18 години
CMakeDetermineJavaCompiler.cmake 0b804cbece преди 18 години
CMakeDetermineRCCompiler.cmake 8ffb32369f BUG: Need to search for rc by default, not c++ compilers. преди 19 години
CMakeDetermineSystem.cmake 512e0d40ef преди 18 години
CMakeExportBuildSettings.cmake d2689c95a1 ENH: some style fixes for the book преди 20 години
CMakeFindBinUtils.cmake 58fcc23a47 преди 18 години
CMakeFindFrameworks.cmake b7fa820118 ENH: add documentation support for modules преди 20 години
CMakeFindWMake.cmake 9891260a6d ENH: add support for watcom wmake and wcl386 преди 20 години
CMakeFindXCode.cmake 8960a220a9 ENH: add trycompile code for xcode преди 21 години
CMakeForceCompiler.cmake 021ceea1b0 ENH: second try for handling the linker language with integer priority values (returning a pointer to a string on the stack is no good idea) преди 18 години
CMakeFortranCompiler.cmake.in 021ceea1b0 ENH: second try for handling the linker language with integer priority values (returning a pointer to a string on the stack is no good idea) преди 18 години
CMakeFortranCompilerId.F90 44ab336a0c ENH: Merging CompilerId updates from branch CMake-Modules-CompilerId to the main tree. Changes between CMake-Modules-CompilerId-mp1 and CMake-Modules-CompilerId-mp2 are included. преди 18 години
CMakeFortranInformation.cmake 44ab336a0c ENH: Merging CompilerId updates from branch CMake-Modules-CompilerId to the main tree. Changes between CMake-Modules-CompilerId-mp1 and CMake-Modules-CompilerId-mp2 are included. преди 18 години
CMakeGenericSystem.cmake 97b57fbaa4 преди 18 години
CMakeImportBuildSettings.cmake 2523629f4b ENH: fix for case difference with nmake преди 19 години
CMakeJavaCompiler.cmake.in 021ceea1b0 ENH: second try for handling the linker language with integer priority values (returning a pointer to a string on the stack is no good idea) преди 18 години
CMakeJavaInformation.cmake 5ecfd3d4d3 ENH: fix java and add OBJECT_DIR support преди 19 години
CMakeLists.txt e118a62709 преди 18 години
CMakeMSYSFindMake.cmake 5042581f43 ENH: better algorithm for looking for make and gcc on msys and mingw преди 20 години
CMakeMinGWFindMake.cmake 5042581f43 ENH: better algorithm for looking for make and gcc on msys and mingw преди 20 години
CMakeNMakeFindMake.cmake e2d1104881 determine CMAKE_MAKE_PROGRAM in EnableLanguage преди 23 години
CMakePlatformId.h 2d051a6709 ENH: Unify design of CMakeCCompilerId.c, CMakeCXXCompilerId.cpp, and CMakePlatformId.h. BUG: Do not violate system-reserved symbol namespace _[A-Z]. преди 18 години
CMakePrintSystemInformation.cmake b7fa820118 ENH: add documentation support for modules преди 20 години
CMakeRCCompiler.cmake.in b8b298104b ENH: make sure flags set in CC or CXX environment variables stay with the compiler преди 20 години
CMakeRCInformation.cmake 718de4cea5 ENH: fix spelling errors преди 20 години
CMakeSystem.cmake.in eed7c8dec1 преди 18 години
CMakeSystemSpecificInformation.cmake 512e0d40ef преди 18 години
CMakeSystemWithToolchainFile.cmake.in 4b92b89664 преди 18 години
CMakeTestASM-ATTCompiler.cmake 5b18b80b58 преди 18 години
CMakeTestASMCompiler.cmake 5b18b80b58 преди 18 години
CMakeTestCCompiler.cmake 61d3444f93 преди 18 години
CMakeTestCXXCompiler.cmake 8e9a6beccc ENH: centralized locaiton of CMakeFiles setting преди 19 години
CMakeTestForFreeVC.cxx 0d4cd0436b ENH better test for free VC tools преди 21 години
CMakeTestFortranCompiler.cmake 8e9a6beccc ENH: centralized locaiton of CMakeFiles setting преди 19 години
CMakeTestGNU.c 6b31e5c851 BUG: fix problem where cmake thinks the intel compiler is gnu преди 21 години
CMakeTestJavaCompiler.cmake b7fa820118 ENH: add documentation support for modules преди 20 години
CMakeTestNMakeCLVersion.c dfcd4f2154 added test for whether pdbtype should be used for nmake преди 22 години
CMakeTestRCCompiler.cmake b7fa820118 ENH: add documentation support for modules преди 20 години
CMakeUnixFindMake.cmake 90e4d70dcc BUG: fix for 4188 look for smake as well as gmake and make преди 19 години
CMakeVCManifest.cmake 276e7e21a3 ENH: Adding flags to force generation of manifest files when building with VC 8. преди 19 години
CMakeVCManifestExe.cmake 5ac4801a04 BUG: use different commands for shared libraries and exe for manifest stuff fix for bug#4039 преди 19 години
CMakeVS6BackwardCompatibility.cmake b7fa820118 ENH: add documentation support for modules преди 20 години
CMakeVS6FindMake.cmake 51f91db648 ENH: add correct flags for msvc generators преди 19 години
CMakeVS71FindMake.cmake 51f91db648 ENH: add correct flags for msvc generators преди 19 години
CMakeVS7BackwardCompatibility.cmake b7fa820118 ENH: add documentation support for modules преди 20 години
CMakeVS7FindMake.cmake 51f91db648 ENH: add correct flags for msvc generators преди 19 години
CMakeVS8FindMake.cmake 51f91db648 ENH: add correct flags for msvc generators преди 19 години
COPYING-CMAKE-SCRIPTS 8b46841b6d ENH: add cmake modules for some common libraries: aspell, hspell, bzip2, преди 19 години
CPack.DS_Store.in f2c0dbd164 ENH: More work on the packaging. Add Applicaitons, add icons, etc преди 19 години
CPack.Description.plist.in 5358809a5c ENH: More CPack stuff and fix zlib compression преди 20 години
CPack.Info.plist.in a460c60843 ENH: Add verbose flag to package maker and add CFBundleIdentifier string преди 19 години
CPack.OSXScriptLauncher.in de5540f7e5 ENH: First pass at CPack generator for OSX X11 applications. This are applications that require X11 to work. This is not really installed but a bundle packager преди 19 години
CPack.OSXX11.Info.plist.in de5540f7e5 ENH: First pass at CPack generator for OSX X11 applications. This are applications that require X11 to work. This is not really installed but a bundle packager преди 19 години
CPack.RuntimeScript.in f015e1ff03 ENH: Change permission for getdisplay.sh to make the runtimescript work преди 19 години
CPack.STGZ_Header.sh.in 3a12116e39 преди 18 години
CPack.VolumeIcon.icns.in f2c0dbd164 ENH: More work on the packaging. Add Applicaitons, add icons, etc преди 19 години
CPack.background.png.in f2c0dbd164 ENH: More work on the packaging. Add Applicaitons, add icons, etc преди 19 години
CPack.cmake 7432ef206e преди 18 години
CPackDeb.cmake 281e08131a преди 18 години
CPackRPM.cmake 7432ef206e преди 18 години
CPackZIP.cmake 919265516e преди 18 години
CTest.cmake 61d3444f93 преди 18 години
CTestTargets.cmake f9dc5b5553 ENH: On Visual Studio and Xcode handle config type преди 19 години
CheckCCompilerFlag.cmake 86c63dca11 ENH: two macros to check whether the C/CXX compiler supports a given flag: преди 19 години
CheckCSourceCompiles.cmake 4668f03484 BUG: Revert "Fix kwstyleSource/CTest/cmCTestBuildHandler.cxx" преди 18 години
CheckCSourceRuns.cmake 7beee2df48 преди 18 години
CheckCXXCompilerFlag.cmake 86c63dca11 ENH: two macros to check whether the C/CXX compiler supports a given flag: преди 19 години
CheckCXXSourceCompiles.cmake d454231a0a STYLE: fix #3519 (incorrect comment) преди 19 години
CheckCXXSourceRuns.cmake 7beee2df48 преди 18 години
CheckForPthreads.c 3a32cec969 ENH: merge in changes for beos support преди 19 години
CheckFunctionExists.c fad91fb770 ENH: fix tests for non-ansi c on hp and remove warnings for ansi c преди 21 години
CheckFunctionExists.cmake 8e9a6beccc ENH: centralized locaiton of CMakeFiles setting преди 19 години
CheckIncludeFile.c.in 095e975c81 BUG: Fix signature of main to work on both strict ANSI and non-ANSI C compilers. преди 19 години
CheckIncludeFile.cmake 8e9a6beccc ENH: centralized locaiton of CMakeFiles setting преди 19 години
CheckIncludeFile.cxx.in f5d95fb078 Complete rework of makefile generators expect trouble преди 23 години
CheckIncludeFileCXX.cmake 8e9a6beccc ENH: centralized locaiton of CMakeFiles setting преди 19 години
CheckIncludeFiles.cmake 8e9a6beccc ENH: centralized locaiton of CMakeFiles setting преди 19 години
CheckLibraryExists.cmake 8e9a6beccc ENH: centralized locaiton of CMakeFiles setting преди 19 години
CheckLibraryExists.lists.in 3697ad6dc7 Initial attempt to check if library exists преди 23 години
CheckSizeOf.cmake ea1467d056 ENH: Renamed Modules/CheckSizeOf to Modules/CheckTypeSize for consistency with the macro name that is defined by the module. преди 23 години
CheckStructHasMember.cmake 3e72dbe4c2 преди 18 години
CheckSymbolExists.cmake 8e9a6beccc ENH: centralized locaiton of CMakeFiles setting преди 19 години
CheckTypeSize.cmake 578841cce5 преди 18 години
CheckTypeSizeC.c.in 6989f80026 преди 18 години
CheckVariableExists.c a8b2400f7b BUG#502: Do not let optimizing compilers think the symbol exists. Require the symbol by making the return value depend on it to force linking. преди 21 години
CheckVariableExists.cmake 8e9a6beccc ENH: centralized locaiton of CMakeFiles setting преди 19 години
Dart.cmake 88bb17bee9 преди 18 години
DartConfiguration.tcl.in 1ca05e219a ENH: Reorganize and add subversion support преди 21 години
Documentation.cmake b7fa820118 ENH: add documentation support for modules преди 20 години
DummyCXXFile.cxx 9a6c95fcea add checks for ansi flags and not hard code them преди 23 години
FLTKCompatibility.cmake 70585819fb ENH: threads used to include this преди 18 години
FeatureSummary.cmake 8d7b502337 преди 18 години
FindASPELL.cmake 13db5b578b преди 18 години
FindAVIFile.cmake d2689c95a1 ENH: some style fixes for the book преди 20 години
FindBZip2.cmake 13db5b578b преди 18 години
FindBoost.cmake 13db5b578b преди 18 години
FindCABLE.cmake d2689c95a1 ENH: some style fixes for the book преди 20 години
FindCURL.cmake 13db5b578b преди 18 години
FindCups.cmake b5f656e0de преди 18 години
FindCurses.cmake 13db5b578b преди 18 години
FindCygwin.cmake b7fa820118 ENH: add documentation support for modules преди 20 години
FindDCMTK.cmake c7770b8edb преди 18 години
FindDart.cmake 7603244509 ENH: use program files env for searching преди 20 години
FindDoxygen.cmake 3b1c74d34a ENH: fix for backwards compatibility преди 19 години
FindEXPAT.cmake 13db5b578b преди 18 години
FindFLTK.cmake d2689c95a1 ENH: some style fixes for the book преди 20 години
FindGCCXML.cmake 7603244509 ENH: use program files env for searching преди 20 години
FindGLU.cmake b7fa820118 ENH: add documentation support for modules преди 20 години
FindGLUT.cmake c7770b8edb преди 18 години
FindGTK.cmake c7770b8edb преди 18 години
FindGettext.cmake 20d75ac237 BUG: fix typo reported by Duncan Mac Vicar преди 18 години
FindGnuplot.cmake 13db5b578b преди 18 години
FindHSPELL.cmake 13db5b578b преди 18 години
FindHTMLHelp.cmake 7603244509 ENH: use program files env for searching преди 20 години
FindITK.cmake d2689c95a1 ENH: some style fixes for the book преди 20 години
FindImageMagick.cmake d2689c95a1 ENH: some style fixes for the book преди 20 години
FindJNI.cmake 2803688998 BUG: fix for bug 4605 преди 18 години
FindJPEG.cmake 13db5b578b преди 18 години
FindJasper.cmake 13db5b578b преди 18 години
FindJava.cmake e607d5f7df ENH: More locations for Java преди 19 години
FindKDE.cmake d253baab99 ENH: add real-world-tested and used KDE3 support, and obsolete FindKDE.cmake, which wasn't used by anybody that I heard of преди 19 години
FindKDE3.cmake 7eb86d1e3c преди 18 години
FindKDE4.cmake 3eced4a222 преди 18 години
FindLATEX.cmake d2689c95a1 ENH: some style fixes for the book преди 20 години
FindLibXml2.cmake 13db5b578b преди 18 години
FindLibXslt.cmake 13db5b578b преди 18 години
FindMFC.cmake 74eaecfc3e ENH: cleanups преди 20 години
FindMPEG.cmake 13db5b578b преди 18 години
FindMPEG2.cmake 13db5b578b преди 18 години
FindMPI.cmake b82b47e329 преди 18 години
FindMatlab.cmake d2689c95a1 ENH: some style fixes for the book преди 20 години
FindMotif.cmake 13db5b578b преди 18 години
FindOpenAL.cmake 13db5b578b преди 18 години
FindOpenGL.cmake 1fe4220669 преди 18 години
FindOpenSSL.cmake 8b46841b6d ENH: add cmake modules for some common libraries: aspell, hspell, bzip2, преди 19 години
FindPHP4.cmake ad8efca061 преди 18 години
FindPNG.cmake 13db5b578b преди 18 години
FindPackageHandleStandardArgs.cmake af1b145b3b преди 18 години
FindPerl.cmake 13db5b578b преди 18 години
FindPerlLibs.cmake 13db5b578b преди 18 години
FindPhysFS.cmake 13db5b578b преди 18 години
FindPike.cmake c7770b8edb преди 18 години
FindPkgConfig.cmake ff6146334c ENH: better backwards compatibility, and deprecate PKGCONFIG преди 19 години
FindPythonInterp.cmake 3c92cfbea0 преди 18 години
FindPythonLibs.cmake f32aa8f296 преди 18 години
FindQt.cmake b442e86492 ENH: change to fatal error преди 20 години
FindQt3.cmake 1a71290836 BUG: Fixed name of variable used to check version of uic executable. преди 18 години
FindQt4.cmake dddc9e3103 преди 18 години
FindRuby.cmake 179aad32f3 BUG: fix 4164, also search for libruby1.8.so, I guess it should be synced преди 19 години
FindSDL.cmake 13db5b578b преди 18 години
FindSDL_image.cmake 74eaecfc3e ENH: cleanups преди 20 години
FindSDL_mixer.cmake 74eaecfc3e ENH: cleanups преди 20 години
FindSDL_net.cmake 74eaecfc3e ENH: cleanups преди 20 години
FindSDL_sound.cmake 8e9a6beccc ENH: centralized locaiton of CMakeFiles setting преди 19 години
FindSDL_ttf.cmake 74eaecfc3e ENH: cleanups преди 20 години
FindSWIG.cmake b7fa820118 ENH: add documentation support for modules преди 20 години
FindSelfPackers.cmake b7fa820118 ENH: add documentation support for modules преди 20 години
FindSubversion.cmake b2240ef6af ENH: Adding FindSubversion module from Tristan Carel. This addresses bug#3987. преди 19 години
FindTCL.cmake 13db5b578b преди 18 години
FindTIFF.cmake 13db5b578b преди 18 години
FindTclsh.cmake 13db5b578b преди 18 години
FindThreads.cmake b82b47e329 преди 18 години
FindUnixCommands.cmake b7fa820118 ENH: add documentation support for modules преди 20 години
FindVTK.cmake 859db10e2a ENH: Add ability to find VTK 5 without user help. преди 19 години
FindWget.cmake 13db5b578b преди 18 години
FindWish.cmake d460481da3 BUG: fix for bug #3846 more advanced stuff преди 19 години
FindX11.cmake 79077f8373 преди 18 години
FindXMLRPC.cmake 3fb55bff36 BUG: fix for bug 4123, find xmlrpc in standard locations преди 19 години
FindZLIB.cmake 13db5b578b преди 18 години
FindwxWidgets.cmake 2fd1b374c1 ENH: Patch from Jan for bug#3453. Cleans up find script and enables -isystem feature for use script. преди 19 години
FindwxWindows.cmake 3c9744f406 ENH: Applying patch from bug#3443 to implement FindwxWidgets.cmake properly. It also updates the UseWX test and WXDialog sources to use the new find script. преди 19 години
ITKCompatibility.cmake 540d16384b ENH: added to handle case in ITK 2.8 and earlier преди 19 години
InstallRequiredSystemLibraries.cmake ba66b8d50b BUG: fix for bug 4420 add language dll's to mfc install преди 19 години
KDE3Macros.cmake 7eb86d1e3c преди 18 години
MacOSXBundleInfo.plist.in 1dbcfd2a98 ENH: Improve Mac OSX bundle support преди 21 години
MacOSXFrameworkInfo.plist.in 9323a27989 ENH: initial support for creation of frameworks on Mac преди 18 години
MacroAddFileDependencies.cmake 63c241ea1e ENH: Updates from KDE преди 19 години
NSIS.InstallOptions.ini.in 5b3a2c84fc ENH: use radio buttons to choose PATH options преди 19 години
NSIS.template.in bf74cd9d83 BUG: Compression must be set before any output is created. преди 19 години
SystemInformation.cmake 971f9e4869 ENH: limit the output of system information to no more than 50K per file преди 18 години
SystemInformation.in fa9f03779f ENH: improvements преди 18 години
TestBigEndian.cmake 263bb4e172 преди 18 години
TestCXXAcceptsFlag.cmake 8e9a6beccc ENH: centralized locaiton of CMakeFiles setting преди 19 години
TestEndianess.c.in 578841cce5 преди 18 години
TestForANSIForScope.cmake 8e9a6beccc ENH: centralized locaiton of CMakeFiles setting преди 19 години
TestForANSIStreamHeaders.cmake 74eaecfc3e ENH: cleanups преди 20 години
TestForANSIStreamHeaders.cxx 32b398e55b new try compile module преди 23 години
TestForAnsiForScope.cxx a696dbc815 ERR: Removed warning for unused variable. преди 22 години
TestForSSTREAM.cmake 8e9a6beccc ENH: centralized locaiton of CMakeFiles setting преди 19 години
TestForSSTREAM.cxx 9891260a6d ENH: add support for watcom wmake and wcl386 преди 20 години
TestForSTDNamespace.cmake 8e9a6beccc ENH: centralized locaiton of CMakeFiles setting преди 19 години
TestForSTDNamespace.cxx f5d95fb078 Complete rework of makefile generators expect trouble преди 23 години
UseEcos.cmake 5586c6f41b ENH: now also the "ecosclean" target works with MS nmake преди 19 години
UsePkgConfig.cmake 100723fbb0 BUG: untested fix for newlines in the output of pkg config преди 18 години
UseQt4.cmake 4167622667 ENH: add QT_USE_QTDBUS as it exists for all other modules too преди 19 години
UseSWIG.cmake 8b7ff9b08b ENH: patch applied for bug 4517 преди 18 години
UseVTK40.cmake b7fa820118 ENH: add documentation support for modules преди 20 години
UseVTKBuildSettings40.cmake b7fa820118 ENH: add documentation support for modules преди 20 години
UseVTKConfig40.cmake b7fa820118 ENH: add documentation support for modules преди 20 години
Use_wxWindows.cmake 3c9744f406 ENH: Applying patch from bug#3443 to implement FindwxWidgets.cmake properly. It also updates the UseWX test and WXDialog sources to use the new find script. преди 19 години
UsewxWidgets.cmake 2fd1b374c1 ENH: Patch from Jan for bug#3453. Cleans up find script and enables -isystem feature for use script. преди 19 години
VTKCompatibility.cmake e1a142f033 ENH: fix for back VTK error message преди 19 години
ecos_clean.cmake 5586c6f41b ENH: now also the "ecosclean" target works with MS nmake преди 19 години
kde3init_dummy.cpp.in d253baab99 ENH: add real-world-tested and used KDE3 support, and obsolete FindKDE.cmake, which wasn't used by anybody that I heard of преди 19 години
kde3uic.cmake 0afe72e908 BUG: fix #3324: KDE3Macros.cmake didn't find Qt designer plugins when преди 19 години
readme.txt c7770b8edb преди 18 години

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_DIRS The final set of include directories listed in one variable for use by client code. This should not be a cache entry.
XXX_LIBRARIES The libraries to link against to use XXX. These should include full paths. This should not be a cache entry.
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_LIBRARY_DIRS Optionally, the final set of library directories listed in one variable for use by client code. This should not be a cache entry.
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.
XXX_RUNTIME_LIBRARY_DIRS Optionally, the runtime library search path for use when running an executable linked to shared libraries.
The list should be used by user code to create the PATH on windows or LD_LIBRARY_PATH on unix.
This should not be a cache entry.

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_DIRS 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.
XXX_INCLUDE_DIR Where to find xxx.h, etc. (XXX_INCLUDE_PATH was considered bad because a path includes an actual filename.)
XXX_YY_INCLUDE_DIR Where to find xxx_yy.h, etc.

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.

To correctly document a module, create a comment block at the top with # comments. There are three types of comments that can be in the block:

1. The brief description of the module, this is done by:
# - a small description

2. A paragraph of text. This is done with all text that has a single
space between the # and the text. To create a new paragraph, just
put a # with no text on the line.

3. A verbatim line. This is done with two spaces between the # and the text.

For example:

# - This is a cool module
# This module does really cool stuff.
# It can do even more than you think.
#
# It even needs to paragraphs to tell you about it.
# And it defines the following variables:
# VAR_COOL - this is great isn't it?
# VAR_REALLY_COOL - cool right?
#

To have a .cmake file in this directory NOT show up in the
modules documentation, you should start the file with a blank
line.

A FindXXX.cmake module will typically be loaded by the command

FIND_PACKAGE(XXX [QUIET] [REQUIRED [components...]])

If the QUIET option is given to the command it will set the variable
XXX_FIND_QUIETLY to true before loading the FindXXX.cmake module. If
this variable is set the module should not complain about not being
able to find the package. If the
REQUIRED option is given to the command it will set the variable
XXX_FIND_REQUIRED to true before loading the FindXXX.cmake module. If
this variable is set the module should issue a FATAL_ERROR if the
package cannot be found. For each package-specific component, say
YYY, listed after the REQUIRED option a variable XXX_FIND_REQUIRED_YYY
to true. The set of components listed will also be specified in a
XXX_FIND_COMPONENTS variable. This can be used by the FindXXX.cmake
module to determine which sub-components of the package must be found.
If neither the QUIET nor REQUIRED options are given then the
FindXXX.cmake module should look for the package and complain without
error if the module is not found.

To get this behaviour you can use the FIND_PACKAGE_HANDLE_STANDARD_ARGS()
macro, as an example see FindJPEG.cmake.