cmake-modules(7)¶
The modules listed here are part of the CMake distribution.
Projects may provide further modules; their location(s)
can be specified in the CMAKE_MODULE_PATH
variable.
Utility Modules¶
These modules are loaded using the include()
command.
- AndroidTestUtilities
- BundleUtilities
- CheckCCompilerFlag
- CheckCompilerFlag
- CheckCSourceCompiles
- CheckCSourceRuns
- CheckCXXCompilerFlag
- CheckCXXSourceCompiles
- CheckCXXSourceRuns
- CheckCXXSymbolExists
- CheckFortranCompilerFlag
- CheckFortranFunctionExists
- CheckFortranSourceCompiles
- CheckFortranSourceRuns
- CheckFunctionExists
- CheckIncludeFileCXX
- CheckIncludeFile
- CheckIncludeFiles
- CheckIPOSupported
- CheckLanguage
- CheckLibraryExists
- CheckLinkerFlag
- CheckOBJCCompilerFlag
- CheckOBJCSourceCompiles
- CheckOBJCSourceRuns
- CheckOBJCXXCompilerFlag
- CheckOBJCXXSourceCompiles
- CheckOBJCXXSourceRuns
- CheckPIESupported
- CheckPrototypeDefinition
- CheckSourceCompiles
- CheckSourceRuns
- CheckStructHasMember
- CheckSymbolExists
- CheckTypeSize
- CheckVariableExists
- CMakeAddFortranSubdirectory
- CMakeBackwardCompatibilityCXX
- CMakeDependentOption
- CMakeFindDependencyMacro
- CMakeFindFrameworks
- CMakeFindPackageMode
- CMakeGraphVizOptions
- CMakePackageConfigHelpers
- CMakePrintHelpers
- CMakePrintSystemInformation
- CMakePushCheckState
- CMakeVerifyManifest
- CPack
- CPackComponent
- CPackIFW
- CPackIFWConfigureFile
- CSharpUtilities
- CTest
- CTestCoverageCollectGCOV
- CTestScriptMode
- CTestUseLaunchers
- Dart
- DeployQt4
- ExternalData
- ExternalProject
- FeatureSummary
- FetchContent
- FindPackageHandleStandardArgs
- FindPackageMessage
- FortranCInterface
- GenerateExportHeader
- GetPrerequisites
- GNUInstallDirs
- GoogleTest
- InstallRequiredSystemLibraries
- ProcessorCount
- SelectLibraryConfigurations
- SquishTestScript
- TestBigEndian
- TestForANSIForScope
- TestForANSIStreamHeaders
- TestForSSTREAM
- TestForSTDNamespace
- UseEcos
- UseJava
- UseSWIG
- UsewxWidgets
Find Modules¶
These modules search for third-party software.
They are normally called through the find_package()
command.
- FindALSA
- FindArmadillo
- FindASPELL
- FindAVIFile
- FindBacktrace
- FindBISON
- FindBLAS
- FindBoost
- FindBullet
- FindBZip2
- FindCABLE
- FindCoin3D
- FindCUDAToolkit
- FindCups
- FindCURL
- FindCurses
- FindCVS
- FindCxxTest
- FindCygwin
- FindDart
- FindDCMTK
- FindDevIL
- FindDoxygen
- FindEnvModules
- FindEXPAT
- FindFLEX
- FindFLTK
- FindFLTK2
- FindFontconfig
- FindFreetype
- FindGCCXML
- FindGDAL
- FindGettext
- FindGIF
- FindGit
- FindGLEW
- FindGLUT
- FindGnuplot
- FindGnuTLS
- FindGSL
- FindGTest
- FindGTK
- FindGTK2
- FindHDF5
- FindHg
- FindHSPELL
- FindHTMLHelp
- FindIce
- FindIconv
- FindIcotool
- FindICU
- FindImageMagick
- FindIntl
- FindITK
- FindJasper
- FindJava
- FindJNI
- FindJPEG
- FindKDE3
- FindKDE4
- FindLAPACK
- FindLATEX
- FindLibArchive
- FindLibinput
- FindLibLZMA
- FindLibXml2
- FindLibXslt
- FindLTTngUST
- FindLua
- FindLua50
- FindLua51
- FindMatlab
- FindMFC
- FindMotif
- FindMPEG
- FindMPEG2
- FindMPI
- FindODBC
- FindOpenACC
- FindOpenAL
- FindOpenCL
- FindOpenGL
- FindOpenMP
- FindOpenSceneGraph
- FindOpenSSL
- FindOpenThreads
- Findosg
- Findosg_functions
- FindosgAnimation
- FindosgDB
- FindosgFX
- FindosgGA
- FindosgIntrospection
- FindosgManipulator
- FindosgParticle
- FindosgPresentation
- FindosgProducer
- FindosgQt
- FindosgShadow
- FindosgSim
- FindosgTerrain
- FindosgText
- FindosgUtil
- FindosgViewer
- FindosgVolume
- FindosgWidget
- FindPatch
- FindPerl
- FindPerlLibs
- FindPHP4
- FindPhysFS
- FindPike
- FindPkgConfig
- FindPNG
- FindPostgreSQL
- FindProducer
- FindProtobuf
- FindPython
- FindPython2
- FindPython3
- FindQt3
- FindQt4
- FindQuickTime
- FindRTI
- FindRuby
- FindSDL
- FindSDL_image
- FindSDL_mixer
- FindSDL_net
- FindSDL_sound
- FindSDL_ttf
- FindSelfPackers
- FindSquish
- FindSQLite3
- FindSubversion
- FindSWIG
- FindTCL
- FindTclsh
- FindTclStub
- FindThreads
- FindTIFF
- FindUnixCommands
- FindVTK
- FindVulkan
- FindWget
- FindWish
- FindwxWidgets
- FindX11
- FindXalanC
- FindXCTest
- FindXercesC
- FindXMLRPC
- FindZLIB
Deprecated Modules¶
Deprecated Utility Modules¶
Deprecated Find Modules¶
Legacy CPack Modules¶
These modules used to be mistakenly exposed to the user, and have been moved out of user visibility. They are for CPack internal use, and should never be used directly.