CMake/Modules
Brad King 1f73d65177 Merge topic 'FindBoost-normalize-slashes'
363825c FindBoost: Fix handling of \ in input paths (#14179)
2013-05-31 09:33:35 -04:00
..
CMakeAddFortranSubdirectory CMakeAddFortranSubdirectory: Allow full paths to directories 2012-02-09 08:34:06 -05:00
Compiler Add support files for C, C++ and ASM for the IAR toolchain. 2013-04-15 09:11:17 -04:00
CompilerId Xcode: Use explicitFileType to mark source types (#14093) 2013-04-16 15:44:48 -04:00
FindCUDA Fix spelling and typos (affecting binary data / module messages) 2013-05-07 08:39:19 -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 Merge topic 'vs-configurations' 2013-05-16 14:38:40 -04: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 Modules: Fix spelling 'To distributed' -> 'To distribute' 2010-08-09 08:48:31 -04:00
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 Add IAR to the CMakeDetectC(XX)CompilerID.c(pp).in 2013-04-15 09:14:35 -04: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 Add IAR to the CMakeDetectC(XX)CompilerID.c(pp).in 2013-04-15 09:14:35 -04: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 Add regexps for the IAR toolchain to the vendor list. 2013-04-15 09:13:10 -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 Add regexps for the IAR toolchain to the vendor list. 2013-04-15 09:13:10 -04:00
CMakeDetermineCXXCompiler.cmake Add regexps for the IAR toolchain to the vendor list. 2013-04-15 09:13:10 -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 VS: Detect MSVC compiler id on ARM toolchain 2013-05-08 09:10:52 -04:00
CMakeDetermineFortranCompiler.cmake Determine C/CXX/Fortran compiler: fix indentation 2013-03-14 21:47:49 +01: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 Fix some copyastos in the DetermineRCCompiler file. 2013-04-14 09:03:48 +02:00
CMakeDetermineSystem.cmake fix Windows processor detection 2013-03-06 18:04:53 +01: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: also detect include dirs and macro for clang (#13823) 2013-02-10 18:58:27 +01:00
CMakeFindBinUtils.cmake TI compiler: add automatic detection of prefix and suffixes 2013-03-14 21:48:09 +01: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 Fix spelling and typos (non-binary) 2013-05-07 08:39:19 -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 Handle usr-move without forcing absolute paths (#14041) 2013-04-03 11:19:47 -04:00
CMakeParseArguments.cmake Fix spelling and typos (non-binary) 2013-05-07 08:39:19 -04:00
CMakeParseImplicitLinkInfo.cmake Sanitize linker name to parse implicit link line (#14154) 2013-05-17 08:47:35 -04: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 CMakeSystem: include toolchain file after setting CMAKE_HOST_ (#13796) 2013-04-15 09:06:21 -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 CPackSTGZ quote here-doc, fix bug10518 2010-12-15 21:20:13 +01:00
CPack.VolumeIcon.icns.in
CPack.background.png.in
CPack.cmake Improve documentation for CPACK_PACKAGE_INSTALL_REGISTRY_KEY. 2013-05-13 22:22:45 -06: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 Fix spelling and typos (non-binary) 2013-05-07 08:39:19 -04:00
CPackRPM.cmake Merge topic 'CPackRPM-avoidOwningSystemDirs' 2013-05-16 14:36:00 -04: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 CTest: Fail early without PROJECT_BINARY_DIR (#14005) 2013-03-12 18:20:44 -04:00
CTestUseLaunchers.cmake enable CTEST_USE_LAUNCHERS with Ninja too 2012-11-30 03:46:55 +01:00
CheckCCompilerFlag.cmake Check{C,CXX}CompilerFlag: Test using C locale (#14102) 2013-04-22 08:50:08 -04:00
CheckCSourceCompiles.cmake Handle targets in the LINK_LIBRARIES of try_compile. 2013-02-22 08:35:39 -05:00
CheckCSourceRuns.cmake Handle targets in the LINK_LIBRARIES of try_compile. 2013-02-22 08:35:39 -05:00
CheckCXXCompilerFlag.cmake Check{C,CXX}CompilerFlag: Test using C locale (#14102) 2013-04-22 08:50:08 -04:00
CheckCXXSourceCompiles.cmake Handle targets in the LINK_LIBRARIES of try_compile. 2013-02-22 08:35:39 -05:00
CheckCXXSourceRuns.cmake Handle targets in the LINK_LIBRARIES of try_compile. 2013-02-22 08:35:39 -05: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 Handle targets in the LINK_LIBRARIES of try_compile. 2013-02-22 08:35:39 -05:00
CheckFunctionExists.c
CheckFunctionExists.cmake Fix spelling and typos (non-binary) 2013-05-07 08:39:19 -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 Handle targets in the LINK_LIBRARIES of try_compile. 2013-02-22 08:35:39 -05:00
CheckLibraryExists.lists.in
CheckPrototypeDefinition.c.in Modules: Added CheckPrototypeDefinition module. 2011-03-18 14:03:35 -04:00
CheckPrototypeDefinition.cmake Handle targets in the LINK_LIBRARIES of try_compile. 2013-02-22 08:35:39 -05:00
CheckSizeOf.cmake Fix spelling and typos (non-binary) 2013-05-07 08:39:19 -04:00
CheckStructHasMember.cmake Remove CMake-language block-end command arguments 2012-08-13 14:19:16 -04:00
CheckSymbolExists.cmake Handle targets in the LINK_LIBRARIES of try_compile. 2013-02-22 08:35:39 -05:00
CheckTypeSize.c.in
CheckTypeSize.cmake Handle targets in the LINK_LIBRARIES of try_compile. 2013-02-22 08:35:39 -05:00
CheckTypeSizeMap.cmake.in
CheckVariableExists.c
CheckVariableExists.cmake Handle targets in the LINK_LIBRARIES of try_compile. 2013-02-22 08:35:39 -05: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: Do not re-stage staged object files 2013-05-24 15:45:38 -04:00
ExternalData_config.cmake.in Add ExternalData module 2013-01-24 13:32:17 -05:00
ExternalProject.cmake ExternalProject: Allow blank SVN_USERNAME/SVN_PASSWORD (#14128) 2013-05-06 13:16:18 -04: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 Merge topic 'FindBoost-normalize-slashes' 2013-05-31 09:33:35 -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 'Cuda_WRAP_SRCS_duplicates' 2013-05-16 14:37:13 -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 Fix spelling and typos (non-binary) 2013-05-07 08:39:19 -04: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 Fix spelling and typos (non-binary) 2013-05-07 08:39:19 -04:00
FindIcotool.cmake Add module FindIcotool 2012-10-16 16:06:32 +04:00
FindImageMagick.cmake FindImageMagick: Search versioned suffixes (#14012) 2013-03-18 16:37:50 -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 Fix spelling and typos (non-binary) 2013-05-07 08:39:19 -04: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: require headers to be found on non-Windows platforms (#13746) 2013-04-17 12:59:52 +02:00
FindOpenMP.cmake FindOpenMP: improve documentation (#13895) 2013-02-13 19:38:00 +01:00
FindOpenSSL.cmake Merge topic 'doc-improvements' 2013-05-16 14:38:07 -04: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: Fix FOUND_VAR check to work with if() auto-dereference 2013-03-18 09:35:07 -04: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 FindProtobuf: also find pthread 2013-05-24 15:44:10 -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 Merge topic 'fix-build-without-qt4-with-qt5' 2013-05-21 15:13:21 -04: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 FindRuby: improve version selection 2013-03-18 20:17:08 +01: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 Fix spelling and typos (non-binary) 2013-05-07 08:39:19 -04: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 FindwxWidgets: add DOC strings with usual style 2013-05-07 08:42:20 -04:00
FindwxWindows.cmake Fix spelling and typos (non-binary) 2013-05-07 08:39:19 -04: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 'geh-cleanup-identifiers' 2013-05-24 09:20:20 -04:00
GetPrerequisites.cmake GetPrerequisites: Add documentation for objdump 2013-03-01 16:59:49 +01: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: Obtain path from which to uninstall from registry (#14124) 2013-05-02 10:22:20 -04:00
ProcessorCount.cmake ProcessorCount: Mark find_program vars as advanced (#13236) 2012-08-17 10:56:05 -04:00
Qt4ConfigDependentSettings.cmake Qt4: Fix typo setting a variable for FindThreads. 2013-04-02 07:46:51 -06: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 Fix spelling and typos (non-binary) 2013-05-07 08:39:19 -04:00
UseJava.cmake Merge topic 'use-java-use-parse-arguments' 2013-05-28 10:42:12 -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 Modules/readme.txt: make lines a bit shorter for easier readability 2013-03-28 10:39:14 -04: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 relevant 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).