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

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