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
- DeployQt4
- ExternalData
- ExternalProject
- FeatureSummary
- FetchContent
- FindPackageHandleStandardArgs
- FindPackageMessage
- FortranCInterface
- GenerateExportHeader
- GNUInstallDirs
- GoogleTest
- InstallRequiredSystemLibraries
- ProcessorCount
- SelectLibraryConfigurations
- SquishTestScript
- 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
- FindBullet
- FindBZip2
- FindCABLE
- FindCoin3D
- FindCUDAToolkit
- FindCups
- FindCURL
- FindCurses
- FindCVS
- FindCxxTest
- FindCygwin
- 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
- FindJasper
- FindJava
- FindJNI
- FindJPEG
- FindKDE3
- FindKDE4
- FindLAPACK
- FindLATEX
- FindLibArchive
- FindLibinput
- FindLibLZMA
- FindLibXml2
- FindLibXslt
- FindLTTngUST
- FindLua
- FindLua50
- FindLua51
- FindMatlab
- FindMFC
- FindMotif
- FindMPEG
- FindMPEG2
- FindMPI
- FindMsys
- FindODBC
- FindOpenACC
- FindOpenAL
- FindOpenCL
- FindOpenGL
- FindOpenMP
- FindOpenSceneGraph
- FindOpenSP
- 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_gfx
- FindSDL_mixer
- FindSDL_net
- FindSDL_sound
- FindSDL_ttf
- FindSelfPackers
- FindSquish
- FindSQLite3
- FindSubversion
- FindSWIG
- FindTCL
- FindTclsh
- FindTclStub
- FindThreads
- FindTIFF
- FindVulkan
- FindWget
- FindWish
- FindwxWidgets
- FindX11
- FindXalanC
- FindXCTest
- FindXercesC
- FindXMLRPC
- FindZLIB
Deprecated Modules¶
Deprecated Utility Modules¶
- AddFileDependencies
- CMakeDetermineVSServicePack
- CMakeExpandImportedTargets
- CMakeForceCompiler
- CMakeParseArguments
- Dart
- Documentation
- GetPrerequisites
- MacroAddFileDependencies
- TestBigEndian
- TestCXXAcceptsFlag
- UseJavaClassFilelist
- UseJavaSymlinks
- UsePkgConfig
- Use_wxWindows
- WriteBasicConfigVersionFile
- WriteCompilerDetectionHeader
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.