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.
- AddFileDependencies
- AndroidTestUtilities
- BundleUtilities
- CheckCCompilerFlag
- CheckCSourceCompiles
- CheckCSourceRuns
- CheckCXXCompilerFlag
- CheckCXXSourceCompiles
- CheckCXXSourceRuns
- CheckCXXSymbolExists
- CheckFortranCompilerFlag
- CheckFortranFunctionExists
- CheckFortranSourceCompiles
- CheckFortranSourceRuns
- CheckFunctionExists
- CheckIPOSupported
- CheckIncludeFileCXX
- CheckIncludeFile
- CheckIncludeFiles
- CheckLanguage
- CheckLibraryExists
- CheckPIESupported
- CheckPrototypeDefinition
- CheckStructHasMember
- CheckSymbolExists
- CheckTypeSize
- CheckVariableExists
- CMakeAddFortranSubdirectory
- CMakeBackwardCompatibilityCXX
- CMakeDependentOption
- CMakeFindDependencyMacro
- CMakeFindFrameworks
- CMakeFindPackageMode
- CMakeGraphVizOptions
- CMakePackageConfigHelpers
- CMakePrintHelpers
- CMakePrintSystemInformation
- CMakePushCheckState
- CMakeVerifyManifest
- CPackComponent
- CPackIFW
- CPackIFWConfigureFile
- CPack
- CSharpUtilities
- CTest
- CTestCoverageCollectGCOV
- CTestScriptMode
- CTestUseLaunchers
- Dart
- DeployQt4
- Documentation
- ExternalData
- ExternalProject
- FeatureSummary
- FetchContent
- FindPackageHandleStandardArgs
- FindPackageMessage
- FortranCInterface
- GenerateExportHeader
- GetPrerequisites
- GNUInstallDirs
- GoogleTest
- InstallRequiredSystemLibraries
- ProcessorCount
- SelectLibraryConfigurations
- SquishTestScript
- TestBigEndian
- TestForANSIForScope
- TestForANSIStreamHeaders
- TestForSSTREAM
- TestForSTDNamespace
- UseEcos
- UseJavaClassFilelist
- UseJava
- UseJavaSymlinks
- UseSWIG
- UsewxWidgets
- WriteCompilerDetectionHeader
Find Modules¶
These modules search for third-party software.
They are normally called through the find_package()
command.
- FindALSA
- FindArmadillo
- FindASPELL
- FindAVIFile
- FindBISON
- FindBLAS
- FindBacktrace
- FindBoost
- FindBullet
- FindBZip2
- FindCABLE
- FindCoin3D
- FindCups
- FindCURL
- FindCurses
- FindCVS
- FindCxxTest
- FindCygwin
- FindDart
- FindDCMTK
- FindDevIL
- FindDoxygen
- FindEXPAT
- FindFLEX
- FindFLTK2
- FindFLTK
- FindFontconfig
- FindFreetype
- FindGCCXML
- FindGDAL
- FindGettext
- FindGIF
- FindGit
- FindGLEW
- FindGLUT
- FindGnuplot
- FindGnuTLS
- FindGSL
- FindGTest
- FindGTK2
- FindGTK
- FindHDF5
- FindHg
- FindHSPELL
- FindHTMLHelp
- FindIce
- FindIcotool
- FindICU
- FindImageMagick
- FindIconv
- FindIntl
- FindITK
- FindJasper
- FindJava
- FindJNI
- FindJPEG
- FindKDE3
- FindKDE4
- FindLAPACK
- FindLATEX
- FindLibArchive
- FindLibinput
- FindLibLZMA
- FindLibXml2
- FindLibXslt
- FindLTTngUST
- FindLua50
- FindLua51
- FindLua
- FindMatlab
- FindMFC
- FindMotif
- FindMPEG2
- FindMPEG
- FindMPI
- FindODBC
- FindOpenACC
- FindOpenAL
- FindOpenCL
- FindOpenGL
- FindOpenMP
- FindOpenSceneGraph
- FindOpenSSL
- FindOpenThreads
- FindosgAnimation
- FindosgDB
- Findosg_functions
- FindosgFX
- FindosgGA
- FindosgIntrospection
- FindosgManipulator
- FindosgParticle
- FindosgPresentation
- FindosgProducer
- FindosgQt
- Findosg
- FindosgShadow
- FindosgSim
- FindosgTerrain
- FindosgText
- FindosgUtil
- FindosgViewer
- FindosgVolume
- FindosgWidget
- FindPatch
- FindPerlLibs
- FindPerl
- FindPHP4
- FindPhysFS
- FindPike
- FindPkgConfig
- FindPNG
- FindPostgreSQL
- FindProducer
- FindProtobuf
- FindPython
- FindPython2
- FindPython3
- FindQt3
- FindQt4
- FindQuickTime
- FindRTI
- FindRuby
- FindSDL_image
- FindSDL_mixer
- FindSDL_net
- FindSDL
- FindSDL_sound
- FindSDL_ttf
- FindSelfPackers
- FindSquish
- FindSQLite3
- FindSubversion
- FindSWIG
- FindTCL
- FindTclsh
- FindTclStub
- FindThreads
- FindTIFF
- FindUnixCommands
- FindVTK
- FindVulkan
- FindWget
- FindWish
- FindwxWidgets
- FindXCTest
- FindXalanC
- FindXercesC
- FindX11
- FindXMLRPC
- FindZLIB