XYZ File Manager
Current Path:
/usr/share/cmake/Modules
usr
/
share
/
cmake
/
Modules
/
📁
..
📄
AddFileDependencies.cmake
(955 B)
📁
AndroidTestUtilities
📄
AndroidTestUtilities.cmake
(6.22 KB)
📄
BasicConfigVersion-AnyNewerVersion.cmake.in
(1.4 KB)
📄
BasicConfigVersion-ExactVersion.cmake.in
(2.78 KB)
📄
BasicConfigVersion-SameMajorVersion.cmake.in
(2.3 KB)
📄
BasicConfigVersion-SameMinorVersion.cmake.in
(3.19 KB)
📄
BundleUtilities.cmake
(40.92 KB)
📄
CMake.cmake
(307 B)
📄
CMakeASM-ATTInformation.cmake
(566 B)
📄
CMakeASMCompiler.cmake.in
(942 B)
📄
CMakeASMInformation.cmake
(3.93 KB)
📄
CMakeASM_MARMASMInformation.cmake
(1.19 KB)
📄
CMakeASM_MASMInformation.cmake
(1.18 KB)
📄
CMakeASM_NASMInformation.cmake
(1.96 KB)
📁
CMakeAddFortranSubdirectory
📄
CMakeAddFortranSubdirectory.cmake
(7.13 KB)
📄
CMakeAddNewLanguage.txt
(1.49 KB)
📄
CMakeBackwardCompatibilityC.cmake
(2.54 KB)
📄
CMakeBackwardCompatibilityCXX.cmake
(1.77 KB)
📄
CMakeBorlandFindMake.cmake
(271 B)
📄
CMakeBuildSettings.cmake.in
(681 B)
📄
CMakeCCompiler.cmake.in
(2.96 KB)
📄
CMakeCCompilerABI.c
(511 B)
📄
CMakeCCompilerId.c.in
(2.76 KB)
📄
CMakeCInformation.cmake
(6.74 KB)
📄
CMakeCSharpCompiler.cmake.in
(477 B)
📄
CMakeCSharpCompilerId.cs.in
(1.59 KB)
📄
CMakeCSharpInformation.cmake
(2.94 KB)
📄
CMakeCUDACompiler.cmake.in
(3.56 KB)
📄
CMakeCUDACompilerABI.cu
(1.12 KB)
📄
CMakeCUDACompilerId.cu.in
(1.64 KB)
📄
CMakeCUDAInformation.cmake
(8.1 KB)
📄
CMakeCXXCompiler.cmake.in
(3.52 KB)
📄
CMakeCXXCompilerABI.cpp
(388 B)
📄
CMakeCXXCompilerId.cpp.in
(2.76 KB)
📄
CMakeCXXInformation.cmake
(9.96 KB)
📄
CMakeCheckCompilerFlagCommonPatterns.cmake
(2.1 KB)
📄
CMakeCommonLanguageInclude.cmake
(1.12 KB)
📄
CMakeCompilerABI.h
(1.54 KB)
📄
CMakeCompilerIdDetection.cmake
(4.76 KB)
📄
CMakeConfigurableFile.in
(34 B)
📄
CMakeDependentOption.cmake
(3.08 KB)
📄
CMakeDetermineASM-ATTCompiler.cmake
(394 B)
📄
CMakeDetermineASMCompiler.cmake
(11.36 KB)
📄
CMakeDetermineASM_MARMASMCompiler.cmake
(612 B)
📄
CMakeDetermineASM_MASMCompiler.cmake
(586 B)
📄
CMakeDetermineASM_NASMCompiler.cmake
(937 B)
📄
CMakeDetermineCCompiler.cmake
(8.38 KB)
📄
CMakeDetermineCSharpCompiler.cmake
(1.64 KB)
📄
CMakeDetermineCUDACompiler.cmake
(28.37 KB)
📄
CMakeDetermineCXXCompiler.cmake
(8.76 KB)
📄
CMakeDetermineCompileFeatures.cmake
(10.05 KB)
📄
CMakeDetermineCompiler.cmake
(7.13 KB)
📄
CMakeDetermineCompilerABI.cmake
(8.15 KB)
📄
CMakeDetermineCompilerId.cmake
(49.27 KB)
📄
CMakeDetermineFortranCompiler.cmake
(11.63 KB)
📄
CMakeDetermineHIPCompiler.cmake
(6.89 KB)
📄
CMakeDetermineISPCCompiler.cmake
(2.97 KB)
📄
CMakeDetermineJavaCompiler.cmake
(3.67 KB)
📄
CMakeDetermineOBJCCompiler.cmake
(7.28 KB)
📄
CMakeDetermineOBJCXXCompiler.cmake
(7.65 KB)
📄
CMakeDetermineRCCompiler.cmake
(2.23 KB)
📄
CMakeDetermineSwiftCompiler.cmake
(5.72 KB)
📄
CMakeDetermineSystem.cmake
(8.79 KB)
📄
CMakeDetermineVSServicePack.cmake
(5.85 KB)
📄
CMakeExpandImportedTargets.cmake
(5.95 KB)
📄
CMakeExportBuildSettings.cmake
(1.21 KB)
📄
CMakeExtraGeneratorDetermineCompilerMacrosAndIncludeDirs.cmake
(5.2 KB)
📄
CMakeFindBinUtils.cmake
(10.31 KB)
📄
CMakeFindCodeBlocks.cmake
(1.72 KB)
📄
CMakeFindDependencyMacro.cmake
(3.76 KB)
📄
CMakeFindEclipseCDT4.cmake
(4.84 KB)
📄
CMakeFindFrameworks.cmake
(1.8 KB)
📄
CMakeFindJavaCommon.cmake
(1.04 KB)
📄
CMakeFindKate.cmake
(1.02 KB)
📄
CMakeFindPackageMode.cmake
(6.1 KB)
📄
CMakeFindSublimeText2.cmake
(1.01 KB)
📄
CMakeFindWMake.cmake
(272 B)
📄
CMakeFindXCode.cmake
(250 B)
📄
CMakeForceCompiler.cmake
(4.11 KB)
📄
CMakeFortranCompiler.cmake.in
(2.71 KB)
📄
CMakeFortranCompilerABI.F
(1.09 KB)
📄
CMakeFortranCompilerABI.F90
(1.08 KB)
📄
CMakeFortranCompilerId.F.in
(10.45 KB)
📄
CMakeFortranInformation.cmake
(8.82 KB)
📄
CMakeGenericSystem.cmake
(7.33 KB)
📄
CMakeGraphVizOptions.cmake
(3.73 KB)
📄
CMakeHIPCompiler.cmake.in
(2.57 KB)
📄
CMakeHIPCompilerABI.hip
(293 B)
📄
CMakeHIPCompilerId.hip.in
(1.6 KB)
📄
CMakeHIPInformation.cmake
(5.52 KB)
📄
CMakeIOSInstallCombined.cmake
(10.2 KB)
📄
CMakeISPCCompiler.cmake.in
(1.15 KB)
📄
CMakeISPCCompilerABI.ispc
(545 B)
📄
CMakeISPCCompilerId.ispc.in
(2.09 KB)
📄
CMakeISPCInformation.cmake
(2.35 KB)
📄
CMakeImportBuildSettings.cmake
(535 B)
📄
CMakeInitializeConfigs.cmake
(1.54 KB)
📄
CMakeJOMFindMake.cmake
(270 B)
📄
CMakeJavaCompiler.cmake.in
(538 B)
📄
CMakeJavaInformation.cmake
(1.74 KB)
📄
CMakeLanguageInformation.cmake
(1.23 KB)
📄
CMakeMSYSFindMake.cmake
(608 B)
📄
CMakeMinGWFindMake.cmake
(437 B)
📄
CMakeNMakeFindMake.cmake
(272 B)
📄
CMakeNinjaFindMake.cmake
(315 B)
📄
CMakeOBJCCompiler.cmake.in
(3.16 KB)
📄
CMakeOBJCCompilerABI.m
(556 B)
📄
CMakeOBJCCompilerId.m.in
(2.06 KB)
📄
CMakeOBJCInformation.cmake
(7.1 KB)
📄
CMakeOBJCXXCompiler.cmake.in
(3.64 KB)
📄
CMakeOBJCXXCompilerABI.mm
(557 B)
📄
CMakeOBJCXXCompilerId.mm.in
(2.03 KB)
📄
CMakeOBJCXXInformation.cmake
(10.43 KB)
📄
CMakePackageConfigHelpers.cmake
(14.13 KB)
📄
CMakeParseArguments.cmake
(581 B)
📄
CMakeParseImplicitIncludeInfo.cmake
(9.58 KB)
📄
CMakeParseImplicitLinkInfo.cmake
(11.59 KB)
📄
CMakeParseLibraryArchitecture.cmake
(1.69 KB)
📄
CMakePlatformId.h.in
(8.57 KB)
📄
CMakePrintHelpers.cmake
(4.7 KB)
📄
CMakePrintSystemInformation.cmake
(2.14 KB)
📄
CMakePushCheckState.cmake
(3.85 KB)
📄
CMakeRCCompiler.cmake.in
(270 B)
📄
CMakeRCInformation.cmake
(1.94 KB)
📄
CMakeSwiftCompiler.cmake.in
(717 B)
📄
CMakeSwiftInformation.cmake
(6.57 KB)
📄
CMakeSystem.cmake.in
(563 B)
📄
CMakeSystemSpecificInformation.cmake
(3.03 KB)
📄
CMakeSystemSpecificInitialize.cmake
(1 KB)
📄
CMakeTestASM-ATTCompiler.cmake
(527 B)
📄
CMakeTestASMCompiler.cmake
(865 B)
📄
CMakeTestASM_MARMASMCompiler.cmake
(568 B)
📄
CMakeTestASM_MASMCompiler.cmake
(556 B)
📄
CMakeTestASM_NASMCompiler.cmake
(529 B)
📄
CMakeTestCCompiler.cmake
(3.51 KB)
📄
CMakeTestCSharpCompiler.cmake
(2.42 KB)
📄
CMakeTestCUDACompiler.cmake
(5.64 KB)
📄
CMakeTestCXXCompiler.cmake
(3.41 KB)
📄
CMakeTestCompilerCommon.cmake
(1.3 KB)
📄
CMakeTestFortranCompiler.cmake
(3.92 KB)
📄
CMakeTestGNU.c
(268 B)
📄
CMakeTestHIPCompiler.cmake
(3.57 KB)
📄
CMakeTestISPCCompiler.cmake
(1.42 KB)
📄
CMakeTestJavaCompiler.cmake
(484 B)
📄
CMakeTestOBJCCompiler.cmake
(3.61 KB)
📄
CMakeTestOBJCXXCompiler.cmake
(3.64 KB)
📄
CMakeTestRCCompiler.cmake
(573 B)
📄
CMakeTestSwiftCompiler.cmake
(2.5 KB)
📄
CMakeUnixFindMake.cmake
(575 B)
📄
CMakeVerifyManifest.cmake
(3.88 KB)
📄
CPack.cmake
(37.04 KB)
📄
CPackComponent.cmake
(20.37 KB)
📄
CPackIFW.cmake
(26.02 KB)
📄
CPackIFWConfigureFile.cmake
(2.21 KB)
📄
CSharpUtilities.cmake
(10.73 KB)
📄
CTest.cmake
(9 KB)
📄
CTestCoverageCollectGCOV.cmake
(11.98 KB)
📄
CTestScriptMode.cmake
(662 B)
📄
CTestTargets.cmake
(3.12 KB)
📄
CTestUseLaunchers.cmake
(2.97 KB)
📁
CUDA
📄
CheckCCompilerFlag.cmake
(1.5 KB)
📄
CheckCSourceCompiles.cmake
(3.24 KB)
📄
CheckCSourceRuns.cmake
(3.19 KB)
📄
CheckCXXCompilerFlag.cmake
(1.53 KB)
📄
CheckCXXSourceCompiles.cmake
(3.26 KB)
📄
CheckCXXSourceRuns.cmake
(3.21 KB)
📄
CheckCXXSymbolExists.cmake
(3.03 KB)
📄
CheckCompilerFlag.cmake
(1.51 KB)
📄
CheckForPthreads.c
(273 B)
📄
CheckFortranCompilerFlag.cmake
(1.59 KB)
📄
CheckFortranFunctionExists.cmake
(2.69 KB)
📄
CheckFortranSourceCompiles.cmake
(4.11 KB)
📄
CheckFortranSourceRuns.cmake
(3.94 KB)
📄
CheckFunctionExists.c
(433 B)
📄
CheckFunctionExists.cmake
(3.87 KB)
📁
CheckIPOSupported
📄
CheckIPOSupported.cmake
(7.38 KB)
📄
CheckIncludeFile.c.in
(130 B)
📄
CheckIncludeFile.cmake
(4.38 KB)
📄
CheckIncludeFile.cxx.in
(65 B)
📄
CheckIncludeFileCXX.cmake
(4.41 KB)
📄
CheckIncludeFiles.cmake
(5.8 KB)
📄
CheckLanguage.cmake
(4.21 KB)
📄
CheckLibraryExists.cmake
(3 KB)
📄
CheckLibraryExists.lists.in
(298 B)
📄
CheckLinkerFlag.cmake
(1.71 KB)
📄
CheckOBJCCompilerFlag.cmake
(1.56 KB)
📄
CheckOBJCSourceCompiles.cmake
(3.25 KB)
📄
CheckOBJCSourceRuns.cmake
(3.21 KB)
📄
CheckOBJCXXCompilerFlag.cmake
(1.58 KB)
📄
CheckOBJCXXSourceCompiles.cmake
(3.28 KB)
📄
CheckOBJCXXSourceRuns.cmake
(3.23 KB)
📄
CheckPIESupported.cmake
(5.04 KB)
📄
CheckPrototypeDefinition.c.in
(514 B)
📄
CheckPrototypeDefinition.cmake
(3.8 KB)
📄
CheckSizeOf.cmake
(348 B)
📄
CheckSourceCompiles.cmake
(3.81 KB)
📄
CheckSourceRuns.cmake
(3.68 KB)
📄
CheckStructHasMember.cmake
(2.49 KB)
📄
CheckSymbolExists.cmake
(5.75 KB)
📄
CheckTypeSize.c.in
(1.21 KB)
📄
CheckTypeSize.cmake
(9.6 KB)
📄
CheckTypeSizeMap.cmake.in
(31 B)
📄
CheckVariableExists.c
(382 B)
📄
CheckVariableExists.cmake
(2.49 KB)
📁
Compiler
📁
CompilerId
📄
Dart.cmake
(3.74 KB)
📄
DartConfiguration.tcl.in
(3.22 KB)
📄
DeployQt4.cmake
(12.63 KB)
📄
Documentation.cmake
(2.24 KB)
📄
DummyCXXFile.cxx
(27 B)
📄
ExternalData.cmake
(44.35 KB)
📄
ExternalData_config.cmake.in
(355 B)
📁
ExternalProject
📄
ExternalProject.cmake
(138.23 KB)
📄
FLTKCompatibility.cmake
(170 B)
📄
FeatureSummary.cmake
(27.97 KB)
📁
FetchContent
📄
FetchContent.cmake
(83.64 KB)
📄
FindALSA.cmake
(2.18 KB)
📄
FindASPELL.cmake
(1.02 KB)
📄
FindAVIFile.cmake
(1.35 KB)
📄
FindArmadillo.cmake
(4.98 KB)
📄
FindBISON.cmake
(10.75 KB)
📄
FindBLAS.cmake
(36.21 KB)
📄
FindBZip2.cmake
(3.83 KB)
📄
FindBacktrace.cmake
(3.44 KB)
📄
FindBoost.cmake
(114.04 KB)
📄
FindBullet.cmake
(2.75 KB)
📄
FindCABLE.cmake
(2.54 KB)
📁
FindCUDA
📄
FindCUDA.cmake
(85.84 KB)
📄
FindCUDAToolkit.cmake
(42.94 KB)
📄
FindCURL.cmake
(7.25 KB)
📄
FindCVS.cmake
(1.94 KB)
📄
FindCoin3D.cmake
(2.27 KB)
📄
FindCups.cmake
(3.37 KB)
📄
FindCurses.cmake
(9.2 KB)
📄
FindCxxTest.cmake
(7.56 KB)
📄
FindCygwin.cmake
(870 B)
📄
FindDCMTK.cmake
(10.26 KB)
📄
FindDart.cmake
(949 B)
📄
FindDevIL.cmake
(3.78 KB)
📄
FindDoxygen.cmake
(42.49 KB)
📄
FindEXPAT.cmake
(2.67 KB)
📄
FindEnvModules.cmake
(9.73 KB)
📄
FindFLEX.cmake
(8.46 KB)
📄
FindFLTK.cmake
(10.8 KB)
📄
FindFLTK2.cmake
(7.5 KB)
📄
FindFontconfig.cmake
(2.89 KB)
📄
FindFreetype.cmake
(5.97 KB)
📄
FindGCCXML.cmake
(672 B)
📄
FindGDAL.cmake
(6.46 KB)
📄
FindGIF.cmake
(3.79 KB)
📄
FindGLEW.cmake
(11.89 KB)
📄
FindGLU.cmake
(554 B)
📄
FindGLUT.cmake
(6.99 KB)
📄
FindGSL.cmake
(8.88 KB)
📄
FindGTK.cmake
(3.79 KB)
📄
FindGTK2.cmake
(36.91 KB)
📄
FindGTest.cmake
(11.77 KB)
📄
FindGettext.cmake
(7.81 KB)
📄
FindGit.cmake
(4.06 KB)
📄
FindGnuTLS.cmake
(2.44 KB)
📄
FindGnuplot.cmake
(1.65 KB)
📄
FindHDF5.cmake
(48.74 KB)
📄
FindHSPELL.cmake
(1.64 KB)
📄
FindHTMLHelp.cmake
(1.43 KB)
📄
FindHg.cmake
(3 KB)
📄
FindICU.cmake
(15.71 KB)
📄
FindIce.cmake
(23.82 KB)
📄
FindIconv.cmake
(5.79 KB)
📄
FindIcotool.cmake
(1.3 KB)
📄
FindImageMagick.cmake
(12.35 KB)
📄
FindIntl.cmake
(5.38 KB)
📄
FindJNI.cmake
(21.5 KB)
📄
FindJPEG.cmake
(4.21 KB)
📄
FindJasper.cmake
(2.96 KB)
📄
FindJava.cmake
(11.9 KB)
📄
FindKDE3.cmake
(9.91 KB)
📄
FindKDE4.cmake
(3.12 KB)
📄
FindLAPACK.cmake
(21.75 KB)
📄
FindLATEX.cmake
(6.5 KB)
📄
FindLTTngUST.cmake
(3.61 KB)
📄
FindLibArchive.cmake
(2.92 KB)
📄
FindLibLZMA.cmake
(5.58 KB)
📄
FindLibXml2.cmake
(4.12 KB)
📄
FindLibXslt.cmake
(4.75 KB)
📄
FindLibinput.cmake
(2.13 KB)
📄
FindLua.cmake
(8.24 KB)
📄
FindLua50.cmake
(2.34 KB)
📄
FindLua51.cmake
(2.23 KB)
📄
FindMFC.cmake
(1.86 KB)
📄
FindMPEG.cmake
(1.21 KB)
📄
FindMPEG2.cmake
(1.39 KB)
📁
FindMPI
📄
FindMPI.cmake
(91.49 KB)
📄
FindMatlab.cmake
(70.23 KB)
📄
FindMotif.cmake
(917 B)
📄
FindMsys.cmake
(1.03 KB)
📄
FindODBC.cmake
(7.01 KB)
📄
FindOpenACC.cmake
(9.99 KB)
📄
FindOpenAL.cmake
(3.93 KB)
📄
FindOpenCL.cmake
(4.9 KB)
📄
FindOpenGL.cmake
(20.19 KB)
📄
FindOpenMP.cmake
(26.96 KB)
📄
FindOpenSP.cmake
(4.55 KB)
📄
FindOpenSSL.cmake
(26.92 KB)
📄
FindOpenSceneGraph.cmake
(7.23 KB)
📄
FindOpenThreads.cmake
(3.41 KB)
📄
FindPHP4.cmake
(2.11 KB)
📄
FindPNG.cmake
(5.74 KB)
📄
FindPackageHandleStandardArgs.cmake
(22.63 KB)
📄
FindPackageMessage.cmake
(1.67 KB)
📄
FindPatch.cmake
(1.77 KB)
📄
FindPerl.cmake
(2.93 KB)
📄
FindPerlLibs.cmake
(5.15 KB)
📄
FindPhysFS.cmake
(1.12 KB)
📄
FindPike.cmake
(922 B)
📄
FindPkgConfig.cmake
(35.91 KB)
📄
FindPostgreSQL.cmake
(12.34 KB)
📄
FindProducer.cmake
(2.24 KB)
📄
FindProtobuf.cmake
(23.4 KB)
📁
FindPython
📄
FindPython.cmake
(22.01 KB)
📄
FindPython2.cmake
(14.13 KB)
📄
FindPython3.cmake
(18.59 KB)
📄
FindPythonInterp.cmake
(7.16 KB)
📄
FindPythonLibs.cmake
(15.86 KB)
📄
FindQt.cmake
(6.31 KB)
📄
FindQt3.cmake
(9.46 KB)
📄
FindQt4.cmake
(52.42 KB)
📄
FindQuickTime.cmake
(1011 B)
📄
FindRTI.cmake
(3.22 KB)
📄
FindRuby.cmake
(17.37 KB)
📄
FindSDL.cmake
(7.92 KB)
📄
FindSDL_gfx.cmake
(3.19 KB)
📄
FindSDL_image.cmake
(3.65 KB)
📄
FindSDL_mixer.cmake
(3.65 KB)
📄
FindSDL_net.cmake
(3.47 KB)
📄
FindSDL_sound.cmake
(12.35 KB)
📄
FindSDL_ttf.cmake
(3.47 KB)
📄
FindSQLite3.cmake
(2 KB)
📄
FindSWIG.cmake
(5.41 KB)
📄
FindSelfPackers.cmake
(1.59 KB)
📄
FindSquish.cmake
(9.26 KB)
📄
FindSubversion.cmake
(6.24 KB)
📄
FindTCL.cmake
(8.05 KB)
📄
FindTIFF.cmake
(6.54 KB)
📄
FindTclStub.cmake
(4.46 KB)
📄
FindTclsh.cmake
(3.6 KB)
📄
FindThreads.cmake
(7.4 KB)
📄
FindUnixCommands.cmake
(1.58 KB)
📄
FindVulkan.cmake
(28.16 KB)
📄
FindWget.cmake
(968 B)
📄
FindWish.cmake
(2.72 KB)
📄
FindX11.cmake
(36.81 KB)
📄
FindXCTest.cmake
(7.19 KB)
📄
FindXMLRPC.cmake
(3.98 KB)
📄
FindXalanC.cmake
(5.85 KB)
📄
FindXercesC.cmake
(5.59 KB)
📄
FindZLIB.cmake
(7.32 KB)
📄
Findosg.cmake
(1.88 KB)
📄
FindosgAnimation.cmake
(1.87 KB)
📄
FindosgDB.cmake
(1.77 KB)
📄
FindosgFX.cmake
(1.76 KB)
📄
FindosgGA.cmake
(1.77 KB)
📄
FindosgIntrospection.cmake
(1.96 KB)
📄
FindosgManipulator.cmake
(1.93 KB)
📄
FindosgParticle.cmake
(1.86 KB)
📄
FindosgPresentation.cmake
(2.02 KB)
📄
FindosgProducer.cmake
(1.87 KB)
📄
FindosgQt.cmake
(1.82 KB)
📄
FindosgShadow.cmake
(1.83 KB)
📄
FindosgSim.cmake
(1.77 KB)
📄
FindosgTerrain.cmake
(1.84 KB)
📄
FindosgText.cmake
(1.77 KB)
📄
FindosgUtil.cmake
(1.78 KB)
📄
FindosgViewer.cmake
(1.82 KB)
📄
FindosgVolume.cmake
(1.82 KB)
📄
FindosgWidget.cmake
(1.87 KB)
📄
Findosg_functions.cmake
(2.08 KB)
📄
FindwxWidgets.cmake
(41.74 KB)
📄
FindwxWindows.cmake
(23.78 KB)
📁
FortranCInterface
📄
FortranCInterface.cmake
(14.27 KB)
📄
GNUInstallDirs.cmake
(16.9 KB)
📄
GenerateExportHeader.cmake
(15.25 KB)
📄
GetPrerequisites.cmake
(33.35 KB)
📄
GoogleTest.cmake
(23.69 KB)
📄
GoogleTestAddTests.cmake
(7.74 KB)
📄
ITKCompatibility.cmake
(224 B)
📄
InstallRequiredSystemLibraries.cmake
(30.51 KB)
📁
IntelVSImplicitPath
📁
Internal
📄
KDE3Macros.cmake
(12.39 KB)
📄
MacOSXBundleInfo.plist.in
(1.19 KB)
📄
MacOSXFrameworkInfo.plist.in
(886 B)
📄
MacroAddFileDependencies.cmake
(848 B)
📄
MatlabTestsRedirect.cmake
(3.44 KB)
📁
Platform
📄
ProcessorCount.cmake
(8.78 KB)
📄
Qt4ConfigDependentSettings.cmake
(7.61 KB)
📄
Qt4Macros.cmake
(18.79 KB)
📄
SelectLibraryConfigurations.cmake
(3.21 KB)
📄
Squish4RunTestCase.bat
(648 B)
📄
Squish4RunTestCase.sh
(631 B)
📄
SquishRunTestCase.bat
(219 B)
📄
SquishRunTestCase.sh
(272 B)
📄
SquishTestScript.cmake
(3.41 KB)
📄
SystemInformation.cmake
(3.04 KB)
📄
SystemInformation.in
(4.59 KB)
📄
TestBigEndian.cmake
(4.7 KB)
📄
TestCXXAcceptsFlag.cmake
(1013 B)
📄
TestEndianess.c.in
(871 B)
📄
TestForANSIForScope.cmake
(1.02 KB)
📄
TestForANSIStreamHeaders.cmake
(1.04 KB)
📄
TestForANSIStreamHeaders.cxx
(60 B)
📄
TestForAnsiForScope.cxx
(95 B)
📄
TestForSSTREAM.cmake
(1 KB)
📄
TestForSSTREAM.cxx
(149 B)
📄
TestForSTDNamespace.cmake
(978 B)
📄
TestForSTDNamespace.cxx
(75 B)
📄
UseEcos.cmake
(9.7 KB)
📁
UseJava
📄
UseJava.cmake
(61.86 KB)
📄
UsePkgConfig.cmake
(2.65 KB)
📄
UseQt4.cmake
(3.62 KB)
📁
UseSWIG
📄
UseSWIG.cmake
(41.8 KB)
📄
Use_wxWindows.cmake
(2.1 KB)
📄
UsewxWidgets.cmake
(1.88 KB)
📄
VTKCompatibility.cmake
(1.78 KB)
📄
WriteBasicConfigVersionFile.cmake
(2.26 KB)
📄
WriteCompilerDetectionHeader.cmake
(30.97 KB)
📄
ecos_clean.cmake
(492 B)
📄
exportheader.cmake.in
(1.08 KB)
📄
kde3init_dummy.cpp.in
(227 B)
📄
kde3uic.cmake
(723 B)
📄
readme.txt
(233 B)
Editing: FortranCInterface.cmake
# Distributed under the OSI-approved BSD 3-Clause License. See accompanying # file Copyright.txt or https://cmake.org/licensing for details. #[=======================================================================[.rst: FortranCInterface ----------------- Fortran/C Interface Detection This module automatically detects the API by which C and Fortran languages interact. Module Variables ^^^^^^^^^^^^^^^^ Variables that indicate if the mangling is found: ``FortranCInterface_GLOBAL_FOUND`` Global subroutines and functions. ``FortranCInterface_MODULE_FOUND`` Module subroutines and functions (declared by "MODULE PROCEDURE"). This module also provides the following variables to specify the detected mangling, though a typical use case does not need to reference them and can use the `Module Functions`_ below. ``FortranCInterface_GLOBAL_PREFIX`` Prefix for a global symbol without an underscore. ``FortranCInterface_GLOBAL_SUFFIX`` Suffix for a global symbol without an underscore. ``FortranCInterface_GLOBAL_CASE`` The case for a global symbol without an underscore, either ``UPPER`` or ``LOWER``. ``FortranCInterface_GLOBAL__PREFIX`` Prefix for a global symbol with an underscore. ``FortranCInterface_GLOBAL__SUFFIX`` Suffix for a global symbol with an underscore. ``FortranCInterface_GLOBAL__CASE`` The case for a global symbol with an underscore, either ``UPPER`` or ``LOWER``. ``FortranCInterface_MODULE_PREFIX`` Prefix for a module symbol without an underscore. ``FortranCInterface_MODULE_MIDDLE`` Middle of a module symbol without an underscore that appears between the name of the module and the name of the symbol. ``FortranCInterface_MODULE_SUFFIX`` Suffix for a module symbol without an underscore. ``FortranCInterface_MODULE_CASE`` The case for a module symbol without an underscore, either ``UPPER`` or ``LOWER``. ``FortranCInterface_MODULE__PREFIX`` Prefix for a module symbol with an underscore. ``FortranCInterface_MODULE__MIDDLE`` Middle of a module symbol with an underscore that appears between the name of the module and the name of the symbol. ``FortranCInterface_MODULE__SUFFIX`` Suffix for a module symbol with an underscore. ``FortranCInterface_MODULE__CASE`` The case for a module symbol with an underscore, either ``UPPER`` or ``LOWER``. Module Functions ^^^^^^^^^^^^^^^^ .. command:: FortranCInterface_HEADER The ``FortranCInterface_HEADER`` function is provided to generate a C header file containing macros to mangle symbol names:: FortranCInterface_HEADER(<file> [MACRO_NAMESPACE <macro-ns>] [SYMBOL_NAMESPACE <ns>] [SYMBOLS [<module>:]<function> ...]) It generates in ``<file>`` definitions of the following macros:: #define FortranCInterface_GLOBAL (name,NAME) ... #define FortranCInterface_GLOBAL_(name,NAME) ... #define FortranCInterface_MODULE (mod,name, MOD,NAME) ... #define FortranCInterface_MODULE_(mod,name, MOD,NAME) ... These macros mangle four categories of Fortran symbols, respectively: * Global symbols without '_': ``call mysub()`` * Global symbols with '_' : ``call my_sub()`` * Module symbols without '_': ``use mymod; call mysub()`` * Module symbols with '_' : ``use mymod; call my_sub()`` If mangling for a category is not known, its macro is left undefined. All macros require raw names in both lower case and upper case. The options are: ``MACRO_NAMESPACE`` Replace the default ``FortranCInterface_`` prefix with a given namespace ``<macro-ns>``. ``SYMBOLS`` List symbols to mangle automatically with C preprocessor definitions:: <function> ==> #define <ns><function> ... <module>:<function> ==> #define <ns><module>_<function> ... If the mangling for some symbol is not known then no preprocessor definition is created, and a warning is displayed. ``SYMBOL_NAMESPACE`` Prefix all preprocessor definitions generated by the ``SYMBOLS`` option with a given namespace ``<ns>``. .. command:: FortranCInterface_VERIFY The ``FortranCInterface_VERIFY`` function is provided to verify that the Fortran and C/C++ compilers work together:: FortranCInterface_VERIFY([CXX] [QUIET]) It tests whether a simple test executable using Fortran and C (and C++ when the CXX option is given) compiles and links successfully. The result is stored in the cache entry ``FortranCInterface_VERIFIED_C`` (or ``FortranCInterface_VERIFIED_CXX`` if ``CXX`` is given) as a boolean. If the check fails and ``QUIET`` is not given the function terminates with a fatal error message describing the problem. The purpose of this check is to stop a build early for incompatible compiler combinations. The test is built in the ``Release`` configuration. Example Usage ^^^^^^^^^^^^^ .. code-block:: cmake include(FortranCInterface) FortranCInterface_HEADER(FC.h MACRO_NAMESPACE "FC_") This creates a "FC.h" header that defines mangling macros ``FC_GLOBAL()``, ``FC_GLOBAL_()``, ``FC_MODULE()``, and ``FC_MODULE_()``. .. code-block:: cmake include(FortranCInterface) FortranCInterface_HEADER(FCMangle.h MACRO_NAMESPACE "FC_" SYMBOL_NAMESPACE "FC_" SYMBOLS mysub mymod:my_sub) This creates a "FCMangle.h" header that defines the same ``FC_*()`` mangling macros as the previous example plus preprocessor symbols ``FC_mysub`` and ``FC_mymod_my_sub``. Additional Manglings ^^^^^^^^^^^^^^^^^^^^ FortranCInterface is aware of possible ``GLOBAL`` and ``MODULE`` manglings for many Fortran compilers, but it also provides an interface to specify new possible manglings. Set the variables:: FortranCInterface_GLOBAL_SYMBOLS FortranCInterface_MODULE_SYMBOLS before including FortranCInterface to specify manglings of the symbols ``MySub``, ``My_Sub``, ``MyModule:MySub``, and ``My_Module:My_Sub``. For example, the code: .. code-block:: cmake set(FortranCInterface_GLOBAL_SYMBOLS mysub_ my_sub__ MYSUB_) # ^^^^^ ^^^^^^ ^^^^^ set(FortranCInterface_MODULE_SYMBOLS __mymodule_MOD_mysub __my_module_MOD_my_sub) # ^^^^^^^^ ^^^^^ ^^^^^^^^^ ^^^^^^ include(FortranCInterface) tells FortranCInterface to try given ``GLOBAL`` and ``MODULE`` manglings. (The carets point at raw symbol names for clarity in this example but are not needed.) #]=======================================================================] #----------------------------------------------------------------------------- # Execute at most once in a project. if(FortranCInterface_SOURCE_DIR) return() endif() cmake_policy(PUSH) cmake_policy(SET CMP0007 NEW) #----------------------------------------------------------------------------- # Verify that C and Fortran are available. foreach(lang C Fortran) if(NOT CMAKE_${lang}_COMPILER_LOADED) message(FATAL_ERROR "FortranCInterface requires the ${lang} language to be enabled.") endif() endforeach() #----------------------------------------------------------------------------- set(FortranCInterface_SOURCE_DIR ${CMAKE_ROOT}/Modules/FortranCInterface) # MinGW's make tool does not always like () in the path if("${CMAKE_GENERATOR}" MATCHES "MinGW" AND "${FortranCInterface_SOURCE_DIR}" MATCHES "[()]") file(COPY ${FortranCInterface_SOURCE_DIR}/ DESTINATION ${CMAKE_BINARY_DIR}/CMakeFiles/FortranCInterfaceMinGW) set(FortranCInterface_SOURCE_DIR ${CMAKE_BINARY_DIR}/CMakeFiles/FortranCInterfaceMinGW) endif() # Create the interface detection project if it does not exist. if(NOT FortranCInterface_BINARY_DIR) set(FortranCInterface_BINARY_DIR ${CMAKE_BINARY_DIR}/CMakeFiles/FortranCInterface) include(${FortranCInterface_SOURCE_DIR}/Detect.cmake) endif() # Load the detection results. include(${FortranCInterface_BINARY_DIR}/Output.cmake) #----------------------------------------------------------------------------- function(FortranCInterface_HEADER file) # Parse arguments. if(IS_ABSOLUTE "${file}") set(FILE "${file}") else() set(FILE "${CMAKE_CURRENT_BINARY_DIR}/${file}") endif() set(MACRO_NAMESPACE "FortranCInterface_") set(SYMBOL_NAMESPACE) set(SYMBOLS) set(doing) foreach(arg ${ARGN}) if("x${arg}" MATCHES "^x(SYMBOLS|SYMBOL_NAMESPACE|MACRO_NAMESPACE)$") set(doing "${arg}") elseif("x${doing}" MATCHES "^x(SYMBOLS)$") list(APPEND "${doing}" "${arg}") elseif("x${doing}" MATCHES "^x(SYMBOL_NAMESPACE|MACRO_NAMESPACE)$") set("${doing}" "${arg}") set(doing) else() message(AUTHOR_WARNING "Unknown argument: \"${arg}\"") endif() endforeach() # Generate macro definitions. set(HEADER_CONTENT) set(_desc_GLOBAL "/* Mangling for Fortran global symbols without underscores. */") set(_desc_GLOBAL_ "/* Mangling for Fortran global symbols with underscores. */") set(_desc_MODULE "/* Mangling for Fortran module symbols without underscores. */") set(_desc_MODULE_ "/* Mangling for Fortran module symbols with underscores. */") foreach(macro GLOBAL GLOBAL_ MODULE MODULE_) if(FortranCInterface_${macro}_MACRO) string(APPEND HEADER_CONTENT " ${_desc_${macro}} #define ${MACRO_NAMESPACE}${macro}${FortranCInterface_${macro}_MACRO} ") endif() endforeach() # Generate symbol mangling definitions. if(SYMBOLS) string(APPEND HEADER_CONTENT " /*--------------------------------------------------------------------------*/ /* Mangle some symbols automatically. */ ") endif() foreach(f ${SYMBOLS}) if("${f}" MATCHES ":") # Module symbol name. Parse "<module>:<function>" syntax. string(REPLACE ":" ";" pieces "${f}") list(GET pieces 0 module) list(GET pieces 1 function) string(TOUPPER "${module}" m_upper) string(TOLOWER "${module}" m_lower) string(TOUPPER "${function}" f_upper) string(TOLOWER "${function}" f_lower) if("${function}" MATCHES "_") set(form "_") else() set(form "") endif() if(FortranCInterface_MODULE${form}_MACRO) string(APPEND HEADER_CONTENT "#define ${SYMBOL_NAMESPACE}${module}_${function} ${MACRO_NAMESPACE}MODULE${form}(${m_lower},${f_lower}, ${m_upper},${f_upper})\n") else() message(AUTHOR_WARNING "No FortranCInterface mangling known for ${f}") endif() else() # Global symbol name. if("${f}" MATCHES "_") set(form "_") else() set(form "") endif() string(TOUPPER "${f}" f_upper) string(TOLOWER "${f}" f_lower) if(FortranCInterface_GLOBAL${form}_MACRO) string(APPEND HEADER_CONTENT "#define ${SYMBOL_NAMESPACE}${f} ${MACRO_NAMESPACE}GLOBAL${form}(${f_lower}, ${f_upper})\n") else() message(AUTHOR_WARNING "No FortranCInterface mangling known for ${f}") endif() endif() endforeach() # Store the content. configure_file(${FortranCInterface_SOURCE_DIR}/Macro.h.in ${FILE} @ONLY) endfunction() function(FortranCInterface_VERIFY) # Check arguments. set(lang C) set(quiet 0) set(verify_cxx 0) foreach(arg ${ARGN}) if("${arg}" STREQUAL "QUIET") set(quiet 1) elseif("${arg}" STREQUAL "CXX") set(lang CXX) set(verify_cxx 1) else() message(FATAL_ERROR "FortranCInterface_VERIFY - called with unknown argument:\n ${arg}") endif() endforeach() if(NOT CMAKE_${lang}_COMPILER_LOADED) message(FATAL_ERROR "FortranCInterface_VERIFY(${lang}) requires ${lang} to be enabled.") endif() # Build the verification project if not yet built. if(NOT DEFINED FortranCInterface_VERIFIED_${lang}) set(_desc "Verifying Fortran/${lang} Compiler Compatibility") message(CHECK_START "${_desc}") # Perform verification with only one architecture. # FIXME: Add try_compile whole-project option to forward architectures. if(CMAKE_OSX_ARCHITECTURES MATCHES "^([^;]+)(;|$)") set(_FortranCInterface_OSX_ARCH "-DCMAKE_OSX_ARCHITECTURES=${CMAKE_MATCH_1}") else() set(_FortranCInterface_OSX_ARCH "") endif() cmake_policy(GET CMP0056 _FortranCInterface_CMP0056) if(_FortranCInterface_CMP0056 STREQUAL "NEW") set(_FortranCInterface_EXE_LINKER_FLAGS "-DCMAKE_EXE_LINKER_FLAGS:STRING=${CMAKE_EXE_LINKER_FLAGS}") else() set(_FortranCInterface_EXE_LINKER_FLAGS "") endif() # Build a sample project which reports symbols. set(CMAKE_TRY_COMPILE_CONFIGURATION Release) try_compile(FortranCInterface_VERIFY_${lang}_COMPILED PROJECT VerifyFortranC TARGET VerifyFortranC SOURCE_DIR ${FortranCInterface_SOURCE_DIR}/Verify BINARY_DIR ${FortranCInterface_BINARY_DIR}/Verify${lang} CMAKE_FLAGS -DVERIFY_CXX=${verify_cxx} -DCMAKE_VERBOSE_MAKEFILE=ON "-DCMAKE_C_FLAGS:STRING=${CMAKE_C_FLAGS}" "-DCMAKE_CXX_FLAGS:STRING=${CMAKE_CXX_FLAGS}" "-DCMAKE_Fortran_FLAGS:STRING=${CMAKE_Fortran_FLAGS}" "-DCMAKE_C_FLAGS_RELEASE:STRING=${CMAKE_C_FLAGS_RELEASE}" "-DCMAKE_CXX_FLAGS_RELEASE:STRING=${CMAKE_CXX_FLAGS_RELEASE}" "-DCMAKE_Fortran_FLAGS_RELEASE:STRING=${CMAKE_Fortran_FLAGS_RELEASE}" ${_FortranCInterface_OSX_ARCH} ${_FortranCInterface_EXE_LINKER_FLAGS} OUTPUT_VARIABLE _output) file(WRITE "${FortranCInterface_BINARY_DIR}/Verify${lang}/output.txt" "${_output}") # Report results. if(FortranCInterface_VERIFY_${lang}_COMPILED) message(CHECK_PASS "Success") set(FortranCInterface_VERIFIED_${lang} 1 CACHE INTERNAL "Fortran/${lang} compatibility") else() message(CHECK_FAIL "Failed") set(FortranCInterface_VERIFIED_${lang} 0 CACHE INTERNAL "Fortran/${lang} compatibility") endif() unset(FortranCInterface_VERIFY_${lang}_COMPILED CACHE) endif() # Error if compilers are incompatible. if(NOT FortranCInterface_VERIFIED_${lang} AND NOT quiet) file(READ "${FortranCInterface_BINARY_DIR}/Verify${lang}/output.txt" _output) string(REPLACE "\n" "\n " _output "${_output}") message(FATAL_ERROR "The Fortran compiler:\n ${CMAKE_Fortran_COMPILER}\n" "and the ${lang} compiler:\n ${CMAKE_${lang}_COMPILER}\n" "failed to compile a simple test project using both languages. " "The output was:\n ${_output}") endif() endfunction() # Restore including context policies. cmake_policy(POP)
Upload File
Create Folder