CMake/Modules
Brad King 813b519280 Merge topic 'minor-fixes'
ba48e63 Generate config-specific interface link libraries propeties.
deb51a7 Remove unused forward declarations.
9712362 Don't allow utility or global targets in the LINKED expression.
faa927e Make sure INTERFACE properties work with OBJECT libraries.
510fdcb Whitelist target types in target_{include_directories,compile_definitions}
4de7178 Ensure that the build interface includes have been added.
df74bc3 Only append build interface include dirs to particular targets.
d4e5c67 Don't keep track of content determined by target property values.
1fb545a Move a special case for PIC from the genex to the cmTarget code.
57175d5 Only use early evaluation termination for transitive properties.
4cf161a Fix determination of evaluating link libraries.
3a298c0 Fix generation of COMPILE_DEFINITIONS in DependInfo.cmake.
655e98b Ensure type specific compatible interface properties do not intersect.
46e2896 The COMPATIBLE_INTERFACE does not affect the target it is set on.
5f926a5 Test printing origin of include dirs from tll().
7c0ec75 De-duplicate validation of genex target names.
...
2013-02-11 13:59:48 -05:00
..
CMakeAddFortranSubdirectory CMakeAddFortranSubdirectory: Allow full paths to directories 2012-02-09 08:34:06 -05:00
Compiler Add support for Texas Instruments DSP compiler (#12405) 2012-11-04 15:46:57 +01:00
CompilerId Xcode: Implement generator toolset selection (#9831, #13802) 2013-02-07 11:07:48 -05:00
FindCUDA Merge topic 'topics/FindCUDA/Add-CUDA_HOST_COMPILER' 2012-09-18 16:41:20 -04:00
FortranCInterface Remove CMake-language block-end command arguments 2012-08-13 14:19:16 -04:00
IntelVSImplicitPath Simplify IntelVSImplicitPath detection project 2011-09-14 14:06:02 -04:00
Platform MSVC: Fix CMAKE_CL_64 in CXX-only projects (#13896) 2013-02-07 15:04:06 -05:00
AddFileDependencies.cmake Remove CMake-language block-end command arguments 2012-08-13 14:19:16 -04:00
AutomocInfo.cmake.in Automoc: do not use DEFINITIONS, but only COMPILE_DEFINITIONS 2012-09-05 22:13:30 +02:00
BasicConfigVersion-AnyNewerVersion.cmake.in BasicConfigVersion: Make docs refer to the macro, not the module name 2012-10-23 11:08:34 -04:00
BasicConfigVersion-ExactVersion.cmake.in write_basic_package_version_file() now works with unset CMAKE_SIZEOF_VOID_P 2012-05-23 20:46:48 +02:00
BasicConfigVersion-SameMajorVersion.cmake.in BasicConfigVersion: Make docs refer to the macro, not the module name 2012-10-23 11:08:34 -04:00
BundleUtilities.cmake BundleUtilities: Use a more inclusive REGEX for frameworks (#13600) 2012-10-23 18:10:28 -04:00
CMake.cmake
CMakeASM-ATTInformation.cmake Convert CMake-language commands to lower case 2012-08-13 14:19:16 -04:00
CMakeASMCompiler.cmake.in Convert CMake-language commands to lower case 2012-08-13 14:19:16 -04:00
CMakeASMInformation.cmake Remove CMake-language block-end command arguments 2012-08-13 14:19:16 -04:00
CMakeASM_MASMInformation.cmake Convert CMake-language commands to lower case 2012-08-13 14:19:16 -04:00
CMakeASM_NASMInformation.cmake Convert CMake-language commands to lower case 2012-08-13 14:19:16 -04:00
CMakeAddFortranSubdirectory.cmake Allow two cmake_add_fortran_subdirectory calls in the same project. 2012-02-15 22:42:31 -05:00
CMakeAddNewLanguage.txt Document external language support policy 2012-10-30 14:02:46 -04:00
CMakeBackwardCompatibilityC.cmake Remove CMake-language block-end command arguments 2012-08-13 14:19:16 -04:00
CMakeBackwardCompatibilityCXX.cmake Remove CMake-language block-end command arguments 2012-08-13 14:19:16 -04:00
CMakeBorlandFindMake.cmake Convert CMake-language commands to lower case 2012-08-13 14:19:16 -04:00
CMakeBuildSettings.cmake.in
CMakeCCompiler.cmake.in OS X: Detect implicit linker framework search paths 2012-12-11 15:15:52 -05:00
CMakeCCompilerABI.c
CMakeCCompilerId.c.in VS: Add the entry point when compiling for WindowsCE 2012-11-30 15:15:06 +01:00
CMakeCInformation.cmake Remove CMake-language block-end command arguments 2012-08-13 14:19:16 -04:00
CMakeCXXCompiler.cmake.in OS X: Detect implicit linker framework search paths 2012-12-11 15:15:52 -05:00
CMakeCXXCompilerABI.cpp
CMakeCXXCompilerId.cpp.in VS: Add the entry point when compiling for WindowsCE 2012-11-30 15:15:06 +01:00
CMakeCXXInformation.cmake Remove CMake-language block-end command arguments 2012-08-13 14:19:16 -04:00
CMakeClDeps.cmake Ninja: also detect /showInclude prefix for icl 2012-08-27 14:49:51 +02:00
CMakeCommonLanguageInclude.cmake Remove CMake-language block-end command arguments 2012-08-13 14:19:16 -04:00
CMakeCompilerABI.h
CMakeConfigurableFile.in
CMakeDependentOption.cmake Remove CMake-language block-end command arguments 2012-08-13 14:19:16 -04:00
CMakeDetermineASM-ATTCompiler.cmake Convert CMake-language commands to lower case 2012-08-13 14:19:16 -04:00
CMakeDetermineASMCompiler.cmake Make platform information files specific to the CMake version 2012-08-24 10:52:23 -04:00
CMakeDetermineASM_MASMCompiler.cmake Remove CMake-language block-end command arguments 2012-08-13 14:19:16 -04:00
CMakeDetermineASM_NASMCompiler.cmake Remove CMake-language block-end command arguments 2012-08-13 14:19:16 -04:00
CMakeDetermineCCompiler.cmake Merge topic 'cmake-platform-info-version' 2012-08-30 11:06:15 -04:00
CMakeDetermineCXXCompiler.cmake Merge topic 'cmake-platform-info-version' 2012-08-30 11:06:15 -04:00
CMakeDetermineCompiler.cmake Prefer generic system compilers by default for C, C++, and Fortran 2012-08-02 13:26:01 -04:00
CMakeDetermineCompilerABI.cmake OS X: Detect implicit linker framework search paths 2012-12-11 15:15:52 -05:00
CMakeDetermineCompilerId.cmake Xcode: Implement generator toolset selection (#9831, #13802) 2013-02-07 11:07:48 -05:00
CMakeDetermineFortranCompiler.cmake CMakeDetermineFortranCompiler: add support for cross-compiling (#13379) 2012-09-11 11:20:51 -04:00
CMakeDetermineJavaCompiler.cmake OpenBSD: Add paths for Java 1.6.0/1.7.0 JRE/JDK 2012-12-04 08:35:23 -05:00
CMakeDetermineRCCompiler.cmake Make platform information files specific to the CMake version 2012-08-24 10:52:23 -04:00
CMakeDetermineSystem.cmake VS: Make DetermineCompilerId working with WinCE too 2012-11-27 08:31:19 -05:00
CMakeDetermineVSServicePack.cmake CMakeDetermineVSServicePack: Visual Studio 2012 added 2012-09-21 23:11:18 -04:00
CMakeExpandImportedTargets.cmake Find* (and some other): use ${CMAKE_CURRENT_LIST_DIR} in include() 2012-11-04 05:55:37 +01:00
CMakeExportBuildSettings.cmake Remove CMake-language block-end command arguments 2012-08-13 14:19:16 -04:00
CMakeExtraGeneratorDetermineCompilerMacrosAndIncludeDirs.cmake Eclipse on OSX: fix handling of framework include dirs (#13464) 2012-08-16 23:02:10 +02:00
CMakeFindBinUtils.cmake Remove CMake multiline block-end command arguments 2012-08-15 16:50:29 -04:00
CMakeFindCodeBlocks.cmake Remove CMake-language block-end command arguments 2012-08-13 14:19:16 -04:00
CMakeFindEclipseCDT4.cmake Eclipse: add switch to disable linked resources (#13189) 2012-10-17 23:45:02 +02:00
CMakeFindFrameworks.cmake Remove CMake-language block-end command arguments 2012-08-13 14:19:16 -04:00
CMakeFindKDevelop3.cmake Remove CMake-language block-end command arguments 2012-08-13 14:19:16 -04:00
CMakeFindPackageMode.cmake OS X: Always generate -isysroot if any SDK is in use 2012-09-21 08:53:42 -04:00
CMakeFindWMake.cmake Convert CMake-language commands to lower case 2012-08-13 14:19:16 -04:00
CMakeFindXCode.cmake Convert CMake-language commands to lower case 2012-08-13 14:19:16 -04:00
CMakeForceCompiler.cmake Move CMAKE_<LANG>_COMPILER_WORKS to compiler information files 2012-08-24 10:52:23 -04:00
CMakeFortranCompiler.cmake.in OS X: Detect implicit linker framework search paths 2012-12-11 15:15:52 -05:00
CMakeFortranCompilerABI.F Fortran: Detect pointer size in gfortran on MinGW 2011-12-05 16:32:29 -05:00
CMakeFortranCompilerId.F.in check for Haiku only with __HAIKU__ 2013-01-07 21:52:45 +01:00
CMakeFortranInformation.cmake Remove CMake-language block-end command arguments 2012-08-13 14:19:16 -04:00
CMakeGenericSystem.cmake Remove CMake-language block-end command arguments 2012-08-13 14:19:16 -04:00
CMakeImportBuildSettings.cmake Remove CMake-language block-end command arguments 2012-08-13 14:19:16 -04:00
CMakeJOMFindMake.cmake Convert CMake-language commands to lower case 2012-08-13 14:19:16 -04:00
CMakeJavaCompiler.cmake.in Convert CMake-language commands to lower case 2012-08-13 14:19:16 -04:00
CMakeJavaInformation.cmake Remove CMake-language block-end command arguments 2012-08-13 14:19:16 -04:00
CMakeMSYSFindMake.cmake Convert CMake-language commands to lower case 2012-08-13 14:19:16 -04:00
CMakeMinGWFindMake.cmake Remove CMake-language block-end command arguments 2012-08-13 14:19:16 -04:00
CMakeNMakeFindMake.cmake Convert CMake-language commands to lower case 2012-08-13 14:19:16 -04:00
CMakeNinjaFindMake.cmake Convert CMake-language commands to lower case 2012-08-13 14:19:16 -04:00
CMakePackageConfigHelpers.cmake configure_package_config_file(): extend documentation 2013-01-24 21:27:32 +01:00
CMakeParseArguments.cmake Remove CMake-language block-end command arguments 2012-08-13 14:19:16 -04:00
CMakeParseImplicitLinkInfo.cmake Merge topic 'implicit-lib-canonical-path' 2013-02-08 13:38:10 -05:00
CMakePlatformId.h.in check for Haiku only with __HAIKU__ 2013-01-07 21:52:45 +01:00
CMakePrintSystemInformation.cmake Convert CMake-language commands to lower case 2012-08-13 14:19:16 -04:00
CMakePushCheckState.cmake Remove CMake-language block-end command arguments 2012-08-13 14:19:16 -04:00
CMakeRCCompiler.cmake.in Convert CMake-language commands to lower case 2012-08-13 14:19:16 -04:00
CMakeRCInformation.cmake Remove CMake-language block-end command arguments 2012-08-13 14:19:16 -04:00
CMakeSystem.cmake.in Convert CMake-language commands to lower case 2012-08-13 14:19:16 -04:00
CMakeSystemSpecificInformation.cmake Remove CMake-language block-end command arguments 2012-08-13 14:19:16 -04:00
CMakeTestASM-ATTCompiler.cmake Convert CMake-language commands to lower case 2012-08-13 14:19:16 -04:00
CMakeTestASMCompiler.cmake Convert CMake-language commands to lower case 2012-08-13 14:19:16 -04:00
CMakeTestASM_MASMCompiler.cmake Convert CMake-language commands to lower case 2012-08-13 14:19:16 -04:00
CMakeTestASM_NASMCompiler.cmake Convert CMake-language commands to lower case 2012-08-13 14:19:16 -04:00
CMakeTestCCompiler.cmake Merge branch 'cmake-platform-info-version' into msvc-compiler-info 2012-08-30 09:45:17 -04:00
CMakeTestCXXCompiler.cmake Merge branch 'cmake-platform-info-version' into msvc-compiler-info 2012-08-30 09:45:17 -04:00
CMakeTestCompilerCommon.cmake Convert CMake-language commands to lower case 2012-08-13 14:19:16 -04:00
CMakeTestFortranCompiler.cmake Move CMAKE_<LANG>_COMPILER_WORKS to compiler information files 2012-08-24 10:52:23 -04:00
CMakeTestGNU.c
CMakeTestJavaCompiler.cmake Convert CMake-language commands to lower case 2012-08-13 14:19:16 -04:00
CMakeTestRCCompiler.cmake Convert CMake-language commands to lower case 2012-08-13 14:19:16 -04:00
CMakeTestWatcomVersion.c Add Watcom support to InstallRequiredSystemLibraries (#11866) 2011-07-29 13:28:54 -04:00
CMakeUnixFindMake.cmake Convert CMake-language commands to lower case 2012-08-13 14:19:16 -04:00
CMakeVS6BackwardCompatibility.cmake Convert CMake-language commands to lower case 2012-08-13 14:19:16 -04:00
CMakeVS6FindMake.cmake Convert CMake-language commands to lower case 2012-08-13 14:19:16 -04:00
CMakeVS7BackwardCompatibility.cmake Convert CMake-language commands to lower case 2012-08-13 14:19:16 -04:00
CMakeVS7FindMake.cmake Convert CMake-language commands to lower case 2012-08-13 14:19:16 -04:00
CMakeVS8FindMake.cmake Remove CMake-language block-end command arguments 2012-08-13 14:19:16 -04:00
CMakeVS9FindMake.cmake Remove CMake-language block-end command arguments 2012-08-13 14:19:16 -04:00
CMakeVS10FindMake.cmake Convert CMake-language commands to lower case 2012-08-13 14:19:16 -04:00
CMakeVS11FindMake.cmake VS11: Add VS 2012 Express support (#13348) 2012-09-18 14:03:02 -04:00
CMakeVS71FindMake.cmake Convert CMake-language commands to lower case 2012-08-13 14:19:16 -04:00
CMakeVerifyManifest.cmake Remove CMake-language block-end command arguments 2012-08-13 14:19:16 -04:00
CPack.DS_Store.in
CPack.Description.plist.in
CPack.Info.plist.in
CPack.OSXScriptLauncher.in
CPack.OSXScriptLauncher.rsrc.in
CPack.OSXX11.Info.plist.in
CPack.OSXX11.main.scpt.in
CPack.RuntimeScript.in
CPack.STGZ_Header.sh.in
CPack.VolumeIcon.icns.in
CPack.background.png.in
CPack.cmake CPack: Add a WiX Generator (#11575) 2012-12-03 11:00:31 -05:00
CPack.distribution.dist.in
CPackBundle.cmake Fix layout of the CPack Bundle documentation 2012-02-25 19:05:08 +01:00
CPackComponent.cmake Remove CMake-language block-end command arguments 2012-08-13 14:19:16 -04:00
CPackCygwin.cmake Provide template for CPack Cygwin generator specific variables. 2012-02-25 23:26:41 +01:00
CPackDMG.cmake Fix CPack Drag and Drop generator documentation layout. 2012-02-25 19:18:52 +01:00
CPackDeb.cmake CPack: Fix RPM/Deb package names to not include "ALL_COMPONENTS_IN_ONE" 2012-11-06 11:50:07 -05:00
CPackNSIS.cmake Merge topic 'fix-9946-uninstall-before-install' 2012-04-25 14:06:29 -04:00
CPackPackageMaker.cmake Typo: Add missing ##end for ##module 2012-02-25 23:28:31 +01:00
CPackRPM.cmake CPack: Fix RPM/Deb package names to not include "ALL_COMPONENTS_IN_ONE" 2012-11-06 11:50:07 -05:00
CPackWIX.cmake CPack: WIX Product Icon, UI Banner, UI Dialog support (#13789) 2012-12-28 15:32:15 -05:00
CPackZIP.cmake Remove CMake-language block-end command arguments 2012-08-13 14:19:16 -04:00
CTest.cmake CTest: Ensure CTEST_USE_LAUNCHERS behaves nicely in Superbuild setup 2012-10-16 15:27:59 -04:00
CTestScriptMode.cmake Remove trailing whitespace from most CMake and C/C++ code 2012-08-13 14:18:39 -04:00
CTestTargets.cmake Remove CMake-language block-end command arguments 2012-08-13 14:19:16 -04:00
CTestUseLaunchers.cmake enable CTEST_USE_LAUNCHERS with Ninja too 2012-11-30 03:46:55 +01:00
CheckCCompilerFlag.cmake Remove CMake-language block-end command arguments 2012-08-13 14:19:16 -04:00
CheckCSourceCompiles.cmake Remove CMake-language block-end command arguments 2012-08-13 14:19:16 -04:00
CheckCSourceRuns.cmake Remove CMake-language block-end command arguments 2012-08-13 14:19:16 -04:00
CheckCXXCompilerFlag.cmake Remove CMake-language block-end command arguments 2012-08-13 14:19:16 -04:00
CheckCXXSourceCompiles.cmake Remove CMake-language block-end command arguments 2012-08-13 14:19:16 -04:00
CheckCXXSourceRuns.cmake Remove CMake-language block-end command arguments 2012-08-13 14:19:16 -04:00
CheckCXXSymbolExists.cmake Remove CMake-language block-end command arguments 2012-08-13 14:19:16 -04:00
CheckForPthreads.c Haiku no longer defines __BEOS__ 2013-01-07 21:20:11 +01:00
CheckFortranFunctionExists.cmake Remove CMake-language block-end command arguments 2012-08-13 14:19:16 -04:00
CheckFunctionExists.c
CheckFunctionExists.cmake Remove CMake-language block-end command arguments 2012-08-13 14:19:16 -04:00
CheckIncludeFile.c.in
CheckIncludeFile.cmake Remove CMake-language block-end command arguments 2012-08-13 14:19:16 -04:00
CheckIncludeFile.cxx.in
CheckIncludeFileCXX.cmake Remove CMake-language block-end command arguments 2012-08-13 14:19:16 -04:00
CheckIncludeFiles.cmake Remove period at the end of the check message. 2012-09-29 18:44:41 +02:00
CheckLanguage.cmake Add CheckLanguage module 2012-02-08 10:48:34 -05:00
CheckLibraryExists.cmake Remove CMake-language block-end command arguments 2012-08-13 14:19:16 -04:00
CheckLibraryExists.lists.in
CheckPrototypeDefinition.c.in Modules: Added CheckPrototypeDefinition module. 2011-03-18 14:03:35 -04:00
CheckPrototypeDefinition.cmake Remove CMake-language block-end command arguments 2012-08-13 14:19:16 -04:00
CheckSizeOf.cmake Convert CMake-language commands to lower case 2012-08-13 14:19:16 -04:00
CheckStructHasMember.cmake Remove CMake-language block-end command arguments 2012-08-13 14:19:16 -04:00
CheckSymbolExists.cmake Remove period at the end of the check message. 2012-09-29 18:44:41 +02:00
CheckTypeSize.c.in
CheckTypeSize.cmake CheckTypeSize: show in documentation how to get struct member size (#10579) 2012-08-14 21:14:33 +02:00
CheckTypeSizeMap.cmake.in
CheckVariableExists.c
CheckVariableExists.cmake Remove CMake-language block-end command arguments 2012-08-13 14:19:16 -04:00
Dart.cmake Remove CMake-language block-end command arguments 2012-08-13 14:19:16 -04:00
DartConfiguration.tcl.in ctest_update: Tell svn not to prompt interactively (#13024) 2012-09-25 13:36:47 -04:00
DeployQt4.cmake Find* (and some other): use ${CMAKE_CURRENT_LIST_DIR} in include() 2012-11-04 05:55:37 +01:00
Documentation.cmake Remove CMake-language block-end command arguments 2012-08-13 14:19:16 -04:00
DummyCXXFile.cxx
ExternalData.cmake ExternalData: Attach download rules to content links in IDEs 2013-02-04 15:20:03 -05:00
ExternalData_config.cmake.in Add ExternalData module 2013-01-24 13:32:17 -05:00
ExternalProject.cmake Merge branch 'master' into generator-toolset 2013-02-07 11:09:01 -05:00
FLTKCompatibility.cmake Convert CMake-language commands to lower case 2012-08-13 14:19:16 -04:00
FeatureSummary.cmake Find* (and some other): use ${CMAKE_CURRENT_LIST_DIR} in include() 2012-11-04 05:55:37 +01:00
FindALSA.cmake Remove trailing whitespace from most CMake and C/C++ code 2012-08-13 14:18:39 -04:00
FindASPELL.cmake Convert CMake-language commands to lower case 2012-08-13 14:19:16 -04:00
FindAVIFile.cmake Remove CMake-language block-end command arguments 2012-08-13 14:19:16 -04:00
FindArmadillo.cmake include FPHSA from current directory in all modules 2012-09-09 00:39:47 +02:00
FindBISON.cmake FindBISON: Add support for the Win flex-bison distribution 2012-11-26 16:29:38 -05:00
FindBLAS.cmake Find* (and some other): use ${CMAKE_CURRENT_LIST_DIR} in include() 2012-11-04 05:55:37 +01:00
FindBZip2.cmake Find* (and some other): use ${CMAKE_CURRENT_LIST_DIR} in include() 2012-11-04 05:55:37 +01:00
FindBoost.cmake FindBoost: Rewrite documentation 2012-09-27 11:08:21 -04:00
FindBullet.cmake FindBullet: Search in per-config dirs on Windows (#13738) 2012-11-26 09:08:14 -05:00
FindCABLE.cmake Remove CMake-language block-end command arguments 2012-08-13 14:19:16 -04:00
FindCUDA.cmake Merge topic 'topics/FindCUDA/Add-CUDA_HOST_COMPILER' 2012-09-18 16:41:20 -04:00
FindCURL.cmake FindCURL: Find older MSVC prebuilts 2012-10-01 13:21:46 -04:00
FindCVS.cmake Remove CMake-language block-end command arguments 2012-08-13 14:19:16 -04:00
FindCoin3D.cmake Remove CMake-language block-end command arguments 2012-08-13 14:19:16 -04:00
FindCups.cmake Find* (and some other): use ${CMAKE_CURRENT_LIST_DIR} in include() 2012-11-04 05:55:37 +01:00
FindCurses.cmake Find* (and some other): use ${CMAKE_CURRENT_LIST_DIR} in include() 2012-11-04 05:55:37 +01:00
FindCxxTest.cmake Remove CMake-language block-end command arguments 2012-08-13 14:19:16 -04:00
FindCygwin.cmake Remove CMake-language block-end command arguments 2012-08-13 14:19:16 -04:00
FindDCMTK.cmake Add more find_path locations for DCMTK header files (#12323) 2011-08-09 15:15:53 -04:00
FindDart.cmake use PATH_SUFFIXES to simplify find_* calls 2012-08-14 21:03:23 +02:00
FindDevIL.cmake Convert CMake-language commands to lower case 2012-08-13 14:19:16 -04:00
FindDoxygen.cmake Remove CMake-language block-end command arguments 2012-08-13 14:19:16 -04:00
FindEXPAT.cmake Remove CMake-language block-end command arguments 2012-08-13 14:19:16 -04:00
FindFLEX.cmake FindFLEX: Add support for the Win flex-bison distribution 2012-11-26 16:30:05 -05:00
FindFLTK.cmake Find* (and some other): use ${CMAKE_CURRENT_LIST_DIR} in include() 2012-11-04 05:55:37 +01:00
FindFLTK2.cmake use the find_* functions ENV parameter 2012-08-14 21:02:58 +02:00
FindFreetype.cmake OpenBSD: Add path for Freetype under X.org 2012-12-04 08:35:47 -05:00
FindGCCXML.cmake Convert CMake-language commands to lower case 2012-08-13 14:19:16 -04:00
FindGDAL.cmake use PATH_SUFFIXES to simplify find_* calls 2012-08-14 21:03:23 +02:00
FindGIF.cmake Find* (and some other): use ${CMAKE_CURRENT_LIST_DIR} in include() 2012-11-04 05:55:37 +01:00
FindGLEW.cmake Initial version of find module 2012-09-01 10:19:12 +02:00
FindGLU.cmake Find* (and some other): use ${CMAKE_CURRENT_LIST_DIR} in include() 2012-11-04 05:55:37 +01:00
FindGLUT.cmake FindGLUT: BeOS does not have libXi and libXmu 2013-01-07 23:57:07 +01:00
FindGTK.cmake Remove CMake multiline block-end command arguments 2012-08-15 16:50:29 -04:00
FindGTK2.cmake FindGTK2: Fix GTK2_LIBRARIES order for static gtk libraries 2013-01-28 08:48:36 -05:00
FindGTest.cmake use the find_* functions ENV parameter 2012-08-14 21:02:58 +02:00
FindGettext.cmake FindGettext: fix overwriting result with empty variable (#13691) 2012-11-26 08:57:13 -05:00
FindGit.cmake Remove CMake-language block-end command arguments 2012-08-13 14:19:16 -04:00
FindGnuTLS.cmake Remove CMake-language block-end command arguments 2012-08-13 14:19:16 -04:00
FindGnuplot.cmake Find* (and some other): use ${CMAKE_CURRENT_LIST_DIR} in include() 2012-11-04 05:55:37 +01:00
FindHDF5.cmake Find* (and some other): use ${CMAKE_CURRENT_LIST_DIR} in include() 2012-11-04 05:55:37 +01:00
FindHSPELL.cmake read less from version headers into variables 2012-08-19 13:54:56 +02:00
FindHTMLHelp.cmake Remove CMake-language block-end command arguments 2012-08-13 14:19:16 -04:00
FindHg.cmake Add FindHg module to find Mercurial 2012-08-14 10:41:17 -04:00
FindITK.cmake Convert CMake-language commands to lower case 2012-08-13 14:19:16 -04:00
FindIcotool.cmake Add module FindIcotool 2012-10-16 16:06:32 +04:00
FindImageMagick.cmake Remove CMake-language block-end command arguments 2012-08-13 14:19:16 -04:00
FindJNI.cmake OpenBSD: Add paths for Java 1.6.0/1.7.0 JRE/JDK 2012-12-04 08:35:23 -05:00
FindJPEG.cmake Remove CMake-language block-end command arguments 2012-08-13 14:19:16 -04:00
FindJasper.cmake Remove CMake-language block-end command arguments 2012-08-13 14:19:16 -04:00
FindJava.cmake OpenBSD: Add paths for Java 1.6.0/1.7.0 JRE/JDK 2012-12-04 08:35:23 -05:00
FindKDE3.cmake Find* (and some other): use ${CMAKE_CURRENT_LIST_DIR} in include() 2012-11-04 05:55:37 +01:00
FindKDE4.cmake Remove CMake-language block-end command arguments 2012-08-13 14:19:16 -04:00
FindLAPACK.cmake Find* (and some other): use ${CMAKE_CURRENT_LIST_DIR} in include() 2012-11-04 05:55:37 +01:00
FindLATEX.cmake Remove CMake-language block-end command arguments 2012-08-13 14:19:16 -04:00
FindLibArchive.cmake FindLibArchive: support version selection 2012-02-01 21:49:04 +01:00
FindLibLZMA.cmake include FPHSA from current directory in all modules 2012-09-09 00:39:47 +02:00
FindLibXml2.cmake Convert CMake-language commands to lower case 2012-08-13 14:19:16 -04:00
FindLibXslt.cmake Convert CMake-language commands to lower case 2012-08-13 14:19:16 -04:00
FindLua50.cmake use PATH_SUFFIXES to simplify find_* calls 2012-08-14 21:03:23 +02:00
FindLua51.cmake FindLua51: do not try to link libm on BeOS 2013-01-07 23:26:18 +01:00
FindMFC.cmake Remove CMake-language block-end command arguments 2012-08-13 14:19:16 -04:00
FindMPEG.cmake Remove CMake-language block-end command arguments 2012-08-13 14:19:16 -04:00
FindMPEG2.cmake Find* (and some other): use ${CMAKE_CURRENT_LIST_DIR} in include() 2012-11-04 05:55:37 +01:00
FindMPI.cmake Find* (and some other): use ${CMAKE_CURRENT_LIST_DIR} in include() 2012-11-04 05:55:37 +01:00
FindMatlab.cmake Remove CMake-language block-end command arguments 2012-08-13 14:19:16 -04:00
FindMotif.cmake Remove CMake-language block-end command arguments 2012-08-13 14:19:16 -04:00
FindOpenAL.cmake use the find_* functions ENV parameter 2012-08-14 21:02:58 +02:00
FindOpenGL.cmake FindOpenGL: add Haiku paths 2013-01-08 00:39:53 +01:00
FindOpenMP.cmake Find* (and some other): use ${CMAKE_CURRENT_LIST_DIR} in include() 2012-11-04 05:55:37 +01:00
FindOpenSSL.cmake FindOpenSSL: also find the non-MD debug libraries for MSVC 2012-11-05 08:17:02 -05:00
FindOpenSceneGraph.cmake Find* (and some other): use ${CMAKE_CURRENT_LIST_DIR} in include() 2012-11-04 05:55:37 +01:00
FindOpenThreads.cmake Merge topic 'lib64-cleanup' into FindOpenSceneGraph_13094 2012-08-18 17:03:18 -04:00
FindPHP4.cmake Remove CMake-language block-end command arguments 2012-08-13 14:19:16 -04:00
FindPNG.cmake Remove CMake-language block-end command arguments 2012-08-13 14:19:16 -04:00
FindPackageHandleStandardArgs.cmake FPHSA: don't succeed if only checking for XX_FOUND (#13755) 2012-11-29 09:21:18 +01:00
FindPackageMessage.cmake Remove CMake-language block-end command arguments 2012-08-13 14:19:16 -04:00
FindPerl.cmake Find* (and some other): use ${CMAKE_CURRENT_LIST_DIR} in include() 2012-11-04 05:55:37 +01:00
FindPerlLibs.cmake Find* (and some other): use ${CMAKE_CURRENT_LIST_DIR} in include() 2012-11-04 05:55:37 +01:00
FindPhysFS.cmake use PATH_SUFFIXES to simplify find_* calls 2012-08-14 21:03:23 +02:00
FindPike.cmake Convert CMake-language commands to lower case 2012-08-13 14:19:16 -04:00
FindPkgConfig.cmake Remove CMake-language block-end command arguments 2012-08-13 14:19:16 -04:00
FindPostgreSQL.cmake Find PostgreSQL headers on Debian 2012-10-15 21:28:20 +02:00
FindProducer.cmake use PATH_SUFFIXES to simplify find_* calls 2012-08-14 21:03:23 +02:00
FindProtobuf.cmake Remove CMake-language block-end command arguments 2012-08-13 14:19:16 -04:00
FindPythonInterp.cmake Remove CMake-language block-end command arguments 2012-08-13 14:19:16 -04:00
FindPythonLibs.cmake Find* (and some other): use ${CMAKE_CURRENT_LIST_DIR} in include() 2012-11-04 05:55:37 +01:00
FindQt.cmake OpenBSD: Add paths for Qt3/Qt4 2012-12-05 13:09:43 -05:00
FindQt3.cmake OpenBSD: Add paths for Qt3/Qt4 2012-12-05 13:09:43 -05:00
FindQt4.cmake Generate config-specific interface link libraries propeties. 2013-02-09 10:25:35 +01:00
FindQuickTime.cmake use PATH_SUFFIXES to simplify find_* calls 2012-08-14 21:03:23 +02:00
FindRTI.cmake use the find_* functions ENV parameter 2012-08-14 21:02:58 +02:00
FindRuby.cmake Remove CMake-language block-end command arguments 2012-08-13 14:19:16 -04:00
FindSDL.cmake Swap linking order of SDLmain and SDL (#0013769) 2012-12-02 14:32:47 +01:00
FindSDL_image.cmake FindSDL_...: Restore dropped search paths (#13819) 2012-12-30 16:13:51 +01:00
FindSDL_mixer.cmake FindSDL_...: Restore dropped search paths (#13819) 2012-12-30 16:13:51 +01:00
FindSDL_net.cmake FindSDL_...: Restore dropped search paths (#13819) 2012-12-30 16:13:51 +01:00
FindSDL_sound.cmake FindSDL_...: Restore dropped search paths (#13819) 2012-12-30 16:13:51 +01:00
FindSDL_ttf.cmake FindSDL_...: Restore dropped search paths (#13819) 2012-12-30 16:13:51 +01:00
FindSWIG.cmake Remove CMake-language block-end command arguments 2012-08-13 14:19:16 -04:00
FindSelfPackers.cmake Find* (and some other): use ${CMAKE_CURRENT_LIST_DIR} in include() 2012-11-04 05:55:37 +01:00
FindSquish.cmake Squish: fix new squish_v4_add_test() macro 2012-11-07 17:48:53 +01:00
FindSubversion.cmake Remove CMake-language block-end command arguments 2012-08-13 14:19:16 -04:00
FindTCL.cmake OpenBSD: Add paths for Tcl/Tk 8.4/8.5 2012-12-04 08:36:07 -05:00
FindTIFF.cmake Remove CMake-language block-end command arguments 2012-08-13 14:19:16 -04:00
FindTclStub.cmake Find* (and some other): use ${CMAKE_CURRENT_LIST_DIR} in include() 2012-11-04 05:55:37 +01:00
FindTclsh.cmake Remove CMake-language block-end command arguments 2012-08-13 14:19:16 -04:00
FindThreads.cmake Remove CMake-language block-end command arguments 2012-08-13 14:19:16 -04:00
FindUnixCommands.cmake Find* (and some other): use ${CMAKE_CURRENT_LIST_DIR} in include() 2012-11-04 05:55:37 +01:00
FindVTK.cmake Find* (and some other): use ${CMAKE_CURRENT_LIST_DIR} in include() 2012-11-04 05:55:37 +01:00
FindWget.cmake Find* (and some other): use ${CMAKE_CURRENT_LIST_DIR} in include() 2012-11-04 05:55:37 +01:00
FindWish.cmake Remove CMake-language block-end command arguments 2012-08-13 14:19:16 -04:00
FindX11.cmake Find* (and some other): use ${CMAKE_CURRENT_LIST_DIR} in include() 2012-11-04 05:55:37 +01:00
FindXMLRPC.cmake Remove CMake-language block-end command arguments 2012-08-13 14:19:16 -04:00
FindZLIB.cmake Remove CMake-language block-end command arguments 2012-08-13 14:19:16 -04:00
Findosg.cmake Find* (and some other): use ${CMAKE_CURRENT_LIST_DIR} in include() 2012-11-04 05:55:37 +01:00
FindosgAnimation.cmake Find* (and some other): use ${CMAKE_CURRENT_LIST_DIR} in include() 2012-11-04 05:55:37 +01:00
FindosgDB.cmake Find* (and some other): use ${CMAKE_CURRENT_LIST_DIR} in include() 2012-11-04 05:55:37 +01:00
FindosgFX.cmake Find* (and some other): use ${CMAKE_CURRENT_LIST_DIR} in include() 2012-11-04 05:55:37 +01:00
FindosgGA.cmake Find* (and some other): use ${CMAKE_CURRENT_LIST_DIR} in include() 2012-11-04 05:55:37 +01:00
FindosgIntrospection.cmake Find* (and some other): use ${CMAKE_CURRENT_LIST_DIR} in include() 2012-11-04 05:55:37 +01:00
FindosgManipulator.cmake Find* (and some other): use ${CMAKE_CURRENT_LIST_DIR} in include() 2012-11-04 05:55:37 +01:00
FindosgParticle.cmake Find* (and some other): use ${CMAKE_CURRENT_LIST_DIR} in include() 2012-11-04 05:55:37 +01:00
FindosgPresentation.cmake Find* (and some other): use ${CMAKE_CURRENT_LIST_DIR} in include() 2012-11-04 05:55:37 +01:00
FindosgProducer.cmake Find* (and some other): use ${CMAKE_CURRENT_LIST_DIR} in include() 2012-11-04 05:55:37 +01:00
FindosgQt.cmake Find* (and some other): use ${CMAKE_CURRENT_LIST_DIR} in include() 2012-11-04 05:55:37 +01:00
FindosgShadow.cmake Find* (and some other): use ${CMAKE_CURRENT_LIST_DIR} in include() 2012-11-04 05:55:37 +01:00
FindosgSim.cmake Find* (and some other): use ${CMAKE_CURRENT_LIST_DIR} in include() 2012-11-04 05:55:37 +01:00
FindosgTerrain.cmake Find* (and some other): use ${CMAKE_CURRENT_LIST_DIR} in include() 2012-11-04 05:55:37 +01:00
FindosgText.cmake Find* (and some other): use ${CMAKE_CURRENT_LIST_DIR} in include() 2012-11-04 05:55:37 +01:00
FindosgUtil.cmake Find* (and some other): use ${CMAKE_CURRENT_LIST_DIR} in include() 2012-11-04 05:55:37 +01:00
FindosgViewer.cmake Find* (and some other): use ${CMAKE_CURRENT_LIST_DIR} in include() 2012-11-04 05:55:37 +01:00
FindosgVolume.cmake Find* (and some other): use ${CMAKE_CURRENT_LIST_DIR} in include() 2012-11-04 05:55:37 +01:00
FindosgWidget.cmake Find* (and some other): use ${CMAKE_CURRENT_LIST_DIR} in include() 2012-11-04 05:55:37 +01:00
Findosg_functions.cmake Merge topic 'lib64-cleanup' into FindOpenSceneGraph_13094 2012-08-18 17:03:18 -04:00
FindwxWidgets.cmake use the find_* functions ENV parameter 2012-08-14 21:02:58 +02:00
FindwxWindows.cmake Find* (and some other): use ${CMAKE_CURRENT_LIST_DIR} in include() 2012-11-04 05:55:37 +01:00
FortranCInterface.cmake FortranCInterface: Pass all flags to VERIFY project (#13579) 2012-10-10 15:42:55 -04:00
GNUInstallDirs.cmake GNUInstallDirs: add support for Debian multiarch 2011-12-14 19:24:28 +01:00
GenerateExportHeader.cmake Merge topic 'improve-generateexportheader' 2012-03-02 11:44:58 -05:00
GetPrerequisites.cmake GetPrerequisites: Mark file_cmd as advanced cache entry 2012-08-14 09:02:08 -04:00
ITKCompatibility.cmake Convert CMake-language commands to lower case 2012-08-13 14:19:16 -04:00
InstallRequiredSystemLibraries.cmake InstallRequiredSystemLibraries: Use correct file names (#13315) 2012-08-17 09:48:24 -04:00
KDE3Macros.cmake read less from version headers into variables 2012-08-19 13:54:56 +02:00
MacOSXBundleInfo.plist.in
MacOSXFrameworkInfo.plist.in
MacroAddFileDependencies.cmake Remove CMake-language block-end command arguments 2012-08-13 14:19:16 -04:00
NSIS.InstallOptions.ini.in
NSIS.template.in CPack/NSIS: Fix compatibility issues with prerelease NSIS (#13202) 2012-11-19 19:53:29 -05:00
ProcessorCount.cmake ProcessorCount: Mark find_program vars as advanced (#13236) 2012-08-17 10:56:05 -04:00
Qt4ConfigDependentSettings.cmake Remove CMake-language block-end command arguments 2012-08-13 14:19:16 -04:00
Qt4Macros.cmake Merge topic 'Qt4Macros-fix-resource-parsing' 2012-09-04 15:47:33 -04:00
RepositoryInfo.txt.in
SelectLibraryConfigurations.cmake Merge topic 'test-SelectLibraryConfigurations' 2012-10-23 16:37:37 -04:00
Squish4RunTestCase.bat Squish: add support for squish 4 (#9734) 2012-11-05 19:20:13 +01:00
Squish4RunTestCase.sh Squish: add support for squish 4 (#9734) 2012-11-05 19:20:13 +01:00
SquishRunTestCase.bat
SquishRunTestCase.sh
SquishTestScript.cmake Squish: add support for squish 4 (#9734) 2012-11-05 19:20:13 +01:00
SystemInformation.cmake Remove CMake-language block-end command arguments 2012-08-13 14:19:16 -04:00
SystemInformation.in
TestBigEndian.cmake Remove CMake-language block-end command arguments 2012-08-13 14:19:16 -04:00
TestCXXAcceptsFlag.cmake Remove CMake-language block-end command arguments 2012-08-13 14:19:16 -04:00
TestEndianess.c.in
TestForANSIForScope.cmake Remove CMake-language block-end command arguments 2012-08-13 14:19:16 -04:00
TestForANSIStreamHeaders.cmake Find* (and some other): use ${CMAKE_CURRENT_LIST_DIR} in include() 2012-11-04 05:55:37 +01:00
TestForANSIStreamHeaders.cxx
TestForAnsiForScope.cxx Remove trailing whitespace from most CMake and C/C++ code 2012-08-13 14:18:39 -04:00
TestForSSTREAM.cmake Remove CMake-language block-end command arguments 2012-08-13 14:19:16 -04:00
TestForSSTREAM.cxx Remove trailing whitespace from most CMake and C/C++ code 2012-08-13 14:18:39 -04:00
TestForSTDNamespace.cmake Remove CMake-language block-end command arguments 2012-08-13 14:19:16 -04:00
TestForSTDNamespace.cxx Remove trailing whitespace from most CMake and C/C++ code 2012-08-13 14:18:39 -04:00
UseEcos.cmake Remove CMake-language block-end command arguments 2012-08-13 14:19:16 -04:00
UseJava.cmake Remove CMake-language block-end command arguments 2012-08-13 14:19:16 -04:00
UseJavaClassFilelist.cmake Remove CMake-language block-end command arguments 2012-08-13 14:19:16 -04:00
UseJavaSymlinks.cmake Remove CMake-language block-end command arguments 2012-08-13 14:19:16 -04:00
UsePkgConfig.cmake Remove CMake-language block-end command arguments 2012-08-13 14:19:16 -04:00
UseQt4.cmake Qt4: Add SYSTEM option to include_directories. 2012-12-03 08:00:07 -07:00
UseSWIG.cmake Remove CMake-language block-end command arguments 2012-08-13 14:19:16 -04:00
UseVTK40.cmake Convert CMake-language commands to lower case 2012-08-13 14:19:16 -04:00
UseVTKBuildSettings40.cmake Convert CMake-language commands to lower case 2012-08-13 14:19:16 -04:00
UseVTKConfig40.cmake Remove CMake-language block-end command arguments 2012-08-13 14:19:16 -04:00
Use_wxWindows.cmake Remove CMake-language block-end command arguments 2012-08-13 14:19:16 -04:00
UsewxWidgets.cmake Remove CMake-language block-end command arguments 2012-08-13 14:19:16 -04:00
VTKCompatibility.cmake Remove CMake-language block-end command arguments 2012-08-13 14:19:16 -04:00
WIX.template.in CPack: WIX Product Icon, UI Banner, UI Dialog support (#13789) 2012-12-28 15:32:15 -05:00
WriteBasicConfigVersionFile.cmake Remove CMake-language block-end command arguments 2012-08-13 14:19:16 -04:00
ecos_clean.cmake Remove CMake-language block-end command arguments 2012-08-13 14:19:16 -04:00
exportheader.cmake.in Don't put what some compilers consider junk at the end of the line. 2011-09-04 22:06:02 +02:00
kde3init_dummy.cpp.in
kde3uic.cmake Convert CMake-language commands to lower case 2012-08-13 14:19:16 -04:00
readme.txt Document CMAKE_FIND_PACKAGE_NAME 2012-10-04 21:54:40 +02:00

readme.txt

For more information about how to contribute modules to CMake, see this page:
http://www.itk.org/Wiki/CMake:Module_Maintainers

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 <jpeg.h>
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_NOT_FOUND_MESSAGE   Should be set by config-files in the case that it has set XXX_FOUND to FALSE.
                        The contained message will be printed by the find_package() command and by
                        find_package_handle_standard_args() to inform the user about the problem.
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.
XXX_VERSION_STRING      A human-readable string containing the version of the package found, if any.
XXX_VERSION_MAJOR       The major version of the package found, if any.
XXX_VERSION_MINOR       The minor version of the package found, if any.
XXX_VERSION_PATCH       The patch version of the package found, if any.

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?
#

Test the documentation formatting by running "cmake --help-module FindXXX".
Edit the comments until the output of this command looks satisfactory.

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

After the documentation, leave a *BLANK* line, and then add a
copyright and licence notice block like this one:

#=============================================================================
# Copyright 2009-2011 Your Name
#
# Distributed under the OSI-approved BSD License (the "License");
# see accompanying file Copyright.txt for details.
#
# This software is distributed WITHOUT ANY WARRANTY; without even the
# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
# See the License for more information.
#=============================================================================
# (To distribute this file outside of CMake, substitute the full
#  License text for the above reference.)

The layout of the notice block is strictly enforced by the ModuleNotices test.
Only the year range and name may be changed freely.

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

  FIND_PACKAGE(XXX [major[.minor[.patch[.tweak]]]] [EXACT]
               [QUIET] [[REQUIRED|COMPONENTS] [components...]])

If any version numbers are given to the command it will set the
following variables before loading the module:

  XXX_FIND_VERSION       = full requested version string
  XXX_FIND_VERSION_MAJOR = major version if requested, else 0
  XXX_FIND_VERSION_MINOR = minor version if requested, else 0
  XXX_FIND_VERSION_PATCH = patch version if requested, else 0
  XXX_FIND_VERSION_TWEAK = tweak version if requested, else 0
  XXX_FIND_VERSION_COUNT = number of version components, 0 to 4
  XXX_FIND_VERSION_EXACT = true if EXACT option was given

If the find module supports versioning it should locate a version of
the package that is compatible with the version requested.  If a
compatible version of the package cannot be found the module should
not report success.  The version of the package found should be stored
in "XXX_VERSION..." version variables documented by the module.

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.
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.

FIND_PACKAGE() will set the variable CMAKE_FIND_PACKAGE_NAME to
contain the actual name of the package.

A package can provide sub-components.
Those components can be listed after the COMPONENTS (or REQUIRED)
or OPTIONAL_COMPONENTS keywords.  The set of all listed components will be
specified in a XXX_FIND_COMPONENTS variable.
For each package-specific component, say Yyy, a variable XXX_FIND_REQUIRED_Yyy
will be set to true if it listed after COMPONENTS and it will be set to false
if it was listed after OPTIONAL_COMPONENTS.
Using those variables a FindXXX.cmake module and also a XXXConfig.cmake package
configuration file can determine whether and which components have been requested,
and whether they were requested as required or as optional.
For each of the requested components a XXX_Yyy_FOUND variable should be set
accordingly.
The per-package XXX_FOUND variable should be only set to true if all requested
required components have been found. A missing optional component should not
keep the XXX_FOUND variable from being set to true.
If the package provides XXX_INCLUDE_DIRS and XXX_LIBRARIES variables, the include
dirs and libraries for all components which were requested and which have been
found should be added to those two variables.

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

For internal implementation, it's a generally accepted convention that variables starting with
underscore are for temporary use only. (variable starting with an underscore
are not intended as a reserved prefix).