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: FindEnvModules.cmake
# Distributed under the OSI-approved BSD 3-Clause License. See accompanying # file Copyright.txt or https://cmake.org/licensing for details. #[=======================================================================[.rst: FindEnvModules -------------- .. versionadded:: 3.15 Locate an environment module implementation and make commands available to CMake scripts to use them. This is compatible with both Lua-based Lmod and TCL-based EnvironmentModules. This module is intended for the use case of setting up the compiler and library environment within a :ref:`CTest Script <CTest Script>` (``ctest -S``). It can also be used in a :ref:`CMake Script <Script Processing Mode>` (``cmake -P``). .. note:: The loaded environment will not survive past the end of the calling process. Do not use this module in project code (``CMakeLists.txt`` files) to load a compiler environment; it will not be available during the build. Instead load the environment manually before running CMake or using the generated build system. Example Usage ^^^^^^^^^^^^^ .. code-block:: cmake set(CTEST_BUILD_NAME "CrayLinux-CrayPE-Cray-dynamic") set(CTEST_BUILD_CONFIGURATION Release) set(CTEST_BUILD_FLAGS "-k -j8") set(CTEST_CMAKE_GENERATOR "Unix Makefiles") ... find_package(EnvModules REQUIRED) env_module(purge) env_module(load modules) env_module(load craype) env_module(load PrgEnv-cray) env_module(load craype-knl) env_module(load cray-mpich) env_module(load cray-libsci) set(ENV{CRAYPE_LINK_TYPE} dynamic) ... Result Variables ^^^^^^^^^^^^^^^^ This module will set the following variables in your project: ``EnvModules_FOUND`` True if a compatible environment modules framework was found. Cache Variables ^^^^^^^^^^^^^^^ The following cache variable will be set: ``EnvModules_COMMAND`` The low level module command to use. Currently supported implementations are the Lua based Lmod and TCL based EnvironmentModules. Environment Variables ^^^^^^^^^^^^^^^^^^^^^ ``ENV{MODULESHOME}`` Usually set by the module environment implementation, used as a hint to locate the module command to execute. Provided Functions ^^^^^^^^^^^^^^^^^^ This defines the following CMake functions for interacting with environment modules: .. command:: env_module Execute an aribitrary module command: .. code-block:: cmake env_module(cmd arg1 ... argN) env_module( COMMAND cmd arg1 ... argN [OUTPUT_VARIABLE <out-var>] [RESULT_VARIABLE <ret-var>] ) The options are: ``cmd arg1 ... argN`` The module sub-command and arguments to execute as if they were passed directly to the module command in your shell environment. ``OUTPUT_VARIABLE <out-var>`` The standard output from executing the module command. ``RESULT_VARIABLE <ret-var>`` The return code from executing the module command. .. command:: env_module_swap Swap one module for another: .. code-block:: cmake env_module_swap(out_mod in_mod [OUTPUT_VARIABLE <out-var>] [RESULT_VARIABLE <ret-var>] ) This is functionally equivalent to the ``module swap out_mod in_mod`` shell command. The options are: ``OUTPUT_VARIABLE <out-var>`` The standard output from executing the module command. ``RESULT_VARIABLE <ret-var>`` The return code from executing the module command. .. command:: env_module_list Retrieve the list of currently loaded modules: .. code-block:: cmake env_module_list(<out-var>) This is functionally equivalent to the ``module list`` shell command. The result is stored in ``<out-var>`` as a properly formatted CMake :ref:`semicolon-separated list <CMake Language Lists>` variable. .. command:: env_module_avail Retrieve the list of available modules: .. code-block:: cmake env_module_avail([<mod-prefix>] <out-var>) This is functionally equivalent to the ``module avail <mod-prefix>`` shell command. The result is stored in ``<out-var>`` as a properly formatted CMake :ref:`semicolon-separated list <CMake Language Lists>` variable. #]=======================================================================] function(env_module) if(NOT EnvModules_COMMAND) message(FATAL_ERROR "Failed to process module command. EnvModules_COMMAND not found") return() endif() set(options) set(oneValueArgs OUTPUT_VARIABLE RESULT_VARIABLE) set(multiValueArgs COMMAND) cmake_parse_arguments(MOD_ARGS "${options}" "${oneValueArgs}" "${multiValueArgs}" ${ARGV} ) if(NOT MOD_ARGS_COMMAND) # If no explicit command argument was given, then treat the calling syntax # as: module(cmd args...) set(exec_cmd ${ARGV}) else() set(exec_cmd ${MOD_ARGS_COMMAND}) endif() if(MOD_ARGS_OUTPUT_VARIABLE) set(err_var_args ERROR_VARIABLE err_var) endif() execute_process( COMMAND mktemp -t module.cmake.XXXXXXXXXXXX OUTPUT_VARIABLE tempfile_name ) string(STRIP "${tempfile_name}" tempfile_name) # If the $MODULESHOME/init/cmake file exists then assume that the CMake # "shell" functionality exits if(EXISTS "$ENV{MODULESHOME}/init/cmake") execute_process( COMMAND ${EnvModules_COMMAND} cmake ${exec_cmd} OUTPUT_FILE ${tempfile_name} ${err_var_args} RESULT_VARIABLE ret_var ) else() # fallback to the sh shell and manually convert to CMake execute_process( COMMAND ${EnvModules_COMMAND} sh ${exec_cmd} OUTPUT_VARIABLE out_var ${err_var_args} RESULT_VARIABLE ret_var ) endif() # If we executed successfully then process and cleanup the temp file if(ret_var EQUAL 0) # No CMake shell so we need to process the sh output into CMake code if(NOT EXISTS "$ENV{MODULESHOME}/init/cmake") file(WRITE ${tempfile_name} "") string(REPLACE "\n" ";" out_var "${out_var}") foreach(sh_cmd IN LISTS out_var) if(sh_cmd MATCHES "^ *unset *([^ ]*)") set(cmake_cmd "unset(ENV{${CMAKE_MATCH_1}})") elseif(sh_cmd MATCHES "^ *export *([^ ]*)") set(cmake_cmd "set(ENV{${CMAKE_MATCH_1}} \"\${${CMAKE_MATCH_1}}\")") elseif(sh_cmd MATCHES " *([^ =]*) *= *(.*)") set(var_name "${CMAKE_MATCH_1}") set(var_value "${CMAKE_MATCH_2}") if(var_value MATCHES "^\"(.*[^\\])\"") # If it's in quotes, take the value as is set(var_value "${CMAKE_MATCH_1}") else() # Otherwise, strip trailing spaces string(REGEX REPLACE "([^\\])? +$" "\\1" var_value "${var_value}") endif() string(REPLACE "\\ " " " var_value "${var_value}") set(cmake_cmd "set(${var_name} \"${var_value}\")") else() continue() endif() file(APPEND ${tempfile_name} "${cmake_cmd}\n") endforeach() endif() # Process the change in environment variables include(${tempfile_name}) file(REMOVE ${tempfile_name}) endif() # Push the output back out to the calling scope if(MOD_ARGS_OUTPUT_VARIABLE) set(${MOD_ARGS_OUTPUT_VARIABLE} "${err_var}" PARENT_SCOPE) endif() if(MOD_ARGS_RESULT_VARIABLE) set(${MOD_ARGS_RESULT_VARIABLE} ${ret_var} PARENT_SCOPE) endif() endfunction(env_module) #------------------------------------------------------------------------------ function(env_module_swap out_mod in_mod) set(options) set(oneValueArgs OUTPUT_VARIABLE RESULT_VARIABLE) set(multiValueArgs) cmake_parse_arguments(MOD_ARGS "${options}" "${oneValueArgs}" "${multiValueArgs}" ${ARGV} ) env_module(COMMAND -t swap ${out_mod} ${in_mod} OUTPUT_VARIABLE tmp_out RETURN_VARIABLE tmp_ret ) if(MOD_ARGS_OUTPUT_VARIABLE) set(${MOD_ARGS_OUTPUT_VARIABLE} "${tmp_out}" PARENT_SCOPE) endif() if(MOD_ARGS_RESULT_VARIABLE) set(${MOD_ARGS_RESULT_VARIABLE} ${tmp_ret} PARENT_SCOPE) endif() endfunction() #------------------------------------------------------------------------------ function(env_module_list out_var) cmake_policy(SET CMP0007 NEW) env_module(COMMAND -t list OUTPUT_VARIABLE tmp_out) # Convert output into a CMake list string(REPLACE "\n" ";" ${out_var} "${tmp_out}") # Remove title headers and empty entries list(REMOVE_ITEM ${out_var} "No modules loaded") if(${out_var}) list(FILTER ${out_var} EXCLUDE REGEX "^(.*:)?$") endif() list(FILTER ${out_var} EXCLUDE REGEX "^(.*:)?$") set(${out_var} ${${out_var}} PARENT_SCOPE) endfunction() #------------------------------------------------------------------------------ function(env_module_avail) cmake_policy(SET CMP0007 NEW) if(ARGC EQUAL 1) set(mod_prefix) set(out_var ${ARGV0}) elseif(ARGC EQUAL 2) set(mod_prefix ${ARGV0}) set(out_var ${ARGV1}) else() message(FATAL_ERROR "Usage: env_module_avail([mod_prefix] out_var)") endif() env_module(COMMAND -t avail ${mod_prefix} OUTPUT_VARIABLE tmp_out) # Convert output into a CMake list string(REPLACE "\n" ";" tmp_out "${tmp_out}") set(${out_var}) foreach(MOD IN LISTS tmp_out) # Remove directory entries and empty values if(MOD MATCHES "^(.*:)?$") continue() endif() # Convert default modules if(MOD MATCHES "^(.*)/$" ) # "foo/" list(APPEND ${out_var} ${CMAKE_MATCH_1}) elseif(MOD MATCHES "^((.*)/.*)\\(default\\)$") # "foo/1.2.3(default)" list(APPEND ${out_var} ${CMAKE_MATCH_2}) list(APPEND ${out_var} ${CMAKE_MATCH_1}) else() list(APPEND ${out_var} ${MOD}) endif() endforeach() set(${out_var} ${${out_var}} PARENT_SCOPE) endfunction() #------------------------------------------------------------------------------ # Make sure we know where the underlying module command is find_program(EnvModules_COMMAND NAMES lmod modulecmd HINTS ENV MODULESHOME PATH_SUFFIXES libexec ) include(${CMAKE_CURRENT_LIST_DIR}/FindPackageHandleStandardArgs.cmake) find_package_handle_standard_args(EnvModules DEFAULT_MSG EnvModules_COMMAND)
Upload File
Create Folder