CMake/Modules
Kitware Robot a77e308693 CPack: Replace #<type> markup with reStructuredText equivalent
Drop #end and #module.  Convert #section to a subsection header.
Convert #variable to the cmake domain "variable" directive.
Convert #macro to the cmake domain "command" directive.
Perform minor formatting fixes in text near these changes.
2013-10-16 09:22:39 -04:00
..
CMakeAddFortranSubdirectory CMakeAddFortranSubdirectory: Allow full paths to directories 2012-02-09 08:34:06 -05:00
Compiler Merge topic 'apple-clang-id' 2013-10-09 10:21:28 -04:00
CompilerId VS: Replace ArchitectureId with PlatformName 2013-08-05 13:38:26 +02:00
FindCUDA Fix spelling and typos (affecting binary data / module messages) 2013-05-07 08:39:19 -04:00
FortranCInterface FortranCInterface: Fix cross-compiling Linux to MinGW (#14358) 2013-08-14 19:31:31 -04:00
IntelVSImplicitPath Simplify IntelVSImplicitPath detection project 2011-09-14 14:06:02 -04:00
Platform OS X: Encode -F framework search flag in per-language platform variable 2013-10-10 08:33:25 -04:00
AddFileDependencies.cmake Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
AutomocInfo.cmake.in QtAutomoc: Get the Qt version through the target link interface 2013-05-28 01:19:37 +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 Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -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 Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
CMakeAddNewLanguage.txt Document external language support policy 2012-10-30 14:02:46 -04:00
CMakeBackwardCompatibilityC.cmake replace string(... MATCHES "^const$) with string(... STREQUAL "const") 2013-06-02 22:18:19 +02:00
CMakeBackwardCompatibilityCXX.cmake Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
CMakeBorlandFindMake.cmake Convert CMake-language commands to lower case 2012-08-13 14:19:16 -04:00
CMakeBuildSettings.cmake.in Drop old CMake "build settings" export/import 2009-09-08 15:55:41 -04:00
CMakeCCompiler.cmake.in CMakeDetermineCompilerId: Add notion of "simulated" id/version 2013-10-04 13:25:06 -04:00
CMakeCCompilerABI.c
CMakeCCompilerId.c.in Merge topic 'apple-clang-id' 2013-10-09 10:21:28 -04:00
CMakeCInformation.cmake Remove CMake-language block-end command arguments 2012-08-13 14:19:16 -04:00
CMakeCXXCompiler.cmake.in CMakeDetermineCompilerId: Add notion of "simulated" id/version 2013-10-04 13:25:06 -04:00
CMakeCXXCompilerABI.cpp
CMakeCXXCompilerId.cpp.in Merge topic 'apple-clang-id' 2013-10-09 10:21:28 -04:00
CMakeCXXInformation.cmake Remove CMake-language block-end command arguments 2012-08-13 14:19:16 -04:00
CMakeCheckCompilerFlagCommonPatterns.cmake Check*CompilerFlag: Add SunStudio 12 regex 2013-10-08 09:23:01 -04:00
CMakeClDeps.cmake Ninja: also detect /showInclude prefix for icl 2012-08-27 14:49:51 +02:00
CMakeCommonLanguageInclude.cmake Add CMAKE_STATIC_LINKER_FLAGS to CMakeCommonLanguageInclude 2013-07-31 08:41:07 -04:00
CMakeCompilerABI.h -check for the ARM ABI/EABI compiler ABI for the GNU compilers 2010-04-11 00:15:23 +02:00
CMakeConfigurableFile.in
CMakeDependentOption.cmake Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
CMakeDetermineASM-ATTCompiler.cmake asm support: adapt to changes in CMakeDetectCompiler in 2.8.10 2013-06-14 08:54:34 -04:00
CMakeDetermineASMCompiler.cmake Merge topic 'FixAsmSupport' 2013-06-14 09:00:48 -04:00
CMakeDetermineASM_MASMCompiler.cmake Remove CMake-language block-end command arguments 2012-08-13 14:19:16 -04:00
CMakeDetermineASM_NASMCompiler.cmake asm support: adapt to changes in CMakeDetectCompiler in 2.8.10 2013-06-14 08:54:34 -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 OS X: Enable command-line build without tools in PATH 2013-08-06 09:00:18 -04:00
CMakeDetermineCompilerABI.cmake Revert "Add compiler target compile options." 2013-08-09 14:28:43 +02:00
CMakeDetermineCompilerId.cmake Merge topic 'clang-cl-compiler' 2013-10-08 10:58:56 -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 Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
CMakeExpandImportedTargets.cmake Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04: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 Clang: Support Windows variants for GNU and MSVC (#13035, #14458) 2013-10-04 13:39:22 -04:00
CMakeFindCodeBlocks.cmake Remove CMake-language block-end command arguments 2012-08-13 14:19:16 -04:00
CMakeFindEclipseCDT4.cmake Eclipse: add version 4.3 for completeness 2013-09-19 00:58:25 +02:00
CMakeFindFrameworks.cmake Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
CMakeFindKDevelop3.cmake Remove CMake-language block-end command arguments 2012-08-13 14:19:16 -04:00
CMakeFindPackageMode.cmake Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -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 Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -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
CMakeGraphVizOptions.cmake CPack: Replace #<type> markup with reStructuredText equivalent 2013-10-16 09:22:39 -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 MinGW: Find mingw32-make included with Code::Blocks IDE (#14302) 2013-07-19 07:56:37 -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 Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
CMakeParseArguments.cmake Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
CMakeParseImplicitLinkInfo.cmake Sanitize linker name to parse implicit link line (#14154) 2013-05-17 08:47:35 -04:00
CMakePlatformId.h.in CMakeDetermineCompilerId: Add notion of "simulated" id/version 2013-10-04 13:25:06 -04:00
CMakePrintHelpers.cmake Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
CMakePrintSystemInformation.cmake Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
CMakePushCheckState.cmake Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -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 Fortran: Use explicit type in Fortran 90 check 2013-07-01 15:10:08 -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 OS X: Enable command-line build without tools in PATH 2013-08-06 09:00:18 -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
CMakeVS12FindMake.cmake VS12: Add Visual Studio 12 generator (#14251) 2013-06-28 18:13:14 -04:00
CMakeVS71FindMake.cmake Convert CMake-language commands to lower case 2012-08-13 14:19:16 -04:00
CMakeVerifyManifest.cmake Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -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: Fix bash-isms in launch script 2009-10-05 13:14:30 -04:00
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 CPack: Replace #<type> markup with reStructuredText equivalent 2013-10-16 09:22:39 -04:00
CPack.distribution.dist.in
CPackBundle.cmake CPack: Replace #<type> markup with reStructuredText equivalent 2013-10-16 09:22:39 -04:00
CPackComponent.cmake CPack: Replace #<type> markup with reStructuredText equivalent 2013-10-16 09:22:39 -04:00
CPackCygwin.cmake CPack: Replace #<type> markup with reStructuredText equivalent 2013-10-16 09:22:39 -04:00
CPackDMG.cmake CPack: Replace #<type> markup with reStructuredText equivalent 2013-10-16 09:22:39 -04:00
CPackDeb.cmake CPack: Replace #<type> markup with reStructuredText equivalent 2013-10-16 09:22:39 -04:00
CPackNSIS.cmake CPack: Replace #<type> markup with reStructuredText equivalent 2013-10-16 09:22:39 -04:00
CPackPackageMaker.cmake CPack: Replace #<type> markup with reStructuredText equivalent 2013-10-16 09:22:39 -04:00
CPackRPM.cmake CPack: Replace #<type> markup with reStructuredText equivalent 2013-10-16 09:22:39 -04:00
CPackWIX.cmake CPack: Replace #<type> markup with reStructuredText equivalent 2013-10-16 09:22:39 -04:00
CPackZIP.cmake Remove CMake-language block-end command arguments 2012-08-13 14:19:16 -04:00
CTest.cmake Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
CTestScriptMode.cmake Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
CTestTargets.cmake CTest: Fail early without PROJECT_BINARY_DIR (#14005) 2013-03-12 18:20:44 -04:00
CTestUseLaunchers.cmake Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
CheckCCompilerFlag.cmake Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
CheckCSourceCompiles.cmake Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
CheckCSourceRuns.cmake Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
CheckCXXCompilerFlag.cmake Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
CheckCXXSourceCompiles.cmake Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
CheckCXXSourceRuns.cmake Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
CheckCXXSymbolExists.cmake Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
CheckForPthreads.c Haiku no longer defines __BEOS__ 2013-01-07 21:20:11 +01:00
CheckFortranFunctionExists.cmake Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
CheckFunctionExists.c
CheckFunctionExists.cmake Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
CheckIncludeFile.c.in
CheckIncludeFile.cmake Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
CheckIncludeFile.cxx.in
CheckIncludeFileCXX.cmake Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
CheckIncludeFiles.cmake Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
CheckLanguage.cmake Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
CheckLibraryExists.cmake Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
CheckLibraryExists.lists.in
CheckPrototypeDefinition.c.in Modules: Added CheckPrototypeDefinition module. 2011-03-18 14:03:35 -04:00
CheckPrototypeDefinition.cmake Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
CheckSizeOf.cmake Fix spelling and typos (non-binary) 2013-05-07 08:39:19 -04:00
CheckStructHasMember.cmake Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
CheckSymbolExists.cmake Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
CheckTypeSize.c.in New CheckTypeSize for OS X Universal Binaries 2009-12-17 15:14:47 -05:00
CheckTypeSize.cmake Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
CheckTypeSizeMap.cmake.in New CheckTypeSize for OS X Universal Binaries 2009-12-17 15:14:47 -05:00
CheckVariableExists.c
CheckVariableExists.cmake Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
Dart.cmake Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
DartConfiguration.tcl.in ctest_update: Tell svn not to prompt interactively (#13024) 2012-09-25 13:36:47 -04:00
DeployQt4.cmake Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
Documentation.cmake Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
DummyCXXFile.cxx
ExternalData.cmake Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
ExternalData_config.cmake.in Add ExternalData module 2013-01-24 13:32:17 -05:00
ExternalProject.cmake Help: Fix reStructuredText syntax in auto-generated documents 2013-10-15 14:12:49 -04:00
FLTKCompatibility.cmake Convert CMake-language commands to lower case 2012-08-13 14:19:16 -04:00
FeatureSummary.cmake Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
FindALSA.cmake Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
FindASPELL.cmake Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
FindAVIFile.cmake Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
FindArmadillo.cmake Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
FindBISON.cmake Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
FindBLAS.cmake Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
FindBZip2.cmake Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
FindBoost.cmake Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
FindBullet.cmake Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
FindCABLE.cmake Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
FindCUDA.cmake Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
FindCURL.cmake Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
FindCVS.cmake Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
FindCoin3D.cmake Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
FindCups.cmake Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
FindCurses.cmake Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
FindCxxTest.cmake Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
FindCygwin.cmake Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
FindDCMTK.cmake Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
FindDart.cmake Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
FindDevIL.cmake Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
FindDoxygen.cmake Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
FindEXPAT.cmake Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
FindFLEX.cmake Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
FindFLTK.cmake Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
FindFLTK2.cmake Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
FindFreetype.cmake Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
FindGCCXML.cmake Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
FindGDAL.cmake Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
FindGIF.cmake Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
FindGLEW.cmake Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
FindGLU.cmake Find* (and some other): use ${CMAKE_CURRENT_LIST_DIR} in include() 2012-11-04 05:55:37 +01:00
FindGLUT.cmake Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
FindGTK.cmake Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
FindGTK2.cmake Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
FindGTest.cmake Help: Fix reStructuredText syntax in auto-generated documents 2013-10-15 14:12:49 -04:00
FindGettext.cmake Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
FindGit.cmake Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
FindGnuTLS.cmake Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
FindGnuplot.cmake Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
FindHDF5.cmake Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
FindHSPELL.cmake Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
FindHTMLHelp.cmake Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
FindHg.cmake Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
FindITK.cmake Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
FindIcotool.cmake Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
FindImageMagick.cmake Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
FindJNI.cmake Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
FindJPEG.cmake Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
FindJasper.cmake Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
FindJava.cmake Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
FindKDE3.cmake Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
FindKDE4.cmake Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
FindLAPACK.cmake Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
FindLATEX.cmake Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
FindLibArchive.cmake Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
FindLibLZMA.cmake Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
FindLibXml2.cmake Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
FindLibXslt.cmake Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
FindLua.cmake Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
FindLua50.cmake Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
FindLua51.cmake Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
FindMFC.cmake Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
FindMPEG.cmake Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
FindMPEG2.cmake Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
FindMPI.cmake Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
FindMatlab.cmake Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
FindMotif.cmake Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
FindOpenAL.cmake Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
FindOpenGL.cmake Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
FindOpenMP.cmake Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
FindOpenSSL.cmake Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
FindOpenSceneGraph.cmake Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
FindOpenThreads.cmake Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
FindPHP4.cmake Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
FindPNG.cmake Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
FindPackageHandleStandardArgs.cmake Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
FindPackageMessage.cmake Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
FindPerl.cmake Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
FindPerlLibs.cmake Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
FindPhysFS.cmake Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
FindPike.cmake Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
FindPkgConfig.cmake Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
FindPostgreSQL.cmake Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
FindProducer.cmake Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
FindProtobuf.cmake Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
FindPythonInterp.cmake Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
FindPythonLibs.cmake Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
FindQt.cmake Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
FindQt3.cmake Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
FindQt4.cmake Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
FindQuickTime.cmake Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
FindRTI.cmake Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
FindRuby.cmake Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
FindSDL.cmake Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
FindSDL_image.cmake Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
FindSDL_mixer.cmake Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
FindSDL_net.cmake Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
FindSDL_sound.cmake Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
FindSDL_ttf.cmake Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
FindSWIG.cmake Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
FindSelfPackers.cmake Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
FindSquish.cmake Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
FindSubversion.cmake Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
FindTCL.cmake Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
FindTIFF.cmake Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
FindTclStub.cmake Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
FindTclsh.cmake Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
FindThreads.cmake Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
FindUnixCommands.cmake Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
FindVTK.cmake Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
FindWget.cmake Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
FindWish.cmake Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
FindX11.cmake Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
FindXMLRPC.cmake Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
FindZLIB.cmake Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
Findosg.cmake Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
FindosgAnimation.cmake Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
FindosgDB.cmake Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
FindosgFX.cmake Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
FindosgGA.cmake Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
FindosgIntrospection.cmake Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
FindosgManipulator.cmake Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
FindosgParticle.cmake Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
FindosgPresentation.cmake Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
FindosgProducer.cmake Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
FindosgQt.cmake Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
FindosgShadow.cmake Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
FindosgSim.cmake Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
FindosgTerrain.cmake Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
FindosgText.cmake Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
FindosgUtil.cmake Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
FindosgViewer.cmake Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
FindosgVolume.cmake Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
FindosgWidget.cmake Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
Findosg_functions.cmake Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
FindwxWidgets.cmake Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
FindwxWindows.cmake Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
FortranCInterface.cmake Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
GNUInstallDirs.cmake Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
GenerateExportHeader.cmake Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
GetPrerequisites.cmake Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
ITKCompatibility.cmake Convert CMake-language commands to lower case 2012-08-13 14:19:16 -04:00
InstallRequiredSystemLibraries.cmake Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -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 Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -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 Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
Qt4ConfigDependentSettings.cmake Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
Qt4Macros.cmake Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
RepositoryInfo.txt.in
SelectLibraryConfigurations.cmake Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -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 Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
SystemInformation.cmake Remove CMake-language block-end command arguments 2012-08-13 14:19:16 -04:00
SystemInformation.in Remove CMAKE_SHARED_MODULE_RUNTIME_${lang}_FLAG 2009-12-02 15:17:32 -05:00
TestBigEndian.cmake Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
TestCXXAcceptsFlag.cmake Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
TestEndianess.c.in
TestForANSIForScope.cmake Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
TestForANSIStreamHeaders.cmake Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04: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 Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
TestForSSTREAM.cxx Remove trailing whitespace from most CMake and C/C++ code 2012-08-13 14:18:39 -04:00
TestForSTDNamespace.cmake Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
TestForSTDNamespace.cxx Remove trailing whitespace from most CMake and C/C++ code 2012-08-13 14:18:39 -04:00
UseEcos.cmake Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
UseJava.cmake Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
UseJavaClassFilelist.cmake Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
UseJavaSymlinks.cmake Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
UsePkgConfig.cmake Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
UseQt4.cmake Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
UseSWIG.cmake Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -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 Help: Fix reStructuredText syntax in auto-generated documents 2013-10-15 14:12:49 -04:00
UsewxWidgets.cmake Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -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 Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
ecos_clean.cmake Remove CMake-language block-end command arguments 2012-08-13 14:19:16 -04:00
exportheader.cmake.in GEH: Make each element of the deprecation macros overridable. 2013-09-23 08:04:16 +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).