OXIESEC PANEL
- Current Dir:
/
/
usr
/
local
/
doc
/
cmake
/
html
/
module
Server IP: 139.59.38.164
Upload:
Create Dir:
Name
Size
Modified
Perms
π
..
-
04/04/2023 07:10:48 PM
rwxr-xr-x
π
AddFileDependencies.html
6.97 KB
04/04/2023 07:05:13 PM
rw-r--r--
π
AndroidTestUtilities.html
11.57 KB
04/04/2023 07:05:13 PM
rw-r--r--
π
BundleUtilities.html
24.15 KB
04/04/2023 07:05:14 PM
rw-r--r--
π
CMakeAddFortranSubdirectory.html
8.05 KB
04/04/2023 07:05:14 PM
rw-r--r--
π
CMakeBackwardCompatibilityCXX.html
5.61 KB
04/04/2023 07:05:14 PM
rw-r--r--
π
CMakeDependentOption.html
9.43 KB
04/04/2023 07:05:14 PM
rw-r--r--
π
CMakeDetermineVSServicePack.html
6.52 KB
04/04/2023 07:05:14 PM
rw-r--r--
π
CMakeExpandImportedTargets.html
8.86 KB
04/04/2023 07:05:14 PM
rw-r--r--
π
CMakeFindDependencyMacro.html
11.09 KB
04/04/2023 07:05:14 PM
rw-r--r--
π
CMakeFindFrameworks.html
5.41 KB
04/04/2023 07:05:14 PM
rw-r--r--
π
CMakeFindPackageMode.html
6.5 KB
04/04/2023 07:05:14 PM
rw-r--r--
π
CMakeForceCompiler.html
10.23 KB
04/04/2023 07:05:14 PM
rw-r--r--
π
CMakeGraphVizOptions.html
15.93 KB
04/04/2023 07:05:14 PM
rw-r--r--
π
CMakePackageConfigHelpers.html
30.38 KB
04/04/2023 07:05:14 PM
rw-r--r--
π
CMakeParseArguments.html
5.58 KB
04/04/2023 07:05:14 PM
rw-r--r--
π
CMakePrintHelpers.html
7.05 KB
04/04/2023 07:05:14 PM
rw-r--r--
π
CMakePrintSystemInformation.html
5.29 KB
04/04/2023 07:05:14 PM
rw-r--r--
π
CMakePushCheckState.html
8.23 KB
04/04/2023 07:05:14 PM
rw-r--r--
π
CMakeVerifyManifest.html
5.51 KB
04/04/2023 07:05:14 PM
rw-r--r--
π
CPack.html
63.98 KB
04/04/2023 07:05:14 PM
rw-r--r--
π
CPackArchive.html
5.48 KB
04/04/2023 07:05:14 PM
rw-r--r--
π
CPackBundle.html
5.36 KB
04/04/2023 07:05:14 PM
rw-r--r--
π
CPackComponent.html
26.3 KB
04/04/2023 07:05:14 PM
rw-r--r--
π
CPackCygwin.html
5.33 KB
04/04/2023 07:05:14 PM
rw-r--r--
π
CPackDMG.html
5.32 KB
04/04/2023 07:05:14 PM
rw-r--r--
π
CPackDeb.html
5.29 KB
04/04/2023 07:05:14 PM
rw-r--r--
π
CPackFreeBSD.html
5.43 KB
04/04/2023 07:05:14 PM
rw-r--r--
π
CPackIFW.html
30.28 KB
04/04/2023 07:05:14 PM
rw-r--r--
π
CPackIFWConfigureFile.html
7 KB
04/04/2023 07:05:14 PM
rw-r--r--
π
CPackNSIS.html
5.32 KB
04/04/2023 07:05:14 PM
rw-r--r--
π
CPackNuGet.html
5.47 KB
04/04/2023 07:05:14 PM
rw-r--r--
π
CPackProductBuild.html
5.5 KB
04/04/2023 07:05:14 PM
rw-r--r--
π
CPackRPM.html
5.33 KB
04/04/2023 07:05:14 PM
rw-r--r--
π
CPackWIX.html
5.37 KB
04/04/2023 07:05:14 PM
rw-r--r--
π
CSharpUtilities.html
22.41 KB
04/04/2023 07:05:14 PM
rw-r--r--
π
CTest.html
8.11 KB
04/04/2023 07:05:14 PM
rw-r--r--
π
CTestCoverageCollectGCOV.html
13.64 KB
04/04/2023 07:05:14 PM
rw-r--r--
π
CTestScriptMode.html
5.14 KB
04/04/2023 07:05:14 PM
rw-r--r--
π
CTestUseLaunchers.html
6.6 KB
04/04/2023 07:05:14 PM
rw-r--r--
π
CheckCCompilerFlag.html
7.68 KB
04/04/2023 07:05:14 PM
rw-r--r--
π
CheckCSourceCompiles.html
11.89 KB
04/04/2023 07:05:14 PM
rw-r--r--
π
CheckCSourceRuns.html
11.61 KB
04/04/2023 07:05:14 PM
rw-r--r--
π
CheckCXXCompilerFlag.html
7.77 KB
04/04/2023 07:05:14 PM
rw-r--r--
π
CheckCXXSourceCompiles.html
11.97 KB
04/04/2023 07:05:14 PM
rw-r--r--
π
CheckCXXSourceRuns.html
11.65 KB
04/04/2023 07:05:14 PM
rw-r--r--
π
CheckCXXSymbolExists.html
11.76 KB
04/04/2023 07:05:14 PM
rw-r--r--
π
CheckCompilerFlag.html
7.89 KB
04/04/2023 07:05:14 PM
rw-r--r--
π
CheckFortranCompilerFlag.html
8.01 KB
04/04/2023 07:05:14 PM
rw-r--r--
π
CheckFortranFunctionExists.html
8.42 KB
04/04/2023 07:05:14 PM
rw-r--r--
π
CheckFortranSourceCompiles.html
13.92 KB
04/04/2023 07:05:14 PM
rw-r--r--
π
CheckFortranSourceRuns.html
12.96 KB
04/04/2023 07:05:14 PM
rw-r--r--
π
CheckFunctionExists.html
9.19 KB
04/04/2023 07:05:14 PM
rw-r--r--
π
CheckIPOSupported.html
11.62 KB
04/04/2023 07:05:14 PM
rw-r--r--
π
CheckIncludeFile.html
9.28 KB
04/04/2023 07:05:14 PM
rw-r--r--
π
CheckIncludeFileCXX.html
9.24 KB
04/04/2023 07:05:14 PM
rw-r--r--
π
CheckIncludeFiles.html
9.79 KB
04/04/2023 07:05:14 PM
rw-r--r--
π
CheckLanguage.html
7.45 KB
04/04/2023 07:05:14 PM
rw-r--r--
π
CheckLibraryExists.html
7.15 KB
04/04/2023 07:05:14 PM
rw-r--r--
π
CheckLinkerFlag.html
9.01 KB
04/04/2023 07:05:14 PM
rw-r--r--
π
CheckOBJCCompilerFlag.html
7.9 KB
04/04/2023 07:05:14 PM
rw-r--r--
π
CheckOBJCSourceCompiles.html
11.92 KB
04/04/2023 07:05:14 PM
rw-r--r--
π
CheckOBJCSourceRuns.html
11.63 KB
04/04/2023 07:05:15 PM
rw-r--r--
π
CheckOBJCXXCompilerFlag.html
7.98 KB
04/04/2023 07:05:15 PM
rw-r--r--
π
CheckOBJCXXSourceCompiles.html
11.99 KB
04/04/2023 07:05:15 PM
rw-r--r--
π
CheckOBJCXXSourceRuns.html
11.63 KB
04/04/2023 07:05:15 PM
rw-r--r--
π
CheckPIESupported.html
11.58 KB
04/04/2023 07:05:15 PM
rw-r--r--
π
CheckPrototypeDefinition.html
8.21 KB
04/04/2023 07:05:15 PM
rw-r--r--
π
CheckSourceCompiles.html
13.34 KB
04/04/2023 07:05:15 PM
rw-r--r--
π
CheckSourceRuns.html
12.93 KB
04/04/2023 07:05:15 PM
rw-r--r--
π
CheckStructHasMember.html
8.27 KB
04/04/2023 07:05:15 PM
rw-r--r--
π
CheckSymbolExists.html
10.57 KB
04/04/2023 07:05:15 PM
rw-r--r--
π
CheckTypeSize.html
11.37 KB
04/04/2023 07:05:15 PM
rw-r--r--
π
CheckVariableExists.html
7.15 KB
04/04/2023 07:05:15 PM
rw-r--r--
π
Dart.html
5.55 KB
04/04/2023 07:05:15 PM
rw-r--r--
π
DeployQt4.html
8.86 KB
04/04/2023 07:05:15 PM
rw-r--r--
π
Documentation.html
5.7 KB
04/04/2023 07:05:15 PM
rw-r--r--
π
ExternalData.html
39.76 KB
04/04/2023 07:05:15 PM
rw-r--r--
π
ExternalProject.html
119.65 KB
04/04/2023 07:05:15 PM
rw-r--r--
π
FeatureSummary.html
36.68 KB
04/04/2023 07:05:15 PM
rw-r--r--
π
FetchContent.html
138.33 KB
04/04/2023 07:05:15 PM
rw-r--r--
π
FindALSA.html
7.34 KB
04/04/2023 07:05:15 PM
rw-r--r--
π
FindASPELL.html
5.31 KB
04/04/2023 07:05:15 PM
rw-r--r--
π
FindAVIFile.html
5.58 KB
04/04/2023 07:05:15 PM
rw-r--r--
π
FindArmadillo.html
6.13 KB
04/04/2023 07:05:15 PM
rw-r--r--
π
FindBISON.html
12.23 KB
04/04/2023 07:05:15 PM
rw-r--r--
π
FindBLAS.html
19.4 KB
04/04/2023 07:05:15 PM
rw-r--r--
π
FindBZip2.html
8.33 KB
04/04/2023 07:05:15 PM
rw-r--r--
π
FindBacktrace.html
7.48 KB
04/04/2023 07:05:15 PM
rw-r--r--
π
FindBoost.html
39.14 KB
04/04/2023 07:05:16 PM
rw-r--r--
π
FindBullet.html
5.71 KB
04/04/2023 07:05:16 PM
rw-r--r--
π
FindCABLE.html
5.44 KB
04/04/2023 07:05:16 PM
rw-r--r--
π
FindCUDA.html
55.38 KB
04/04/2023 07:05:16 PM
rw-r--r--
π
FindCUDAToolkit.html
38.35 KB
04/04/2023 07:05:16 PM
rw-r--r--
π
FindCURL.html
8.86 KB
04/04/2023 07:05:16 PM
rw-r--r--
π
FindCVS.html
5.38 KB
04/04/2023 07:05:16 PM
rw-r--r--
π
FindCoin3D.html
5.4 KB
04/04/2023 07:05:16 PM
rw-r--r--
π
FindCups.html
7.61 KB
04/04/2023 07:05:16 PM
rw-r--r--
π
FindCurses.html
8.47 KB
04/04/2023 07:05:16 PM
rw-r--r--
π
FindCxxTest.html
8.86 KB
04/04/2023 07:05:16 PM
rw-r--r--
π
FindCygwin.html
4.97 KB
04/04/2023 07:05:16 PM
rw-r--r--
π
FindDCMTK.html
9.88 KB
04/04/2023 07:05:16 PM
rw-r--r--
π
FindDart.html
4.98 KB
04/04/2023 07:05:16 PM
rw-r--r--
π
FindDevIL.html
8.14 KB
04/04/2023 07:05:16 PM
rw-r--r--
π
FindDoxygen.html
35.36 KB
04/04/2023 07:05:16 PM
rw-r--r--
π
FindEXPAT.html
6.84 KB
04/04/2023 07:05:16 PM
rw-r--r--
π
FindEnvModules.html
17.08 KB
04/04/2023 07:05:16 PM
rw-r--r--
π
FindFLEX.html
9.8 KB
04/04/2023 07:05:16 PM
rw-r--r--
π
FindFLTK.html
9.31 KB
04/04/2023 07:05:16 PM
rw-r--r--
π
FindFLTK2.html
5.63 KB
04/04/2023 07:05:16 PM
rw-r--r--
π
FindFontconfig.html
6.83 KB
04/04/2023 07:05:16 PM
rw-r--r--
π
FindFreetype.html
7.93 KB
04/04/2023 07:05:16 PM
rw-r--r--
π
FindGCCXML.html
5.13 KB
04/04/2023 07:05:16 PM
rw-r--r--
π
FindGDAL.html
8.53 KB
04/04/2023 07:05:16 PM
rw-r--r--
π
FindGIF.html
7.91 KB
04/04/2023 07:05:16 PM
rw-r--r--
π
FindGLEW.html
9.01 KB
04/04/2023 07:05:16 PM
rw-r--r--
π
FindGLUT.html
8.84 KB
04/04/2023 07:05:16 PM
rw-r--r--
π
FindGSL.html
8.7 KB
04/04/2023 07:05:16 PM
rw-r--r--
π
FindGTK.html
5.16 KB
04/04/2023 07:05:16 PM
rw-r--r--
π
FindGTK2.html
14.35 KB
04/04/2023 07:05:16 PM
rw-r--r--
π
FindGTest.html
12.62 KB
04/04/2023 07:05:16 PM
rw-r--r--
π
FindGettext.html
7.29 KB
04/04/2023 07:05:16 PM
rw-r--r--
π
FindGit.html
6.74 KB
04/04/2023 07:05:16 PM
rw-r--r--
π
FindGnuTLS.html
6.81 KB
04/04/2023 07:05:16 PM
rw-r--r--
π
FindGnuplot.html
5.27 KB
04/04/2023 07:05:16 PM
rw-r--r--
π
FindHDF5.html
17.47 KB
04/04/2023 07:05:16 PM
rw-r--r--
π
FindHSPELL.html
5.53 KB
04/04/2023 07:05:16 PM
rw-r--r--
π
FindHTMLHelp.html
5.24 KB
04/04/2023 07:05:16 PM
rw-r--r--
π
FindHg.html
6.23 KB
04/04/2023 07:05:16 PM
rw-r--r--
π
FindICU.html
9.91 KB
04/04/2023 07:05:16 PM
rw-r--r--
π
FindITK.html
5.43 KB
04/04/2023 07:05:16 PM
rw-r--r--
π
FindIce.html
14.89 KB
04/04/2023 07:05:17 PM
rw-r--r--
π
FindIconv.html
10.11 KB
04/04/2023 07:05:17 PM
rw-r--r--
π
FindIcotool.html
5.26 KB
04/04/2023 07:05:17 PM
rw-r--r--
π
FindImageMagick.html
12.01 KB
04/04/2023 07:05:17 PM
rw-r--r--
π
FindIntl.html
10.69 KB
04/04/2023 07:05:17 PM
rw-r--r--
π
FindJNI.html
12.24 KB
04/04/2023 07:05:17 PM
rw-r--r--
π
FindJPEG.html
8.44 KB
04/04/2023 07:05:17 PM
rw-r--r--
π
FindJasper.html
7.21 KB
04/04/2023 07:05:17 PM
rw-r--r--
π
FindJava.html
9.53 KB
04/04/2023 07:05:17 PM
rw-r--r--
π
FindKDE3.html
10.05 KB
04/04/2023 07:05:17 PM
rw-r--r--
π
FindKDE4.html
5.63 KB
04/04/2023 07:05:17 PM
rw-r--r--
π
FindLAPACK.html
12.04 KB
04/04/2023 07:05:17 PM
rw-r--r--
π
FindLATEX.html
6.7 KB
04/04/2023 07:05:17 PM
rw-r--r--
π
FindLTTngUST.html
7.6 KB
04/04/2023 07:05:17 PM
rw-r--r--
π
FindLibArchive.html
5.96 KB
04/04/2023 07:05:17 PM
rw-r--r--
π
FindLibLZMA.html
8.68 KB
04/04/2023 07:05:17 PM
rw-r--r--
π
FindLibXml2.html
8.24 KB
04/04/2023 07:05:17 PM
rw-r--r--
π
FindLibXslt.html
7.65 KB
04/04/2023 07:05:17 PM
rw-r--r--
π
FindLibinput.html
6.81 KB
04/04/2023 07:05:17 PM
rw-r--r--
π
FindLua.html
6.46 KB
04/04/2023 07:05:17 PM
rw-r--r--
π
FindLua50.html
5.61 KB
04/04/2023 07:05:17 PM
rw-r--r--
π
FindLua51.html
5.64 KB
04/04/2023 07:05:17 PM
rw-r--r--
π
FindMFC.html
5.21 KB
04/04/2023 07:05:17 PM
rw-r--r--
π
FindMPEG.html
5.41 KB
04/04/2023 07:05:17 PM
rw-r--r--
π
FindMPEG2.html
5.41 KB
04/04/2023 07:05:17 PM
rw-r--r--
π
FindMPI.html
29.38 KB
04/04/2023 07:05:17 PM
rw-r--r--
π
FindMatlab.html
47.34 KB
04/04/2023 07:05:17 PM
rw-r--r--
π
FindMotif.html
5.14 KB
04/04/2023 07:05:17 PM
rw-r--r--
π
FindMsys.html
5.02 KB
04/04/2023 07:05:17 PM
rw-r--r--
π
FindODBC.html
10.44 KB
04/04/2023 07:05:17 PM
rw-r--r--
π
FindOpenACC.html
10.21 KB
04/04/2023 07:05:17 PM
rw-r--r--
π
FindOpenAL.html
9.04 KB
04/04/2023 07:05:17 PM
rw-r--r--
π
FindOpenCL.html
7.09 KB
04/04/2023 07:05:17 PM
rw-r--r--
π
FindOpenGL.html
16.22 KB
04/04/2023 07:05:17 PM
rw-r--r--
π
FindOpenMP.html
12.65 KB
04/04/2023 07:05:17 PM
rw-r--r--
π
FindOpenSP.html
9.44 KB
04/04/2023 07:05:17 PM
rw-r--r--
π
FindOpenSSL.html
13.11 KB
04/04/2023 07:05:17 PM
rw-r--r--
π
FindOpenSceneGraph.html
10.93 KB
04/04/2023 07:05:17 PM
rw-r--r--
π
FindOpenThreads.html
5.72 KB
04/04/2023 07:05:17 PM
rw-r--r--
π
FindPHP4.html
5.31 KB
04/04/2023 07:05:17 PM
rw-r--r--
π
FindPNG.html
7.88 KB
04/04/2023 07:05:17 PM
rw-r--r--
π
FindPackageHandleStandardArgs.html
24.77 KB
04/04/2023 07:05:17 PM
rw-r--r--
π
FindPackageMessage.html
6.76 KB
04/04/2023 07:05:17 PM
rw-r--r--
π
FindPatch.html
6.42 KB
04/04/2023 07:05:17 PM
rw-r--r--
π
FindPerl.html
5.19 KB
04/04/2023 07:05:17 PM
rw-r--r--
π
FindPerlLibs.html
6.56 KB
04/04/2023 07:05:17 PM
rw-r--r--
π
FindPhysFS.html
5.21 KB
04/04/2023 07:05:17 PM
rw-r--r--
π
FindPike.html
5.31 KB
04/04/2023 07:05:17 PM
rw-r--r--
π
FindPkgConfig.html
33.09 KB
04/04/2023 07:05:17 PM
rw-r--r--
π
FindPostgreSQL.html
7.82 KB
04/04/2023 07:05:17 PM
rw-r--r--
π
FindProducer.html
6.05 KB
04/04/2023 07:05:17 PM
rw-r--r--
π
FindProtobuf.html
16.5 KB
04/04/2023 07:05:17 PM
rw-r--r--
π
FindPython.html
50.47 KB
04/04/2023 07:05:17 PM
rw-r--r--
π
FindPython2.html
38.39 KB
04/04/2023 07:05:18 PM
rw-r--r--
π
FindPython3.html
50.35 KB
04/04/2023 07:05:18 PM
rw-r--r--
π
FindPythonInterp.html
8.55 KB
04/04/2023 07:05:18 PM
rw-r--r--
π
FindPythonLibs.html
7.54 KB
04/04/2023 07:05:18 PM
rw-r--r--
π
FindQt.html
6.83 KB
04/04/2023 07:05:18 PM
rw-r--r--
π
FindQt3.html
5.76 KB
04/04/2023 07:05:18 PM
rw-r--r--
π
FindQt4.html
24.58 KB
04/04/2023 07:05:18 PM
rw-r--r--
π
FindQuickTime.html
5.16 KB
04/04/2023 07:05:18 PM
rw-r--r--
π
FindRTI.html
5.91 KB
04/04/2023 07:05:18 PM
rw-r--r--
π
FindRuby.html
10.42 KB
04/04/2023 07:05:18 PM
rw-r--r--
π
FindSDL.html
11.03 KB
04/04/2023 07:05:18 PM
rw-r--r--
π
FindSDL_gfx.html
5.82 KB
04/04/2023 07:05:18 PM
rw-r--r--
π
FindSDL_image.html
5.77 KB
04/04/2023 07:05:18 PM
rw-r--r--
π
FindSDL_mixer.html
5.8 KB
04/04/2023 07:05:18 PM
rw-r--r--
π
FindSDL_net.html
5.76 KB
04/04/2023 07:05:18 PM
rw-r--r--
π
FindSDL_sound.html
6.89 KB
04/04/2023 07:05:18 PM
rw-r--r--
π
FindSDL_ttf.html
5.78 KB
04/04/2023 07:05:18 PM
rw-r--r--
π
FindSQLite3.html
6.77 KB
04/04/2023 07:05:18 PM
rw-r--r--
π
FindSWIG.html
10.06 KB
04/04/2023 07:05:18 PM
rw-r--r--
π
FindSelfPackers.html
5.27 KB
04/04/2023 07:05:18 PM
rw-r--r--
π
FindSquish.html
9.18 KB
04/04/2023 07:05:18 PM
rw-r--r--
π
FindSubversion.html
8.03 KB
04/04/2023 07:05:18 PM
rw-r--r--
π
FindTCL.html
6.66 KB
04/04/2023 07:05:18 PM
rw-r--r--
π
FindTIFF.html
9.39 KB
04/04/2023 07:05:18 PM
rw-r--r--
π
FindTclStub.html
6.41 KB
04/04/2023 07:05:18 PM
rw-r--r--
π
FindTclsh.html
5.26 KB
04/04/2023 07:05:18 PM
rw-r--r--
π
FindThreads.html
8.35 KB
04/04/2023 07:05:18 PM
rw-r--r--
π
FindUnixCommands.html
6.32 KB
04/04/2023 07:05:18 PM
rw-r--r--
π
FindVTK.html
5.47 KB
04/04/2023 07:05:18 PM
rw-r--r--
π
FindVulkan.html
17.6 KB
04/04/2023 07:05:18 PM
rw-r--r--
π
FindWget.html
5.13 KB
04/04/2023 07:05:18 PM
rw-r--r--
π
FindWish.html
5.31 KB
04/04/2023 07:05:18 PM
rw-r--r--
π
FindX11.html
11.53 KB
04/04/2023 07:05:18 PM
rw-r--r--
π
FindXCTest.html
9.17 KB
04/04/2023 07:05:18 PM
rw-r--r--
π
FindXMLRPC.html
5.75 KB
04/04/2023 07:05:18 PM
rw-r--r--
π
FindXalanC.html
7.75 KB
04/04/2023 07:05:18 PM
rw-r--r--
π
FindXercesC.html
7.82 KB
04/04/2023 07:05:18 PM
rw-r--r--
π
FindZLIB.html
10.7 KB
04/04/2023 07:05:18 PM
rw-r--r--
π
Findosg.html
6.16 KB
04/04/2023 07:05:18 PM
rw-r--r--
π
FindosgAnimation.html
6.1 KB
04/04/2023 07:05:18 PM
rw-r--r--
π
FindosgDB.html
7.27 KB
04/04/2023 07:05:18 PM
rw-r--r--
π
FindosgFX.html
5.94 KB
04/04/2023 07:05:18 PM
rw-r--r--
π
FindosgGA.html
6.02 KB
04/04/2023 07:05:18 PM
rw-r--r--
π
FindosgIntrospection.html
6.19 KB
04/04/2023 07:05:18 PM
rw-r--r--
π
FindosgManipulator.html
6.22 KB
04/04/2023 07:05:18 PM
rw-r--r--
π
FindosgParticle.html
6.18 KB
04/04/2023 07:05:18 PM
rw-r--r--
π
FindosgPresentation.html
6.27 KB
04/04/2023 07:05:18 PM
rw-r--r--
π
FindosgProducer.html
6.11 KB
04/04/2023 07:05:18 PM
rw-r--r--
π
FindosgQt.html
6.06 KB
04/04/2023 07:05:18 PM
rw-r--r--
π
FindosgShadow.html
6 KB
04/04/2023 07:05:18 PM
rw-r--r--
π
FindosgSim.html
6.01 KB
04/04/2023 07:05:18 PM
rw-r--r--
π
FindosgTerrain.html
6.04 KB
04/04/2023 07:05:18 PM
rw-r--r--
π
FindosgText.html
6.02 KB
04/04/2023 07:05:18 PM
rw-r--r--
π
FindosgUtil.html
6.01 KB
04/04/2023 07:05:18 PM
rw-r--r--
π
FindosgViewer.html
6.04 KB
04/04/2023 07:05:18 PM
rw-r--r--
π
FindosgVolume.html
6.06 KB
04/04/2023 07:05:18 PM
rw-r--r--
π
FindosgWidget.html
6.08 KB
04/04/2023 07:05:18 PM
rw-r--r--
π
Findosg_functions.html
5.12 KB
04/04/2023 07:05:18 PM
rw-r--r--
π
FindwxWidgets.html
10.04 KB
04/04/2023 07:05:18 PM
rw-r--r--
π
FindwxWindows.html
7.49 KB
04/04/2023 07:05:18 PM
rw-r--r--
π
FortranCInterface.html
19.85 KB
04/04/2023 07:05:18 PM
rw-r--r--
π
GNUInstallDirs.html
18.76 KB
04/04/2023 07:05:18 PM
rw-r--r--
π
GenerateExportHeader.html
22.11 KB
04/04/2023 07:05:18 PM
rw-r--r--
π
GetPrerequisites.html
12.02 KB
04/04/2023 07:05:18 PM
rw-r--r--
π
GoogleTest.html
29.52 KB
04/04/2023 07:05:19 PM
rw-r--r--
π
InstallRequiredSystemLibraries.html
9.74 KB
04/04/2023 07:05:19 PM
rw-r--r--
π
MacroAddFileDependencies.html
6.58 KB
04/04/2023 07:05:19 PM
rw-r--r--
π
ProcessorCount.html
8.6 KB
04/04/2023 07:05:19 PM
rw-r--r--
π
SelectLibraryConfigurations.html
7.3 KB
04/04/2023 07:05:19 PM
rw-r--r--
π
SquishTestScript.html
5.48 KB
04/04/2023 07:05:19 PM
rw-r--r--
π
TestBigEndian.html
6.29 KB
04/04/2023 07:05:19 PM
rw-r--r--
π
TestCXXAcceptsFlag.html
6.2 KB
04/04/2023 07:05:19 PM
rw-r--r--
π
TestForANSIForScope.html
5.38 KB
04/04/2023 07:05:19 PM
rw-r--r--
π
TestForANSIStreamHeaders.html
5.4 KB
04/04/2023 07:05:19 PM
rw-r--r--
π
TestForSSTREAM.html
5.37 KB
04/04/2023 07:05:19 PM
rw-r--r--
π
TestForSTDNamespace.html
5.21 KB
04/04/2023 07:05:19 PM
rw-r--r--
π
UseEcos.html
5.94 KB
04/04/2023 07:05:19 PM
rw-r--r--
π
UseJava.html
49.93 KB
04/04/2023 07:05:19 PM
rw-r--r--
π
UseJavaClassFilelist.html
5.54 KB
04/04/2023 07:05:19 PM
rw-r--r--
π
UseJavaSymlinks.html
5.49 KB
04/04/2023 07:05:19 PM
rw-r--r--
π
UsePkgConfig.html
5.5 KB
04/04/2023 07:05:19 PM
rw-r--r--
π
UseSWIG.html
48.54 KB
04/04/2023 07:05:19 PM
rw-r--r--
π
Use_wxWindows.html
6.1 KB
04/04/2023 07:05:19 PM
rw-r--r--
π
UsewxWidgets.html
5.79 KB
04/04/2023 07:05:19 PM
rw-r--r--
π
WriteBasicConfigVersionFile.html
6.3 KB
04/04/2023 07:05:19 PM
rw-r--r--
π
WriteCompilerDetectionHeader.html
48.31 KB
04/04/2023 07:05:19 PM
rw-r--r--
Editing: CMakePackageConfigHelpers.html
Close
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="generator" content="Docutils 0.18.1: http://docutils.sourceforge.net/" /> <title>CMakePackageConfigHelpers — CMake 3.26.3 Documentation</title> <link rel="stylesheet" type="text/css" href="../_static/pygments.css" /> <link rel="stylesheet" type="text/css" href="../_static/cmake.css" /> <script data-url_root="../" id="documentation_options" src="../_static/documentation_options.js"></script> <script src="../_static/jquery.js"></script> <script src="../_static/underscore.js"></script> <script src="../_static/_sphinx_javascript_frameworks_compat.js"></script> <script src="../_static/doctools.js"></script> <link rel="shortcut icon" href="../_static/cmake-favicon.ico"/> <link rel="index" title="Index" href="../genindex.html" /> <link rel="search" title="Search" href="../search.html" /> <link rel="next" title="CMakePrintHelpers" href="CMakePrintHelpers.html" /> <link rel="prev" title="CMakeGraphVizOptions" href="CMakeGraphVizOptions.html" /> </head><body> <div class="related" role="navigation" aria-label="related navigation"> <h3>Navigation</h3> <ul> <li class="right" style="margin-right: 10px"> <a href="../genindex.html" title="General Index" accesskey="I">index</a></li> <li class="right" > <a href="CMakePrintHelpers.html" title="CMakePrintHelpers" accesskey="N">next</a> |</li> <li class="right" > <a href="CMakeGraphVizOptions.html" title="CMakeGraphVizOptions" accesskey="P">previous</a> |</li> <li> <img src="../_static/cmake-logo-16.png" alt="" style="vertical-align: middle; margin-top: -2px" /> </li> <li> <a href="https://cmake.org/">CMake</a> » </li> <li> <a href="../index.html">3.26.3 Documentation</a> » </li> <li class="nav-item nav-item-1"><a href="../manual/cmake-modules.7.html" accesskey="U">cmake-modules(7)</a> »</li> <li class="nav-item nav-item-this"><a href="">CMakePackageConfigHelpers</a></li> </ul> </div> <div class="document"> <div class="documentwrapper"> <div class="bodywrapper"> <div class="body" role="main"> <section id="cmakepackageconfighelpers"> <span id="module:CMakePackageConfigHelpers"></span><h1>CMakePackageConfigHelpers<a class="headerlink" href="#cmakepackageconfighelpers" title="Permalink to this heading">ΒΆ</a></h1> <p>Helpers functions for creating config files that can be included by other projects to find and use a package.</p> <p>Adds the <span class="target" id="index-0-command:configure_package_config_file"></span><a class="reference internal" href="#command:configure_package_config_file" title="configure_package_config_file"><code class="xref cmake cmake-command docutils literal notranslate"><span class="pre">configure_package_config_file()</span></code></a> and <span class="target" id="index-0-command:write_basic_package_version_file"></span><a class="reference internal" href="#command:write_basic_package_version_file" title="write_basic_package_version_file"><code class="xref cmake cmake-command docutils literal notranslate"><span class="pre">write_basic_package_version_file()</span></code></a> commands.</p> <section id="generating-a-package-configuration-file"> <h2>Generating a Package Configuration File<a class="headerlink" href="#generating-a-package-configuration-file" title="Permalink to this heading">ΒΆ</a></h2> <dl class="cmake command"> <dt class="sig sig-object cmake" id="command:configure_package_config_file"> <span class="sig-name descname"><span class="pre">configure_package_config_file</span></span><a class="headerlink" href="#command:configure_package_config_file" title="Permalink to this definition">ΒΆ</a></dt> <dd><p>Create a config file for a project:</p> <div class="highlight-none notranslate"><div class="highlight"><pre><span></span>configure_package_config_file(<input> <output> INSTALL_DESTINATION <path> [PATH_VARS <var1> <var2> ... <varN>] [NO_SET_AND_CHECK_MACRO] [NO_CHECK_REQUIRED_COMPONENTS_MACRO] [INSTALL_PREFIX <path>] ) </pre></div> </div> </dd></dl> <p><code class="docutils literal notranslate"><span class="pre">configure_package_config_file()</span></code> should be used instead of the plain <span class="target" id="index-0-command:configure_file"></span><a class="reference internal" href="../command/configure_file.html#command:configure_file" title="configure_file"><code class="xref cmake cmake-command docutils literal notranslate"><span class="pre">configure_file()</span></code></a> command when creating the <code class="docutils literal notranslate"><span class="pre"><PackageName>Config.cmake</span></code> or <code class="docutils literal notranslate"><span class="pre"><PackageName>-config.cmake</span></code> file for installing a project or library. It helps making the resulting package relocatable by avoiding hardcoded paths in the installed <code class="docutils literal notranslate"><span class="pre">Config.cmake</span></code> file.</p> <p>In a <code class="docutils literal notranslate"><span class="pre">FooConfig.cmake</span></code> file there may be code like this to make the install destinations know to the using project:</p> <div class="highlight-cmake notranslate"><div class="highlight"><pre><span></span><span class="nf">set(</span><span class="no">FOO_INCLUDE_DIR</span><span class="w"> </span><span class="s">"@CMAKE_INSTALL_FULL_INCLUDEDIR@"</span><span class="w"> </span><span class="nf">)</span><span class="w"></span> <span class="nf">set(</span><span class="no">FOO_DATA_DIR</span><span class="w"> </span><span class="s">"@CMAKE_INSTALL_PREFIX@/@RELATIVE_DATA_INSTALL_DIR@"</span><span class="w"> </span><span class="nf">)</span><span class="w"></span> <span class="nf">set(</span><span class="no">FOO_ICONS_DIR</span><span class="w"> </span><span class="s">"@CMAKE_INSTALL_PREFIX@/share/icons"</span><span class="w"> </span><span class="nf">)</span><span class="w"></span> <span class="c">#...logic to determine installedPrefix from the own location...</span> <span class="nf">set(</span><span class="no">FOO_CONFIG_DIR</span><span class="w"> </span><span class="s">"${installedPrefix}/@CONFIG_INSTALL_DIR@"</span><span class="w"> </span><span class="nf">)</span><span class="w"></span> </pre></div> </div> <p>All 4 options shown above are not sufficient, since the first 3 hardcode the absolute directory locations, and the 4th case works only if the logic to determine the <code class="docutils literal notranslate"><span class="pre">installedPrefix</span></code> is correct, and if <code class="docutils literal notranslate"><span class="pre">CONFIG_INSTALL_DIR</span></code> contains a relative path, which in general cannot be guaranteed. This has the effect that the resulting <code class="docutils literal notranslate"><span class="pre">FooConfig.cmake</span></code> file would work poorly under Windows and OSX, where users are used to choose the install location of a binary package at install time, independent from how <span class="target" id="index-0-variable:CMAKE_INSTALL_PREFIX"></span><a class="reference internal" href="../variable/CMAKE_INSTALL_PREFIX.html#variable:CMAKE_INSTALL_PREFIX" title="CMAKE_INSTALL_PREFIX"><code class="xref cmake cmake-variable docutils literal notranslate"><span class="pre">CMAKE_INSTALL_PREFIX</span></code></a> was set at build/cmake time.</p> <p>Using <code class="docutils literal notranslate"><span class="pre">configure_package_config_file</span></code> helps. If used correctly, it makes the resulting <code class="docutils literal notranslate"><span class="pre">FooConfig.cmake</span></code> file relocatable. Usage:</p> <ol class="arabic simple"> <li><p>write a <code class="docutils literal notranslate"><span class="pre">FooConfig.cmake.in</span></code> file as you are used to</p></li> <li><p>insert a line containing only the string <code class="docutils literal notranslate"><span class="pre">@PACKAGE_INIT@</span></code></p></li> <li><p>instead of <code class="docutils literal notranslate"><span class="pre">set(FOO_DIR</span> <span class="pre">"@SOME_INSTALL_DIR@")</span></code>, use <code class="docutils literal notranslate"><span class="pre">set(FOO_DIR</span> <span class="pre">"@PACKAGE_SOME_INSTALL_DIR@")</span></code> (this must be after the <code class="docutils literal notranslate"><span class="pre">@PACKAGE_INIT@</span></code> line)</p></li> <li><p>instead of using the normal <span class="target" id="index-1-command:configure_file"></span><a class="reference internal" href="../command/configure_file.html#command:configure_file" title="configure_file"><code class="xref cmake cmake-command docutils literal notranslate"><span class="pre">configure_file()</span></code></a>, use <code class="docutils literal notranslate"><span class="pre">configure_package_config_file()</span></code></p></li> </ol> <p>The <code class="docutils literal notranslate"><span class="pre"><input></span></code> and <code class="docutils literal notranslate"><span class="pre"><output></span></code> arguments are the input and output file, the same way as in <span class="target" id="index-2-command:configure_file"></span><a class="reference internal" href="../command/configure_file.html#command:configure_file" title="configure_file"><code class="xref cmake cmake-command docutils literal notranslate"><span class="pre">configure_file()</span></code></a>.</p> <p>The <code class="docutils literal notranslate"><span class="pre"><path></span></code> given to <code class="docutils literal notranslate"><span class="pre">INSTALL_DESTINATION</span></code> must be the destination where the <code class="docutils literal notranslate"><span class="pre">FooConfig.cmake</span></code> file will be installed to. This path can either be absolute, or relative to the <code class="docutils literal notranslate"><span class="pre">INSTALL_PREFIX</span></code> path.</p> <p>The variables <code class="docutils literal notranslate"><span class="pre"><var1></span></code> to <code class="docutils literal notranslate"><span class="pre"><varN></span></code> given as <code class="docutils literal notranslate"><span class="pre">PATH_VARS</span></code> are the variables which contain install destinations. For each of them the macro will create a helper variable <code class="docutils literal notranslate"><span class="pre">PACKAGE_<var...></span></code>. These helper variables must be used in the <code class="docutils literal notranslate"><span class="pre">FooConfig.cmake.in</span></code> file for setting the installed location. They are calculated by <code class="docutils literal notranslate"><span class="pre">configure_package_config_file</span></code> so that they are always relative to the installed location of the package. This works both for relative and also for absolute locations. For absolute locations it works only if the absolute location is a subdirectory of <code class="docutils literal notranslate"><span class="pre">INSTALL_PREFIX</span></code>.</p> <div class="versionadded"> <p><span class="versionmodified added">New in version 3.1: </span>If the <code class="docutils literal notranslate"><span class="pre">INSTALL_PREFIX</span></code> argument is passed, this is used as base path to calculate all the relative paths. The <code class="docutils literal notranslate"><span class="pre"><path></span></code> argument must be an absolute path. If this argument is not passed, the <span class="target" id="index-1-variable:CMAKE_INSTALL_PREFIX"></span><a class="reference internal" href="../variable/CMAKE_INSTALL_PREFIX.html#variable:CMAKE_INSTALL_PREFIX" title="CMAKE_INSTALL_PREFIX"><code class="xref cmake cmake-variable docutils literal notranslate"><span class="pre">CMAKE_INSTALL_PREFIX</span></code></a> variable will be used instead. The default value is good when generating a FooConfig.cmake file to use your package from the install tree. When generating a FooConfig.cmake file to use your package from the build tree this option should be used.</p> </div> <p>By default <code class="docutils literal notranslate"><span class="pre">configure_package_config_file</span></code> also generates two helper macros, <code class="docutils literal notranslate"><span class="pre">set_and_check()</span></code> and <code class="docutils literal notranslate"><span class="pre">check_required_components()</span></code> into the <code class="docutils literal notranslate"><span class="pre">FooConfig.cmake</span></code> file.</p> <p><code class="docutils literal notranslate"><span class="pre">set_and_check()</span></code> should be used instead of the normal <code class="docutils literal notranslate"><span class="pre">set()</span></code> command for setting directories and file locations. Additionally to setting the variable it also checks that the referenced file or directory actually exists and fails with a <code class="docutils literal notranslate"><span class="pre">FATAL_ERROR</span></code> otherwise. This makes sure that the created <code class="docutils literal notranslate"><span class="pre">FooConfig.cmake</span></code> file does not contain wrong references. When using the <code class="docutils literal notranslate"><span class="pre">NO_SET_AND_CHECK_MACRO</span></code>, this macro is not generated into the <code class="docutils literal notranslate"><span class="pre">FooConfig.cmake</span></code> file.</p> <p><code class="docutils literal notranslate"><span class="pre">check_required_components(<PackageName>)</span></code> should be called at the end of the <code class="docutils literal notranslate"><span class="pre">FooConfig.cmake</span></code> file. This macro checks whether all requested, non-optional components have been found, and if this is not the case, sets the <code class="docutils literal notranslate"><span class="pre">Foo_FOUND</span></code> variable to <code class="docutils literal notranslate"><span class="pre">FALSE</span></code>, so that the package is considered to be not found. It does that by testing the <code class="docutils literal notranslate"><span class="pre">Foo_<Component>_FOUND</span></code> variables for all requested required components. This macro should be called even if the package doesn't provide any components to make sure users are not specifying components erroneously. When using the <code class="docutils literal notranslate"><span class="pre">NO_CHECK_REQUIRED_COMPONENTS_MACRO</span></code> option, this macro is not generated into the <code class="docutils literal notranslate"><span class="pre">FooConfig.cmake</span></code> file.</p> <p>For an example see below the documentation for <span class="target" id="index-1-command:write_basic_package_version_file"></span><a class="reference internal" href="#command:write_basic_package_version_file" title="write_basic_package_version_file"><code class="xref cmake cmake-command docutils literal notranslate"><span class="pre">write_basic_package_version_file()</span></code></a>.</p> </section> <section id="generating-a-package-version-file"> <h2>Generating a Package Version File<a class="headerlink" href="#generating-a-package-version-file" title="Permalink to this heading">ΒΆ</a></h2> <dl class="cmake command"> <dt class="sig sig-object cmake" id="command:write_basic_package_version_file"> <span class="sig-name descname"><span class="pre">write_basic_package_version_file</span></span><a class="headerlink" href="#command:write_basic_package_version_file" title="Permalink to this definition">ΒΆ</a></dt> <dd><p>Create a version file for a project:</p> <div class="highlight-none notranslate"><div class="highlight"><pre><span></span>write_basic_package_version_file(<filename> [VERSION <major.minor.patch>] COMPATIBILITY <AnyNewerVersion|SameMajorVersion|SameMinorVersion|ExactVersion> [ARCH_INDEPENDENT] ) </pre></div> </div> </dd></dl> <p>Writes a file for use as <code class="docutils literal notranslate"><span class="pre"><PackageName>ConfigVersion.cmake</span></code> file to <code class="docutils literal notranslate"><span class="pre"><filename></span></code>. See the documentation of <span class="target" id="index-0-command:find_package"></span><a class="reference internal" href="../command/find_package.html#command:find_package" title="find_package"><code class="xref cmake cmake-command docutils literal notranslate"><span class="pre">find_package()</span></code></a> for details on this.</p> <p><code class="docutils literal notranslate"><span class="pre"><filename></span></code> is the output filename, it should be in the build tree. <code class="docutils literal notranslate"><span class="pre"><major.minor.patch></span></code> is the version number of the project to be installed.</p> <p>If no <code class="docutils literal notranslate"><span class="pre">VERSION</span></code> is given, the <span class="target" id="index-0-variable:PROJECT_VERSION"></span><a class="reference internal" href="../variable/PROJECT_VERSION.html#variable:PROJECT_VERSION" title="PROJECT_VERSION"><code class="xref cmake cmake-variable docutils literal notranslate"><span class="pre">PROJECT_VERSION</span></code></a> variable is used. If this hasn't been set, it errors out.</p> <p>The <code class="docutils literal notranslate"><span class="pre">COMPATIBILITY</span></code> mode <code class="docutils literal notranslate"><span class="pre">AnyNewerVersion</span></code> means that the installed package version will be considered compatible if it is newer or exactly the same as the requested version. This mode should be used for packages which are fully backward compatible, also across major versions. If <code class="docutils literal notranslate"><span class="pre">SameMajorVersion</span></code> is used instead, then the behavior differs from <code class="docutils literal notranslate"><span class="pre">AnyNewerVersion</span></code> in that the major version number must be the same as requested, e.g. version 2.0 will not be considered compatible if 1.0 is requested. This mode should be used for packages which guarantee backward compatibility within the same major version. If <code class="docutils literal notranslate"><span class="pre">SameMinorVersion</span></code> is used, the behavior is the same as <code class="docutils literal notranslate"><span class="pre">SameMajorVersion</span></code>, but both major and minor version must be the same as requested, e.g version 0.2 will not be compatible if 0.1 is requested. If <code class="docutils literal notranslate"><span class="pre">ExactVersion</span></code> is used, then the package is only considered compatible if the requested version matches exactly its own version number (not considering the tweak version). For example, version 1.2.3 of a package is only considered compatible to requested version 1.2.3. This mode is for packages without compatibility guarantees. If your project has more elaborated version matching rules, you will need to write your own custom <code class="docutils literal notranslate"><span class="pre">ConfigVersion.cmake</span></code> file instead of using this macro.</p> <div class="versionadded"> <p><span class="versionmodified added">New in version 3.11: </span>The <code class="docutils literal notranslate"><span class="pre">SameMinorVersion</span></code> compatibility mode.</p> </div> <div class="versionadded"> <p><span class="versionmodified added">New in version 3.14: </span>If <code class="docutils literal notranslate"><span class="pre">ARCH_INDEPENDENT</span></code> is given, the installed package version will be considered compatible even if it was built for a different architecture than the requested architecture. Otherwise, an architecture check will be performed, and the package will be considered compatible only if the architecture matches exactly. For example, if the package is built for a 32-bit architecture, the package is only considered compatible if it is used on a 32-bit architecture, unless <code class="docutils literal notranslate"><span class="pre">ARCH_INDEPENDENT</span></code> is given, in which case the package is considered compatible on any architecture.</p> </div> <div class="admonition note"> <p class="admonition-title">Note</p> <p><code class="docutils literal notranslate"><span class="pre">ARCH_INDEPENDENT</span></code> is intended for header-only libraries or similar packages with no binaries.</p> </div> <div class="versionadded"> <p><span class="versionmodified added">New in version 3.19: </span>The version file generated by <code class="docutils literal notranslate"><span class="pre">AnyNewerVersion</span></code>, <code class="docutils literal notranslate"><span class="pre">SameMajorVersion</span></code> and <code class="docutils literal notranslate"><span class="pre">SameMinorVersion</span></code> arguments of <code class="docutils literal notranslate"><span class="pre">COMPATIBILITY</span></code> handle the version range if any is specified (see <span class="target" id="index-1-command:find_package"></span><a class="reference internal" href="../command/find_package.html#command:find_package" title="find_package"><code class="xref cmake cmake-command docutils literal notranslate"><span class="pre">find_package()</span></code></a> command for the details). <code class="docutils literal notranslate"><span class="pre">ExactVersion</span></code> mode is incompatible with version ranges and will display an author warning if one is specified.</p> </div> <p>Internally, this macro executes <span class="target" id="index-3-command:configure_file"></span><a class="reference internal" href="../command/configure_file.html#command:configure_file" title="configure_file"><code class="xref cmake cmake-command docutils literal notranslate"><span class="pre">configure_file()</span></code></a> to create the resulting version file. Depending on the <code class="docutils literal notranslate"><span class="pre">COMPATIBILITY</span></code>, the corresponding <code class="docutils literal notranslate"><span class="pre">BasicConfigVersion-<COMPATIBILITY>.cmake.in</span></code> file is used. Please note that these files are internal to CMake and you should not call <span class="target" id="index-4-command:configure_file"></span><a class="reference internal" href="../command/configure_file.html#command:configure_file" title="configure_file"><code class="xref cmake cmake-command docutils literal notranslate"><span class="pre">configure_file()</span></code></a> on them yourself, but they can be used as starting point to create more sophisticted custom <code class="docutils literal notranslate"><span class="pre">ConfigVersion.cmake</span></code> files.</p> </section> <section id="example-generating-package-files"> <h2>Example Generating Package Files<a class="headerlink" href="#example-generating-package-files" title="Permalink to this heading">ΒΆ</a></h2> <p>Example using both <span class="target" id="index-1-command:configure_package_config_file"></span><a class="reference internal" href="#command:configure_package_config_file" title="configure_package_config_file"><code class="xref cmake cmake-command docutils literal notranslate"><span class="pre">configure_package_config_file()</span></code></a> and <code class="docutils literal notranslate"><span class="pre">write_basic_package_version_file()</span></code>:</p> <p><code class="docutils literal notranslate"><span class="pre">CMakeLists.txt</span></code>:</p> <div class="highlight-cmake notranslate"><div class="highlight"><pre><span></span><span class="nf">include(</span><span class="nb">GNUInstallDirs</span><span class="nf">)</span><span class="w"></span> <span class="nf">set(</span><span class="no">INCLUDE_INSTALL_DIR</span><span class="w"> </span><span class="o">${</span><span class="nt">CMAKE_INSTALL_INCLUDEDIR</span><span class="o">}</span><span class="na">/Foo</span><span class="w"></span> <span class="w"> </span><span class="no">CACHE</span><span class="w"> </span><span class="no">PATH</span><span class="w"> </span><span class="s">"Location of header files"</span><span class="w"> </span><span class="nf">)</span><span class="w"></span> <span class="nf">set(</span><span class="no">SYSCONFIG_INSTALL_DIR</span><span class="w"> </span><span class="o">${</span><span class="nt">CMAKE_INSTALL_SYSCONFDIR</span><span class="o">}</span><span class="na">/foo</span><span class="w"></span> <span class="w"> </span><span class="no">CACHE</span><span class="w"> </span><span class="no">PATH</span><span class="w"> </span><span class="s">"Location of configuration files"</span><span class="w"> </span><span class="nf">)</span><span class="w"></span> <span class="c">#...</span> <span class="nf">include(</span><span class="nb">CMakePackageConfigHelpers</span><span class="nf">)</span><span class="w"></span> <span class="nf">configure_package_config_file(</span><span class="nb">FooConfig.cmake.in</span><span class="w"></span> <span class="w"> </span><span class="o">${</span><span class="nt">CMAKE_CURRENT_BINARY_DIR</span><span class="o">}</span><span class="na">/FooConfig.cmake</span><span class="w"></span> <span class="w"> </span><span class="no">INSTALL_DESTINATION</span><span class="w"> </span><span class="o">${</span><span class="nt">CMAKE_INSTALL_LIBDIR</span><span class="o">}</span><span class="na">/cmake/Foo</span><span class="w"></span> <span class="w"> </span><span class="no">PATH_VARS</span><span class="w"> </span><span class="no">INCLUDE_INSTALL_DIR</span><span class="w"> </span><span class="no">SYSCONFIG_INSTALL_DIR</span><span class="nf">)</span><span class="w"></span> <span class="nf">write_basic_package_version_file(</span><span class="w"></span> <span class="w"> </span><span class="o">${</span><span class="nt">CMAKE_CURRENT_BINARY_DIR</span><span class="o">}</span><span class="na">/FooConfigVersion.cmake</span><span class="w"></span> <span class="w"> </span><span class="no">VERSION</span><span class="w"> </span><span class="m">1.2.3</span><span class="w"></span> <span class="w"> </span><span class="no">COMPATIBILITY</span><span class="w"> </span><span class="nb">SameMajorVersion</span><span class="w"> </span><span class="nf">)</span><span class="w"></span> <span class="nf">install(</span><span class="no">FILES</span><span class="w"> </span><span class="o">${</span><span class="nt">CMAKE_CURRENT_BINARY_DIR</span><span class="o">}</span><span class="na">/FooConfig.cmake</span><span class="w"></span> <span class="w"> </span><span class="o">${</span><span class="nt">CMAKE_CURRENT_BINARY_DIR</span><span class="o">}</span><span class="na">/FooConfigVersion.cmake</span><span class="w"></span> <span class="w"> </span><span class="no">DESTINATION</span><span class="w"> </span><span class="o">${</span><span class="nt">CMAKE_INSTALL_LIBDIR</span><span class="o">}</span><span class="na">/cmake/Foo</span><span class="w"> </span><span class="nf">)</span><span class="w"></span> </pre></div> </div> <p><code class="docutils literal notranslate"><span class="pre">FooConfig.cmake.in</span></code>:</p> <div class="highlight-none notranslate"><div class="highlight"><pre><span></span>set(FOO_VERSION x.y.z) ... @PACKAGE_INIT@ ... set_and_check(FOO_INCLUDE_DIR "@PACKAGE_INCLUDE_INSTALL_DIR@") set_and_check(FOO_SYSCONFIG_DIR "@PACKAGE_SYSCONFIG_INSTALL_DIR@") check_required_components(Foo) </pre></div> </div> </section> </section> <div class="clearer"></div> </div> </div> </div> <div class="sphinxsidebar" role="navigation" aria-label="main navigation"> <div class="sphinxsidebarwrapper"> <div> <h3><a href="../index.html">Table of Contents</a></h3> <ul> <li><a class="reference internal" href="#">CMakePackageConfigHelpers</a><ul> <li><a class="reference internal" href="#generating-a-package-configuration-file">Generating a Package Configuration File</a></li> <li><a class="reference internal" href="#generating-a-package-version-file">Generating a Package Version File</a></li> <li><a class="reference internal" href="#example-generating-package-files">Example Generating Package Files</a></li> </ul> </li> </ul> </div> <div> <h4>Previous topic</h4> <p class="topless"><a href="CMakeGraphVizOptions.html" title="previous chapter">CMakeGraphVizOptions</a></p> </div> <div> <h4>Next topic</h4> <p class="topless"><a href="CMakePrintHelpers.html" title="next chapter">CMakePrintHelpers</a></p> </div> <div role="note" aria-label="source link"> <h3>This Page</h3> <ul class="this-page-menu"> <li><a href="../_sources/module/CMakePackageConfigHelpers.rst.txt" rel="nofollow">Show Source</a></li> </ul> </div> <div id="searchbox" style="display: none" role="search"> <h3 id="searchlabel">Quick search</h3> <div class="searchformwrapper"> <form class="search" action="../search.html" method="get"> <input type="text" name="q" aria-labelledby="searchlabel" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false"/> <input type="submit" value="Go" /> </form> </div> </div> <script>document.getElementById('searchbox').style.display = "block"</script> </div> </div> <div class="clearer"></div> </div> <div class="related" role="navigation" aria-label="related navigation"> <h3>Navigation</h3> <ul> <li class="right" style="margin-right: 10px"> <a href="../genindex.html" title="General Index" >index</a></li> <li class="right" > <a href="CMakePrintHelpers.html" title="CMakePrintHelpers" >next</a> |</li> <li class="right" > <a href="CMakeGraphVizOptions.html" title="CMakeGraphVizOptions" >previous</a> |</li> <li> <img src="../_static/cmake-logo-16.png" alt="" style="vertical-align: middle; margin-top: -2px" /> </li> <li> <a href="https://cmake.org/">CMake</a> » </li> <li> <a href="../index.html">3.26.3 Documentation</a> » </li> <li class="nav-item nav-item-1"><a href="../manual/cmake-modules.7.html" >cmake-modules(7)</a> »</li> <li class="nav-item nav-item-this"><a href="">CMakePackageConfigHelpers</a></li> </ul> </div> <div class="footer" role="contentinfo"> © Copyright 2000-2023 Kitware, Inc. and Contributors. Created using <a href="https://www.sphinx-doc.org/">Sphinx</a> 5.0.2. </div> </body> </html>