Brad King 175ed02207 ExternalData: Allow ()-groups in series match regex 13 years ago
..
CMakeAddFortranSubdirectory e4ae038f5d CMakeAddFortranSubdirectory: Allow full paths to directories 14 years ago
Compiler 65e9bbe78e Add support for Texas Instruments DSP compiler (#12405) 13 years ago
CompilerId 6b40e1ba3e VS: Ignore LIBC.lib when linking the CompilerId executables 13 years ago
FindCUDA 3dea63d04d Merge topic 'topics/FindCUDA/Add-CUDA_HOST_COMPILER' 13 years ago
FortranCInterface 9db3116226 Remove CMake-language block-end command arguments 13 years ago
IntelVSImplicitPath 67fcc838d9 Simplify IntelVSImplicitPath detection project 14 years ago
Platform cc676c3a08 OS X: Detect implicit linker framework search paths 13 years ago
AddFileDependencies.cmake 9db3116226 Remove CMake-language block-end command arguments 13 years ago
AutomocInfo.cmake.in 894e91a945 Automoc: do not use DEFINITIONS, but only COMPILE_DEFINITIONS 13 years ago
BasicConfigVersion-AnyNewerVersion.cmake.in dc0b0f6b6d BasicConfigVersion: Make docs refer to the macro, not the module name 13 years ago
BasicConfigVersion-ExactVersion.cmake.in 00ae36fdff write_basic_package_version_file() now works with unset CMAKE_SIZEOF_VOID_P 14 years ago
BasicConfigVersion-SameMajorVersion.cmake.in dc0b0f6b6d BasicConfigVersion: Make docs refer to the macro, not the module name 13 years ago
BundleUtilities.cmake 89256e03cf BundleUtilities: Use a more inclusive REGEX for frameworks (#13600) 13 years ago
CMake.cmake 2cde67a781 Modules: Fix spelling 'To distributed' -> 'To distribute' 15 years ago
CMakeASM-ATTInformation.cmake 77543bde41 Convert CMake-language commands to lower case 13 years ago
CMakeASMCompiler.cmake.in 77543bde41 Convert CMake-language commands to lower case 13 years ago
CMakeASMInformation.cmake 9db3116226 Remove CMake-language block-end command arguments 13 years ago
CMakeASM_MASMInformation.cmake 77543bde41 Convert CMake-language commands to lower case 13 years ago
CMakeASM_NASMInformation.cmake 77543bde41 Convert CMake-language commands to lower case 13 years ago
CMakeAddFortranSubdirectory.cmake 087bea35c1 Allow two cmake_add_fortran_subdirectory calls in the same project. 14 years ago
CMakeAddNewLanguage.txt 854369fd45 Document external language support policy 13 years ago
CMakeBackwardCompatibilityC.cmake 9db3116226 Remove CMake-language block-end command arguments 13 years ago
CMakeBackwardCompatibilityCXX.cmake 9db3116226 Remove CMake-language block-end command arguments 13 years ago
CMakeBorlandFindMake.cmake 77543bde41 Convert CMake-language commands to lower case 13 years ago
CMakeBuildSettings.cmake.in fd47a2ae96 Drop old CMake "build settings" export/import 16 years ago
CMakeCCompiler.cmake.in cc676c3a08 OS X: Detect implicit linker framework search paths 13 years ago
CMakeCCompilerABI.c b8fc8b324d ENH: Improve robustness of compiler INFO strings 17 years ago
CMakeCCompilerId.c.in 8e85822e2b VS: Add the entry point when compiling for WindowsCE 13 years ago
CMakeCInformation.cmake 9db3116226 Remove CMake-language block-end command arguments 13 years ago
CMakeCXXCompiler.cmake.in cc676c3a08 OS X: Detect implicit linker framework search paths 13 years ago
CMakeCXXCompilerABI.cpp b8fc8b324d ENH: Improve robustness of compiler INFO strings 17 years ago
CMakeCXXCompilerId.cpp.in 8e85822e2b VS: Add the entry point when compiling for WindowsCE 13 years ago
CMakeCXXInformation.cmake 9db3116226 Remove CMake-language block-end command arguments 13 years ago
CMakeClDeps.cmake 0af27f1f2a Ninja: also detect /showInclude prefix for icl 13 years ago
CMakeCommonLanguageInclude.cmake 9db3116226 Remove CMake-language block-end command arguments 13 years ago
CMakeCompilerABI.h 981c7f5a5b -check for the ARM ABI/EABI compiler ABI for the GNU compilers 16 years ago
CMakeConfigurableFile.in 01a55559dd ENH: Make modules use configure instead of file write 20 years ago
CMakeDependentOption.cmake 9db3116226 Remove CMake-language block-end command arguments 13 years ago
CMakeDetermineASM-ATTCompiler.cmake 77543bde41 Convert CMake-language commands to lower case 13 years ago
CMakeDetermineASMCompiler.cmake 7195aca54f Make platform information files specific to the CMake version 13 years ago
CMakeDetermineASM_MASMCompiler.cmake 9db3116226 Remove CMake-language block-end command arguments 13 years ago
CMakeDetermineASM_NASMCompiler.cmake 9db3116226 Remove CMake-language block-end command arguments 13 years ago
CMakeDetermineCCompiler.cmake a4c47fe0c7 Merge topic 'cmake-platform-info-version' 13 years ago
CMakeDetermineCXXCompiler.cmake a4c47fe0c7 Merge topic 'cmake-platform-info-version' 13 years ago
CMakeDetermineCompiler.cmake 7e58e5bb68 Prefer generic system compilers by default for C, C++, and Fortran 13 years ago
CMakeDetermineCompilerABI.cmake cc676c3a08 OS X: Detect implicit linker framework search paths 13 years ago
CMakeDetermineCompilerId.cmake 8e85822e2b VS: Add the entry point when compiling for WindowsCE 13 years ago
CMakeDetermineFortranCompiler.cmake 7924aacbfa CMakeDetermineFortranCompiler: add support for cross-compiling (#13379) 13 years ago
CMakeDetermineJavaCompiler.cmake 6e7a3453b4 OpenBSD: Add paths for Java 1.6.0/1.7.0 JRE/JDK 13 years ago
CMakeDetermineRCCompiler.cmake 7195aca54f Make platform information files specific to the CMake version 13 years ago
CMakeDetermineSystem.cmake 40c36c9f7b VS: Make DetermineCompilerId working with WinCE too 13 years ago
CMakeDetermineVSServicePack.cmake a722780498 CMakeDetermineVSServicePack: Visual Studio 2012 added 13 years ago
CMakeExpandImportedTargets.cmake 8ebf74b02f Find* (and some other): use ${CMAKE_CURRENT_LIST_DIR} in include() 13 years ago
CMakeExportBuildSettings.cmake 9db3116226 Remove CMake-language block-end command arguments 13 years ago
CMakeExtraGeneratorDetermineCompilerMacrosAndIncludeDirs.cmake d97b38529e Eclipse on OSX: fix handling of framework include dirs (#13464) 13 years ago
CMakeFindBinUtils.cmake 84b49be8f0 Remove CMake multiline block-end command arguments 13 years ago
CMakeFindCodeBlocks.cmake 9db3116226 Remove CMake-language block-end command arguments 13 years ago
CMakeFindEclipseCDT4.cmake fbda95883c Eclipse: add switch to disable linked resources (#13189) 13 years ago
CMakeFindFrameworks.cmake 9db3116226 Remove CMake-language block-end command arguments 13 years ago
CMakeFindKDevelop3.cmake 9db3116226 Remove CMake-language block-end command arguments 13 years ago
CMakeFindPackageMode.cmake a0a0877a1e OS X: Always generate -isysroot if any SDK is in use 13 years ago
CMakeFindWMake.cmake 77543bde41 Convert CMake-language commands to lower case 13 years ago
CMakeFindXCode.cmake 77543bde41 Convert CMake-language commands to lower case 13 years ago
CMakeForceCompiler.cmake 3df81b4912 Move CMAKE_<LANG>_COMPILER_WORKS to compiler information files 13 years ago
CMakeFortranCompiler.cmake.in cc676c3a08 OS X: Detect implicit linker framework search paths 13 years ago
CMakeFortranCompilerABI.F ecd8414757 Fortran: Detect pointer size in gfortran on MinGW 14 years ago
CMakeFortranCompilerId.F.in 3d2e6a0687 check for Haiku only with __HAIKU__ 13 years ago
CMakeFortranInformation.cmake 9db3116226 Remove CMake-language block-end command arguments 13 years ago
CMakeGenericSystem.cmake 9db3116226 Remove CMake-language block-end command arguments 13 years ago
CMakeImportBuildSettings.cmake 9db3116226 Remove CMake-language block-end command arguments 13 years ago
CMakeJOMFindMake.cmake 77543bde41 Convert CMake-language commands to lower case 13 years ago
CMakeJavaCompiler.cmake.in 77543bde41 Convert CMake-language commands to lower case 13 years ago
CMakeJavaInformation.cmake 9db3116226 Remove CMake-language block-end command arguments 13 years ago
CMakeMSYSFindMake.cmake 77543bde41 Convert CMake-language commands to lower case 13 years ago
CMakeMinGWFindMake.cmake 9db3116226 Remove CMake-language block-end command arguments 13 years ago
CMakeNMakeFindMake.cmake 77543bde41 Convert CMake-language commands to lower case 13 years ago
CMakeNinjaFindMake.cmake 77543bde41 Convert CMake-language commands to lower case 13 years ago
CMakePackageConfigHelpers.cmake 8039bd0864 CONFIGURE_PACKAGE_CONFIG_FILE(): improve generated comments 13 years ago
CMakeParseArguments.cmake 9db3116226 Remove CMake-language block-end command arguments 13 years ago
CMakeParseImplicitLinkInfo.cmake cc676c3a08 OS X: Detect implicit linker framework search paths 13 years ago
CMakePlatformId.h.in 3d2e6a0687 check for Haiku only with __HAIKU__ 13 years ago
CMakePrintSystemInformation.cmake 77543bde41 Convert CMake-language commands to lower case 13 years ago
CMakePushCheckState.cmake 9db3116226 Remove CMake-language block-end command arguments 13 years ago
CMakeRCCompiler.cmake.in 77543bde41 Convert CMake-language commands to lower case 13 years ago
CMakeRCInformation.cmake 9db3116226 Remove CMake-language block-end command arguments 13 years ago
CMakeSystem.cmake.in 77543bde41 Convert CMake-language commands to lower case 13 years ago
CMakeSystemSpecificInformation.cmake 9db3116226 Remove CMake-language block-end command arguments 13 years ago
CMakeTestASM-ATTCompiler.cmake 77543bde41 Convert CMake-language commands to lower case 13 years ago
CMakeTestASMCompiler.cmake 77543bde41 Convert CMake-language commands to lower case 13 years ago
CMakeTestASM_MASMCompiler.cmake 77543bde41 Convert CMake-language commands to lower case 13 years ago
CMakeTestASM_NASMCompiler.cmake 77543bde41 Convert CMake-language commands to lower case 13 years ago
CMakeTestCCompiler.cmake 32b7c72623 Merge branch 'cmake-platform-info-version' into msvc-compiler-info 13 years ago
CMakeTestCXXCompiler.cmake 32b7c72623 Merge branch 'cmake-platform-info-version' into msvc-compiler-info 13 years ago
CMakeTestCompilerCommon.cmake 77543bde41 Convert CMake-language commands to lower case 13 years ago
CMakeTestFortranCompiler.cmake 3df81b4912 Move CMAKE_<LANG>_COMPILER_WORKS to compiler information files 13 years ago
CMakeTestGNU.c 6b31e5c851 BUG: fix problem where cmake thinks the intel compiler is gnu 22 years ago
CMakeTestJavaCompiler.cmake 77543bde41 Convert CMake-language commands to lower case 13 years ago
CMakeTestRCCompiler.cmake 77543bde41 Convert CMake-language commands to lower case 13 years ago
CMakeTestWatcomVersion.c 80769cdd1e Add Watcom support to InstallRequiredSystemLibraries (#11866) 14 years ago
CMakeUnixFindMake.cmake 77543bde41 Convert CMake-language commands to lower case 13 years ago
CMakeVS10FindMake.cmake 77543bde41 Convert CMake-language commands to lower case 13 years ago
CMakeVS11FindMake.cmake 7ee3cee919 VS11: Add VS 2012 Express support (#13348) 13 years ago
CMakeVS6BackwardCompatibility.cmake 77543bde41 Convert CMake-language commands to lower case 13 years ago
CMakeVS6FindMake.cmake 77543bde41 Convert CMake-language commands to lower case 13 years ago
CMakeVS71FindMake.cmake 77543bde41 Convert CMake-language commands to lower case 13 years ago
CMakeVS7BackwardCompatibility.cmake 77543bde41 Convert CMake-language commands to lower case 13 years ago
CMakeVS7FindMake.cmake 77543bde41 Convert CMake-language commands to lower case 13 years ago
CMakeVS8FindMake.cmake 9db3116226 Remove CMake-language block-end command arguments 13 years ago
CMakeVS9FindMake.cmake 9db3116226 Remove CMake-language block-end command arguments 13 years ago
CMakeVerifyManifest.cmake 9db3116226 Remove CMake-language block-end command arguments 13 years ago
CPack.DS_Store.in f2c0dbd164 ENH: More work on the packaging. Add Applicaitons, add icons, etc 19 years ago
CPack.Description.plist.in 5358809a5c ENH: More CPack stuff and fix zlib compression 20 years ago
CPack.Info.plist.in 71f61636b6 ENH: One more patch from Doug Gregor including PackageMaker functionality for componentized-for-the-end-user and download-some-bit-on-demand installers. 17 years ago
CPack.OSXScriptLauncher.in c647ed54d9 BUG: Fix issue #7833: Add file extension handling to CPack generated installers for OSXX11 applications. Also modify the X11 test to build such an installer on Mac builds that test CPack and have X11 available. Thanks to Wes Turner for the patch. 17 years ago
CPack.OSXScriptLauncher.rsrc.in c647ed54d9 BUG: Fix issue #7833: Add file extension handling to CPack generated installers for OSXX11 applications. Also modify the X11 test to build such an installer on Mac builds that test CPack and have X11 available. Thanks to Wes Turner for the patch. 17 years ago
CPack.OSXX11.Info.plist.in c647ed54d9 BUG: Fix issue #7833: Add file extension handling to CPack generated installers for OSXX11 applications. Also modify the X11 test to build such an installer on Mac builds that test CPack and have X11 available. Thanks to Wes Turner for the patch. 17 years ago
CPack.OSXX11.main.scpt.in c647ed54d9 BUG: Fix issue #7833: Add file extension handling to CPack generated installers for OSXX11 applications. Also modify the X11 test to build such an installer on Mac builds that test CPack and have X11 available. Thanks to Wes Turner for the patch. 17 years ago
CPack.RuntimeScript.in b133467567 CPack: Fix bash-isms in launch script 16 years ago
CPack.STGZ_Header.sh.in 07bd856bd0 CPackSTGZ quote here-doc, fix bug10518 15 years ago
CPack.VolumeIcon.icns.in f2c0dbd164 ENH: More work on the packaging. Add Applicaitons, add icons, etc 19 years ago
CPack.background.png.in f9dd6a38c5 ENH: add file back bug use cmake image 17 years ago
CPack.cmake 85baac1503 CPack: Add a WiX Generator (#11575) 13 years ago
CPack.distribution.dist.in e8825d320b BUG: Workaround PackageMaker 3.0 issue for new CPack components feature. Thanks again to Doug Gregor for the patch. 17 years ago
CPackBundle.cmake 4849e6ac63 Fix layout of the CPack Bundle documentation 14 years ago
CPackComponent.cmake 9db3116226 Remove CMake-language block-end command arguments 13 years ago
CPackCygwin.cmake 98d158376e Provide template for CPack Cygwin generator specific variables. 14 years ago
CPackDMG.cmake b3851f504d Fix CPack Drag and Drop generator documentation layout. 14 years ago
CPackDeb.cmake e7e2694823 CPack: Fix RPM/Deb package names to not include "ALL_COMPONENTS_IN_ONE" 13 years ago
CPackNSIS.cmake 419f561b2f Merge topic 'fix-9946-uninstall-before-install' 14 years ago
CPackPackageMaker.cmake 2ace3427ac Typo: Add missing ##end for ##module 14 years ago
CPackRPM.cmake e7e2694823 CPack: Fix RPM/Deb package names to not include "ALL_COMPONENTS_IN_ONE" 13 years ago
CPackWIX.cmake 3793dca08a CPack: WIX Product Icon, UI Banner, UI Dialog support (#13789) 13 years ago
CPackZIP.cmake 9db3116226 Remove CMake-language block-end command arguments 13 years ago
CTest.cmake d63eb0be20 CTest: Ensure CTEST_USE_LAUNCHERS behaves nicely in Superbuild setup 13 years ago
CTestScriptMode.cmake 7bbaa4283d Remove trailing whitespace from most CMake and C/C++ code 13 years ago
CTestTargets.cmake 9db3116226 Remove CMake-language block-end command arguments 13 years ago
CTestUseLaunchers.cmake 965358fcf6 enable CTEST_USE_LAUNCHERS with Ninja too 13 years ago
CheckCCompilerFlag.cmake 9db3116226 Remove CMake-language block-end command arguments 13 years ago
CheckCSourceCompiles.cmake 9db3116226 Remove CMake-language block-end command arguments 13 years ago
CheckCSourceRuns.cmake 9db3116226 Remove CMake-language block-end command arguments 13 years ago
CheckCXXCompilerFlag.cmake 9db3116226 Remove CMake-language block-end command arguments 13 years ago
CheckCXXSourceCompiles.cmake 9db3116226 Remove CMake-language block-end command arguments 13 years ago
CheckCXXSourceRuns.cmake 9db3116226 Remove CMake-language block-end command arguments 13 years ago
CheckCXXSymbolExists.cmake 9db3116226 Remove CMake-language block-end command arguments 13 years ago
CheckForPthreads.c 7a1b961de8 Haiku no longer defines __BEOS__ 13 years ago
CheckFortranFunctionExists.cmake 9db3116226 Remove CMake-language block-end command arguments 13 years ago
CheckFunctionExists.c fad91fb770 ENH: fix tests for non-ansi c on hp and remove warnings for ansi c 22 years ago
CheckFunctionExists.cmake 9db3116226 Remove CMake-language block-end command arguments 13 years ago
CheckIncludeFile.c.in 095e975c81 BUG: Fix signature of main to work on both strict ANSI and non-ANSI C compilers. 20 years ago
CheckIncludeFile.cmake 9db3116226 Remove CMake-language block-end command arguments 13 years ago
CheckIncludeFile.cxx.in f5d95fb078 Complete rework of makefile generators expect trouble 23 years ago
CheckIncludeFileCXX.cmake 9db3116226 Remove CMake-language block-end command arguments 13 years ago
CheckIncludeFiles.cmake 4ad02332aa Remove period at the end of the check message. 13 years ago
CheckLanguage.cmake 5db99e8708 Add CheckLanguage module 14 years ago
CheckLibraryExists.cmake 9db3116226 Remove CMake-language block-end command arguments 13 years ago
CheckLibraryExists.lists.in 3697ad6dc7 Initial attempt to check if library exists 23 years ago
CheckPrototypeDefinition.c.in 4f252abea5 Modules: Added CheckPrototypeDefinition module. 15 years ago
CheckPrototypeDefinition.cmake 9db3116226 Remove CMake-language block-end command arguments 13 years ago
CheckSizeOf.cmake 77543bde41 Convert CMake-language commands to lower case 13 years ago
CheckStructHasMember.cmake 9db3116226 Remove CMake-language block-end command arguments 13 years ago
CheckSymbolExists.cmake 4ad02332aa Remove period at the end of the check message. 13 years ago
CheckTypeSize.c.in c9b726c314 New CheckTypeSize for OS X Universal Binaries 16 years ago
CheckTypeSize.cmake 48783b71fb CheckTypeSize: show in documentation how to get struct member size (#10579) 13 years ago
CheckTypeSizeMap.cmake.in c9b726c314 New CheckTypeSize for OS X Universal Binaries 16 years ago
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. 22 years ago
CheckVariableExists.cmake 9db3116226 Remove CMake-language block-end command arguments 13 years ago
Dart.cmake 9db3116226 Remove CMake-language block-end command arguments 13 years ago
DartConfiguration.tcl.in 9ace801578 ctest_update: Tell svn not to prompt interactively (#13024) 13 years ago
DeployQt4.cmake 8ebf74b02f Find* (and some other): use ${CMAKE_CURRENT_LIST_DIR} in include() 13 years ago
Documentation.cmake 9db3116226 Remove CMake-language block-end command arguments 13 years ago
DummyCXXFile.cxx 9a6c95fcea add checks for ansi flags and not hard code them 23 years ago
ExternalData.cmake 175ed02207 ExternalData: Allow ()-groups in series match regex 13 years ago
ExternalData_config.cmake.in ab26249db1 Add ExternalData module 13 years ago
ExternalProject.cmake c0f1af926f ExternalProject: Allow DEPENDS on normal targets (#13849) 13 years ago
FLTKCompatibility.cmake 77543bde41 Convert CMake-language commands to lower case 13 years ago
FeatureSummary.cmake 8ebf74b02f Find* (and some other): use ${CMAKE_CURRENT_LIST_DIR} in include() 13 years ago
FindALSA.cmake 7bbaa4283d Remove trailing whitespace from most CMake and C/C++ code 13 years ago
FindASPELL.cmake 77543bde41 Convert CMake-language commands to lower case 13 years ago
FindAVIFile.cmake 9db3116226 Remove CMake-language block-end command arguments 13 years ago
FindArmadillo.cmake ff0d1a8d84 include FPHSA from current directory in all modules 13 years ago
FindBISON.cmake e593f8a1cf FindBISON: Add support for the Win flex-bison distribution 13 years ago
FindBLAS.cmake 8ebf74b02f Find* (and some other): use ${CMAKE_CURRENT_LIST_DIR} in include() 13 years ago
FindBZip2.cmake 8ebf74b02f Find* (and some other): use ${CMAKE_CURRENT_LIST_DIR} in include() 13 years ago
FindBoost.cmake 0496782418 FindBoost: Rewrite documentation 13 years ago
FindBullet.cmake f180b24ef4 FindBullet: Search in per-config dirs on Windows (#13738) 13 years ago
FindCABLE.cmake 9db3116226 Remove CMake-language block-end command arguments 13 years ago
FindCUDA.cmake 3dea63d04d Merge topic 'topics/FindCUDA/Add-CUDA_HOST_COMPILER' 13 years ago
FindCURL.cmake 708b53e709 FindCURL: Find older MSVC prebuilts 13 years ago
FindCVS.cmake 9db3116226 Remove CMake-language block-end command arguments 13 years ago
FindCoin3D.cmake 9db3116226 Remove CMake-language block-end command arguments 13 years ago
FindCups.cmake 8ebf74b02f Find* (and some other): use ${CMAKE_CURRENT_LIST_DIR} in include() 13 years ago
FindCurses.cmake 8ebf74b02f Find* (and some other): use ${CMAKE_CURRENT_LIST_DIR} in include() 13 years ago
FindCxxTest.cmake 9db3116226 Remove CMake-language block-end command arguments 13 years ago
FindCygwin.cmake 9db3116226 Remove CMake-language block-end command arguments 13 years ago
FindDCMTK.cmake 0167ceaf98 Add more find_path locations for DCMTK header files (#12323) 14 years ago
FindDart.cmake cfe4ac4b41 use PATH_SUFFIXES to simplify find_* calls 13 years ago
FindDevIL.cmake 77543bde41 Convert CMake-language commands to lower case 13 years ago
FindDoxygen.cmake 9db3116226 Remove CMake-language block-end command arguments 13 years ago
FindEXPAT.cmake 9db3116226 Remove CMake-language block-end command arguments 13 years ago
FindFLEX.cmake df29336893 FindFLEX: Add support for the Win flex-bison distribution 13 years ago
FindFLTK.cmake 8ebf74b02f Find* (and some other): use ${CMAKE_CURRENT_LIST_DIR} in include() 13 years ago
FindFLTK2.cmake b04650e163 use the find_* functions ENV parameter 13 years ago
FindFreetype.cmake 51c1119469 OpenBSD: Add path for Freetype under X.org 13 years ago
FindGCCXML.cmake 77543bde41 Convert CMake-language commands to lower case 13 years ago
FindGDAL.cmake cfe4ac4b41 use PATH_SUFFIXES to simplify find_* calls 13 years ago
FindGIF.cmake 8ebf74b02f Find* (and some other): use ${CMAKE_CURRENT_LIST_DIR} in include() 13 years ago
FindGLEW.cmake fbda7bb9f2 Initial version of find module 13 years ago
FindGLU.cmake 8ebf74b02f Find* (and some other): use ${CMAKE_CURRENT_LIST_DIR} in include() 13 years ago
FindGLUT.cmake 8e9630c719 FindGLUT: BeOS does not have libXi and libXmu 13 years ago
FindGTK.cmake 84b49be8f0 Remove CMake multiline block-end command arguments 13 years ago
FindGTK2.cmake 0594bee578 FindGTK2: Update local changelog 13 years ago
FindGTest.cmake b04650e163 use the find_* functions ENV parameter 13 years ago
FindGettext.cmake a7be253418 FindGettext: fix overwriting result with empty variable (#13691) 13 years ago
FindGit.cmake 9db3116226 Remove CMake-language block-end command arguments 13 years ago
FindGnuTLS.cmake 9db3116226 Remove CMake-language block-end command arguments 13 years ago
FindGnuplot.cmake 8ebf74b02f Find* (and some other): use ${CMAKE_CURRENT_LIST_DIR} in include() 13 years ago
FindHDF5.cmake 8ebf74b02f Find* (and some other): use ${CMAKE_CURRENT_LIST_DIR} in include() 13 years ago
FindHSPELL.cmake 4be6783711 read less from version headers into variables 13 years ago
FindHTMLHelp.cmake 9db3116226 Remove CMake-language block-end command arguments 13 years ago
FindHg.cmake ea5bfb1d25 Add FindHg module to find Mercurial 13 years ago
FindITK.cmake 77543bde41 Convert CMake-language commands to lower case 13 years ago
FindIcotool.cmake 86a184d8bb Add module FindIcotool 13 years ago
FindImageMagick.cmake 9db3116226 Remove CMake-language block-end command arguments 13 years ago
FindJNI.cmake 6e7a3453b4 OpenBSD: Add paths for Java 1.6.0/1.7.0 JRE/JDK 13 years ago
FindJPEG.cmake 9db3116226 Remove CMake-language block-end command arguments 13 years ago
FindJasper.cmake 9db3116226 Remove CMake-language block-end command arguments 13 years ago
FindJava.cmake 6e7a3453b4 OpenBSD: Add paths for Java 1.6.0/1.7.0 JRE/JDK 13 years ago
FindKDE3.cmake 8ebf74b02f Find* (and some other): use ${CMAKE_CURRENT_LIST_DIR} in include() 13 years ago
FindKDE4.cmake 9db3116226 Remove CMake-language block-end command arguments 13 years ago
FindLAPACK.cmake 8ebf74b02f Find* (and some other): use ${CMAKE_CURRENT_LIST_DIR} in include() 13 years ago
FindLATEX.cmake 9db3116226 Remove CMake-language block-end command arguments 13 years ago
FindLibArchive.cmake 9e25b12701 FindLibArchive: support version selection 14 years ago
FindLibLZMA.cmake ff0d1a8d84 include FPHSA from current directory in all modules 13 years ago
FindLibXml2.cmake 77543bde41 Convert CMake-language commands to lower case 13 years ago
FindLibXslt.cmake 77543bde41 Convert CMake-language commands to lower case 13 years ago
FindLua50.cmake cfe4ac4b41 use PATH_SUFFIXES to simplify find_* calls 13 years ago
FindLua51.cmake 50bfedf391 FindLua51: do not try to link libm on BeOS 13 years ago
FindMFC.cmake 9db3116226 Remove CMake-language block-end command arguments 13 years ago
FindMPEG.cmake 9db3116226 Remove CMake-language block-end command arguments 13 years ago
FindMPEG2.cmake 8ebf74b02f Find* (and some other): use ${CMAKE_CURRENT_LIST_DIR} in include() 13 years ago
FindMPI.cmake 8ebf74b02f Find* (and some other): use ${CMAKE_CURRENT_LIST_DIR} in include() 13 years ago
FindMatlab.cmake 9db3116226 Remove CMake-language block-end command arguments 13 years ago
FindMotif.cmake 9db3116226 Remove CMake-language block-end command arguments 13 years ago
FindOpenAL.cmake b04650e163 use the find_* functions ENV parameter 13 years ago
FindOpenGL.cmake 0380f36cd8 FindOpenGL: add Haiku paths 13 years ago
FindOpenMP.cmake 8ebf74b02f Find* (and some other): use ${CMAKE_CURRENT_LIST_DIR} in include() 13 years ago
FindOpenSSL.cmake 4a4c0ee780 FindOpenSSL: also find the non-MD debug libraries for MSVC 13 years ago
FindOpenSceneGraph.cmake 8ebf74b02f Find* (and some other): use ${CMAKE_CURRENT_LIST_DIR} in include() 13 years ago
FindOpenThreads.cmake dd60ed2f4f Merge topic 'lib64-cleanup' into FindOpenSceneGraph_13094 13 years ago
FindPHP4.cmake 9db3116226 Remove CMake-language block-end command arguments 13 years ago
FindPNG.cmake 9db3116226 Remove CMake-language block-end command arguments 13 years ago
FindPackageHandleStandardArgs.cmake 4809cadfe8 FPHSA: don't succeed if only checking for XX_FOUND (#13755) 13 years ago
FindPackageMessage.cmake 9db3116226 Remove CMake-language block-end command arguments 13 years ago
FindPerl.cmake 8ebf74b02f Find* (and some other): use ${CMAKE_CURRENT_LIST_DIR} in include() 13 years ago
FindPerlLibs.cmake 8ebf74b02f Find* (and some other): use ${CMAKE_CURRENT_LIST_DIR} in include() 13 years ago
FindPhysFS.cmake cfe4ac4b41 use PATH_SUFFIXES to simplify find_* calls 13 years ago
FindPike.cmake 77543bde41 Convert CMake-language commands to lower case 13 years ago
FindPkgConfig.cmake 9db3116226 Remove CMake-language block-end command arguments 13 years ago
FindPostgreSQL.cmake 4cbc1e5682 Find PostgreSQL headers on Debian 13 years ago
FindProducer.cmake cfe4ac4b41 use PATH_SUFFIXES to simplify find_* calls 13 years ago
FindProtobuf.cmake 9db3116226 Remove CMake-language block-end command arguments 13 years ago
FindPythonInterp.cmake 9db3116226 Remove CMake-language block-end command arguments 13 years ago
FindPythonLibs.cmake 8ebf74b02f Find* (and some other): use ${CMAKE_CURRENT_LIST_DIR} in include() 13 years ago
FindQt.cmake f80ccac158 OpenBSD: Add paths for Qt3/Qt4 13 years ago
FindQt3.cmake f80ccac158 OpenBSD: Add paths for Qt3/Qt4 13 years ago
FindQt4.cmake e3b5eb6b23 Automatically link to the qtmain library when linking to QtCore. 13 years ago
FindQuickTime.cmake cfe4ac4b41 use PATH_SUFFIXES to simplify find_* calls 13 years ago
FindRTI.cmake b04650e163 use the find_* functions ENV parameter 13 years ago
FindRuby.cmake 9db3116226 Remove CMake-language block-end command arguments 13 years ago
FindSDL.cmake 981629f701 Swap linking order of SDLmain and SDL (#0013769) 13 years ago
FindSDL_image.cmake fb864d6e03 FindSDL_...: Restore dropped search paths (#13819) 13 years ago
FindSDL_mixer.cmake fb864d6e03 FindSDL_...: Restore dropped search paths (#13819) 13 years ago
FindSDL_net.cmake fb864d6e03 FindSDL_...: Restore dropped search paths (#13819) 13 years ago
FindSDL_sound.cmake fb864d6e03 FindSDL_...: Restore dropped search paths (#13819) 13 years ago
FindSDL_ttf.cmake fb864d6e03 FindSDL_...: Restore dropped search paths (#13819) 13 years ago
FindSWIG.cmake 9db3116226 Remove CMake-language block-end command arguments 13 years ago
FindSelfPackers.cmake 8ebf74b02f Find* (and some other): use ${CMAKE_CURRENT_LIST_DIR} in include() 13 years ago
FindSquish.cmake b58fd6569a Squish: fix new squish_v4_add_test() macro 13 years ago
FindSubversion.cmake 9db3116226 Remove CMake-language block-end command arguments 13 years ago
FindTCL.cmake 4a015f77e7 OpenBSD: Add paths for Tcl/Tk 8.4/8.5 13 years ago
FindTIFF.cmake 9db3116226 Remove CMake-language block-end command arguments 13 years ago
FindTclStub.cmake 8ebf74b02f Find* (and some other): use ${CMAKE_CURRENT_LIST_DIR} in include() 13 years ago
FindTclsh.cmake 9db3116226 Remove CMake-language block-end command arguments 13 years ago
FindThreads.cmake 9db3116226 Remove CMake-language block-end command arguments 13 years ago
FindUnixCommands.cmake 8ebf74b02f Find* (and some other): use ${CMAKE_CURRENT_LIST_DIR} in include() 13 years ago
FindVTK.cmake 8ebf74b02f Find* (and some other): use ${CMAKE_CURRENT_LIST_DIR} in include() 13 years ago
FindWget.cmake 8ebf74b02f Find* (and some other): use ${CMAKE_CURRENT_LIST_DIR} in include() 13 years ago
FindWish.cmake 9db3116226 Remove CMake-language block-end command arguments 13 years ago
FindX11.cmake 8ebf74b02f Find* (and some other): use ${CMAKE_CURRENT_LIST_DIR} in include() 13 years ago
FindXMLRPC.cmake 9db3116226 Remove CMake-language block-end command arguments 13 years ago
FindZLIB.cmake 9db3116226 Remove CMake-language block-end command arguments 13 years ago
Findosg.cmake 8ebf74b02f Find* (and some other): use ${CMAKE_CURRENT_LIST_DIR} in include() 13 years ago
FindosgAnimation.cmake 8ebf74b02f Find* (and some other): use ${CMAKE_CURRENT_LIST_DIR} in include() 13 years ago
FindosgDB.cmake 8ebf74b02f Find* (and some other): use ${CMAKE_CURRENT_LIST_DIR} in include() 13 years ago
FindosgFX.cmake 8ebf74b02f Find* (and some other): use ${CMAKE_CURRENT_LIST_DIR} in include() 13 years ago
FindosgGA.cmake 8ebf74b02f Find* (and some other): use ${CMAKE_CURRENT_LIST_DIR} in include() 13 years ago
FindosgIntrospection.cmake 8ebf74b02f Find* (and some other): use ${CMAKE_CURRENT_LIST_DIR} in include() 13 years ago
FindosgManipulator.cmake 8ebf74b02f Find* (and some other): use ${CMAKE_CURRENT_LIST_DIR} in include() 13 years ago
FindosgParticle.cmake 8ebf74b02f Find* (and some other): use ${CMAKE_CURRENT_LIST_DIR} in include() 13 years ago
FindosgPresentation.cmake 8ebf74b02f Find* (and some other): use ${CMAKE_CURRENT_LIST_DIR} in include() 13 years ago
FindosgProducer.cmake 8ebf74b02f Find* (and some other): use ${CMAKE_CURRENT_LIST_DIR} in include() 13 years ago
FindosgQt.cmake 8ebf74b02f Find* (and some other): use ${CMAKE_CURRENT_LIST_DIR} in include() 13 years ago
FindosgShadow.cmake 8ebf74b02f Find* (and some other): use ${CMAKE_CURRENT_LIST_DIR} in include() 13 years ago
FindosgSim.cmake 8ebf74b02f Find* (and some other): use ${CMAKE_CURRENT_LIST_DIR} in include() 13 years ago
FindosgTerrain.cmake 8ebf74b02f Find* (and some other): use ${CMAKE_CURRENT_LIST_DIR} in include() 13 years ago
FindosgText.cmake 8ebf74b02f Find* (and some other): use ${CMAKE_CURRENT_LIST_DIR} in include() 13 years ago
FindosgUtil.cmake 8ebf74b02f Find* (and some other): use ${CMAKE_CURRENT_LIST_DIR} in include() 13 years ago
FindosgViewer.cmake 8ebf74b02f Find* (and some other): use ${CMAKE_CURRENT_LIST_DIR} in include() 13 years ago
FindosgVolume.cmake 8ebf74b02f Find* (and some other): use ${CMAKE_CURRENT_LIST_DIR} in include() 13 years ago
FindosgWidget.cmake 8ebf74b02f Find* (and some other): use ${CMAKE_CURRENT_LIST_DIR} in include() 13 years ago
Findosg_functions.cmake dd60ed2f4f Merge topic 'lib64-cleanup' into FindOpenSceneGraph_13094 13 years ago
FindwxWidgets.cmake b04650e163 use the find_* functions ENV parameter 13 years ago
FindwxWindows.cmake 8ebf74b02f Find* (and some other): use ${CMAKE_CURRENT_LIST_DIR} in include() 13 years ago
FortranCInterface.cmake 71491bbe8f FortranCInterface: Pass all flags to VERIFY project (#13579) 13 years ago
GNUInstallDirs.cmake 43f83d2ee5 GNUInstallDirs: add support for Debian multiarch 14 years ago
GenerateExportHeader.cmake ccd502ad44 Merge topic 'improve-generateexportheader' 14 years ago
GetPrerequisites.cmake d269984e53 GetPrerequisites: Mark file_cmd as advanced cache entry 13 years ago
ITKCompatibility.cmake 77543bde41 Convert CMake-language commands to lower case 13 years ago
InstallRequiredSystemLibraries.cmake e4e6ea0714 InstallRequiredSystemLibraries: Use correct file names (#13315) 13 years ago
KDE3Macros.cmake 4be6783711 read less from version headers into variables 13 years ago
MacOSXBundleInfo.plist.in c1b8ad4e1d ENH: Allow users to specify a custom Info.plist template 18 years ago
MacOSXFrameworkInfo.plist.in f89dae7a94 ENH: Create Info.plist files in OS X Frameworks 17 years ago
MacroAddFileDependencies.cmake 9db3116226 Remove CMake-language block-end command arguments 13 years ago
NSIS.InstallOptions.ini.in 0eba9b638f ENH: allow for desktop link to be created and fix chop of last char in PATH on uninstall 18 years ago
NSIS.template.in 51da766a6d CPack/NSIS: Fix compatibility issues with prerelease NSIS (#13202) 13 years ago
ProcessorCount.cmake 3f9fa5cc7f ProcessorCount: Mark find_program vars as advanced (#13236) 13 years ago
Qt4ConfigDependentSettings.cmake 9db3116226 Remove CMake-language block-end command arguments 13 years ago
Qt4Macros.cmake 1f2694f52e Merge topic 'Qt4Macros-fix-resource-parsing' 13 years ago
RepositoryInfo.txt.in 930827d48c ENH: First draft of add_external_project functionality. Tweaks, dashboard fixing, more tests and documentation certain to follow as it gets used by others... 17 years ago
SelectLibraryConfigurations.cmake 23a257628b Merge topic 'test-SelectLibraryConfigurations' 13 years ago
Squish4RunTestCase.bat 3a0ffa6225 Squish: add support for squish 4 (#9734) 13 years ago
Squish4RunTestCase.sh 3a0ffa6225 Squish: add support for squish 4 (#9734) 13 years ago
SquishRunTestCase.bat 5fe7b17d98 ENH: adding functionality for finding Squish, adding Squish tests from CMake, and running Squish tests from ctest 17 years ago
SquishRunTestCase.sh 5fe7b17d98 ENH: adding functionality for finding Squish, adding Squish tests from CMake, and running Squish tests from ctest 17 years ago
SquishTestScript.cmake 3a0ffa6225 Squish: add support for squish 4 (#9734) 13 years ago
SystemInformation.cmake 9db3116226 Remove CMake-language block-end command arguments 13 years ago
SystemInformation.in 9daa4a6c3f Remove CMAKE_SHARED_MODULE_RUNTIME_${lang}_FLAG 16 years ago
TestBigEndian.cmake 9db3116226 Remove CMake-language block-end command arguments 13 years ago
TestCXXAcceptsFlag.cmake 9db3116226 Remove CMake-language block-end command arguments 13 years ago
TestEndianess.c.in b8fc8b324d ENH: Improve robustness of compiler INFO strings 17 years ago
TestForANSIForScope.cmake 9db3116226 Remove CMake-language block-end command arguments 13 years ago
TestForANSIStreamHeaders.cmake 8ebf74b02f Find* (and some other): use ${CMAKE_CURRENT_LIST_DIR} in include() 13 years ago
TestForANSIStreamHeaders.cxx 32b398e55b new try compile module 23 years ago
TestForAnsiForScope.cxx 7bbaa4283d Remove trailing whitespace from most CMake and C/C++ code 13 years ago
TestForSSTREAM.cmake 9db3116226 Remove CMake-language block-end command arguments 13 years ago
TestForSSTREAM.cxx 7bbaa4283d Remove trailing whitespace from most CMake and C/C++ code 13 years ago
TestForSTDNamespace.cmake 9db3116226 Remove CMake-language block-end command arguments 13 years ago
TestForSTDNamespace.cxx 7bbaa4283d Remove trailing whitespace from most CMake and C/C++ code 13 years ago
UseEcos.cmake 9db3116226 Remove CMake-language block-end command arguments 13 years ago
UseJava.cmake 9db3116226 Remove CMake-language block-end command arguments 13 years ago
UseJavaClassFilelist.cmake 9db3116226 Remove CMake-language block-end command arguments 13 years ago
UseJavaSymlinks.cmake 9db3116226 Remove CMake-language block-end command arguments 13 years ago
UsePkgConfig.cmake 9db3116226 Remove CMake-language block-end command arguments 13 years ago
UseQt4.cmake 691ac05d40 Qt4: Add SYSTEM option to include_directories. 13 years ago
UseSWIG.cmake 9db3116226 Remove CMake-language block-end command arguments 13 years ago
UseVTK40.cmake 77543bde41 Convert CMake-language commands to lower case 13 years ago
UseVTKBuildSettings40.cmake 77543bde41 Convert CMake-language commands to lower case 13 years ago
UseVTKConfig40.cmake 9db3116226 Remove CMake-language block-end command arguments 13 years ago
Use_wxWindows.cmake 9db3116226 Remove CMake-language block-end command arguments 13 years ago
UsewxWidgets.cmake 9db3116226 Remove CMake-language block-end command arguments 13 years ago
VTKCompatibility.cmake 9db3116226 Remove CMake-language block-end command arguments 13 years ago
WIX.template.in 3793dca08a CPack: WIX Product Icon, UI Banner, UI Dialog support (#13789) 13 years ago
WriteBasicConfigVersionFile.cmake 9db3116226 Remove CMake-language block-end command arguments 13 years ago
ecos_clean.cmake 9db3116226 Remove CMake-language block-end command arguments 13 years ago
exportheader.cmake.in dbd776dde7 Don't put what some compilers consider junk at the end of the line. 14 years ago
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 20 years ago
kde3uic.cmake 77543bde41 Convert CMake-language commands to lower case 13 years ago
readme.txt e2b1630830 Document CMAKE_FIND_PACKAGE_NAME 13 years ago

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