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: FindBISON.cmake
# Distributed under the OSI-approved BSD 3-Clause License. See accompanying # file Copyright.txt or https://cmake.org/licensing for details. #[=======================================================================[.rst: FindBISON --------- Find ``bison`` executable and provide a macro to generate custom build rules. The module defines the following variables: ``BISON_EXECUTABLE`` path to the ``bison`` program ``BISON_VERSION`` version of ``bison`` ``BISON_FOUND`` "True" if the program was found The minimum required version of ``bison`` can be specified using the standard CMake syntax, e.g. :command:`find_package(BISON 2.1.3)`. If ``bison`` is found, the module defines the macro:: BISON_TARGET(<Name> <YaccInput> <CodeOutput> [COMPILE_FLAGS <flags>] [DEFINES_FILE <file>] [VERBOSE [<file>]] [REPORT_FILE <file>] ) which will create a custom rule to generate a parser. ``<YaccInput>`` is the path to a yacc file. ``<CodeOutput>`` is the name of the source file generated by bison. A header file is also be generated, and contains the token list. .. versionchanged:: 3.14 When :policy:`CMP0088` is set to ``NEW``, ``bison`` runs in the :variable:`CMAKE_CURRENT_BINARY_DIR` directory. The options are: ``COMPILE_FLAGS <flags>`` Specify flags to be added to the ``bison`` command line. ``DEFINES_FILE <file>`` .. versionadded:: 3.4 Specify a non-default header ``<file>`` to be generated by ``bison``. ``VERBOSE [<file>]`` Tell ``bison`` to write a report file of the grammar and parser. .. deprecated:: 3.7 If ``<file>`` is given, it specifies path the report file is copied to. ``[<file>]`` is left for backward compatibility of this module. Use ``VERBOSE REPORT_FILE <file>``. ``REPORT_FILE <file>`` .. versionadded:: 3.7 Specify a non-default report ``<file>``, if generated. The macro defines the following variables: ``BISON_<Name>_DEFINED`` ``True`` is the macro ran successfully ``BISON_<Name>_INPUT`` The input source file, an alias for <YaccInput> ``BISON_<Name>_OUTPUT_SOURCE`` The source file generated by bison ``BISON_<Name>_OUTPUT_HEADER`` The header file generated by bison ``BISON_<Name>_OUTPUTS`` All files generated by bison including the source, the header and the report ``BISON_<Name>_COMPILE_FLAGS`` Options used in the ``bison`` command line Example usage: .. code-block:: cmake find_package(BISON) BISON_TARGET(MyParser parser.y ${CMAKE_CURRENT_BINARY_DIR}/parser.cpp DEFINES_FILE ${CMAKE_CURRENT_BINARY_DIR}/parser.h) add_executable(Foo main.cpp ${BISON_MyParser_OUTPUTS}) #]=======================================================================] find_program(BISON_EXECUTABLE NAMES bison win-bison win_bison DOC "path to the bison executable") mark_as_advanced(BISON_EXECUTABLE) if(BISON_EXECUTABLE) # the bison commands should be executed with the C locale, otherwise # the message (which are parsed) may be translated set(_Bison_SAVED_LC_ALL "$ENV{LC_ALL}") set(ENV{LC_ALL} C) execute_process(COMMAND ${BISON_EXECUTABLE} --version OUTPUT_VARIABLE BISON_version_output ERROR_VARIABLE BISON_version_error RESULT_VARIABLE BISON_version_result OUTPUT_STRIP_TRAILING_WHITESPACE) set(ENV{LC_ALL} ${_Bison_SAVED_LC_ALL}) if(NOT ${BISON_version_result} EQUAL 0) message(SEND_ERROR "Command \"${BISON_EXECUTABLE} --version\" failed with output:\n${BISON_version_error}") else() # Bison++ if("${BISON_version_output}" MATCHES "^bison\\+\\+ Version ([^,]+)") set(BISON_VERSION "${CMAKE_MATCH_1}") # GNU Bison elseif("${BISON_version_output}" MATCHES "^bison \\(GNU Bison\\) ([^\n]+)\n") set(BISON_VERSION "${CMAKE_MATCH_1}") elseif("${BISON_version_output}" MATCHES "^GNU Bison (version )?([^\n]+)") set(BISON_VERSION "${CMAKE_MATCH_2}") endif() endif() # internal macro # sets BISON_TARGET_cmdopt macro(BISON_TARGET_option_extraopts Options) set(BISON_TARGET_cmdopt "") set(BISON_TARGET_extraopts "${Options}") separate_arguments(BISON_TARGET_extraopts) list(APPEND BISON_TARGET_cmdopt ${BISON_TARGET_extraopts}) endmacro() # internal macro # sets BISON_TARGET_output_header and BISON_TARGET_cmdopt macro(BISON_TARGET_option_defines BisonOutput Header) if("${Header}" STREQUAL "") # default header path generated by bison (see option -d) string(REGEX REPLACE "^(.*)(\\.[^.]*)$" "\\2" _fileext "${BisonOutput}") string(REPLACE "c" "h" _fileext ${_fileext}) string(REGEX REPLACE "^(.*)(\\.[^.]*)$" "\\1${_fileext}" BISON_TARGET_output_header "${BisonOutput}") list(APPEND BISON_TARGET_cmdopt "-d") else() set(BISON_TARGET_output_header "${Header}") list(APPEND BISON_TARGET_cmdopt "--defines=${BISON_TARGET_output_header}") endif() endmacro() # internal macro # sets BISON_TARGET_verbose_file and BISON_TARGET_cmdopt macro(BISON_TARGET_option_report_file BisonOutput ReportFile) if("${ReportFile}" STREQUAL "") get_filename_component(BISON_TARGET_output_path "${BisonOutput}" PATH) get_filename_component(BISON_TARGET_output_name "${BisonOutput}" NAME_WE) set(BISON_TARGET_verbose_file "${BISON_TARGET_output_path}/${BISON_TARGET_output_name}.output") else() set(BISON_TARGET_verbose_file "${ReportFile}") list(APPEND BISON_TARGET_cmdopt "--report-file=${BISON_TARGET_verbose_file}") endif() if(NOT IS_ABSOLUTE "${BISON_TARGET_verbose_file}") cmake_policy(GET CMP0088 _BISON_CMP0088 PARENT_SCOPE # undocumented, do not use outside of CMake ) if("x${_BISON_CMP0088}x" STREQUAL "xNEWx") set(BISON_TARGET_verbose_file "${CMAKE_CURRENT_BINARY_DIR}/${BISON_TARGET_verbose_file}") else() set(BISON_TARGET_verbose_file "${CMAKE_CURRENT_SOURCE_DIR}/${BISON_TARGET_verbose_file}") endif() unset(_BISON_CMP0088) endif() endmacro() # internal macro # adds a custom command and sets # BISON_TARGET_cmdopt, BISON_TARGET_extraoutputs macro(BISON_TARGET_option_verbose Name BisonOutput filename) cmake_policy(GET CMP0088 _BISON_CMP0088 PARENT_SCOPE # undocumented, do not use outside of CMake ) set(_BISON_WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}) if("x${_BISON_CMP0088}x" STREQUAL "xNEWx") set(_BISON_WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}) endif() unset(_BISON_CMP0088) list(APPEND BISON_TARGET_cmdopt "--verbose") list(APPEND BISON_TARGET_outputs "${BISON_TARGET_verbose_file}") if (NOT "${filename}" STREQUAL "") if(IS_ABSOLUTE "${filename}") set(BISON_TARGET_verbose_extra_file "${filename}") else() set(BISON_TARGET_verbose_extra_file "${_BISON_WORKING_DIRECTORY}/${filename}") endif() add_custom_command(OUTPUT ${BISON_TARGET_verbose_extra_file} COMMAND ${CMAKE_COMMAND} -E copy "${BISON_TARGET_verbose_file}" "${filename}" VERBATIM DEPENDS "${BISON_TARGET_verbose_file}" COMMENT "[BISON][${Name}] Copying bison verbose table to ${filename}" WORKING_DIRECTORY ${_BISON_WORKING_DIRECTORY}) list(APPEND BISON_TARGET_extraoutputs "${BISON_TARGET_verbose_extra_file}") unset(BISON_TARGET_verbose_extra_file) unset(_BISON_WORKING_DIRECTORY) endif() endmacro() #============================================================ # BISON_TARGET (public macro) #============================================================ # macro(BISON_TARGET Name BisonInput BisonOutput) set(BISON_TARGET_outputs "${BisonOutput}") set(BISON_TARGET_extraoutputs "") # Parsing parameters set(BISON_TARGET_PARAM_OPTIONS ) set(BISON_TARGET_PARAM_ONE_VALUE_KEYWORDS COMPILE_FLAGS DEFINES_FILE REPORT_FILE ) set(BISON_TARGET_PARAM_MULTI_VALUE_KEYWORDS VERBOSE ) cmake_parse_arguments( BISON_TARGET_ARG "${BISON_TARGET_PARAM_OPTIONS}" "${BISON_TARGET_PARAM_ONE_VALUE_KEYWORDS}" "${BISON_TARGET_PARAM_MULTI_VALUE_KEYWORDS}" ${ARGN} ) if(NOT "${BISON_TARGET_ARG_UNPARSED_ARGUMENTS}" STREQUAL "") message(SEND_ERROR "Usage") elseif("${BISON_TARGET_ARG_VERBOSE}" MATCHES ";") # [VERBOSE [<file>] hack: <file> is non-multi value by usage message(SEND_ERROR "Usage") else() BISON_TARGET_option_extraopts("${BISON_TARGET_ARG_COMPILE_FLAGS}") BISON_TARGET_option_defines("${BisonOutput}" "${BISON_TARGET_ARG_DEFINES_FILE}") BISON_TARGET_option_report_file("${BisonOutput}" "${BISON_TARGET_ARG_REPORT_FILE}") if(NOT "${BISON_TARGET_ARG_VERBOSE}" STREQUAL "") BISON_TARGET_option_verbose(${Name} ${BisonOutput} "${BISON_TARGET_ARG_VERBOSE}") else() # [VERBOSE [<file>]] is used with no argument or is not used set(BISON_TARGET_args "${ARGN}") list(FIND BISON_TARGET_args "VERBOSE" BISON_TARGET_args_indexof_verbose) if(${BISON_TARGET_args_indexof_verbose} GREATER -1) # VERBOSE is used without <file> BISON_TARGET_option_verbose(${Name} ${BisonOutput} "") endif() endif() list(APPEND BISON_TARGET_outputs "${BISON_TARGET_output_header}") cmake_policy(GET CMP0088 _BISON_CMP0088 PARENT_SCOPE # undocumented, do not use outside of CMake ) set(_BISON_WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}) set(_BisonInput "${BisonInput}") if("x${_BISON_CMP0088}x" STREQUAL "xNEWx") set(_BISON_WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}) if(NOT IS_ABSOLUTE "${_BisonInput}") set(_BisonInput "${CMAKE_CURRENT_SOURCE_DIR}/${_BisonInput}") endif() endif() unset(_BISON_CMP0088) add_custom_command(OUTPUT ${BISON_TARGET_outputs} COMMAND ${BISON_EXECUTABLE} ${BISON_TARGET_cmdopt} -o ${BisonOutput} ${_BisonInput} VERBATIM DEPENDS ${_BisonInput} COMMENT "[BISON][${Name}] Building parser with bison ${BISON_VERSION}" WORKING_DIRECTORY ${_BISON_WORKING_DIRECTORY}) unset(_BISON_WORKING_DIRECTORY) # define target variables set(BISON_${Name}_DEFINED TRUE) set(BISON_${Name}_INPUT ${_BisonInput}) set(BISON_${Name}_OUTPUTS ${BISON_TARGET_outputs} ${BISON_TARGET_extraoutputs}) set(BISON_${Name}_COMPILE_FLAGS ${BISON_TARGET_cmdopt}) set(BISON_${Name}_OUTPUT_SOURCE "${BisonOutput}") set(BISON_${Name}_OUTPUT_HEADER "${BISON_TARGET_output_header}") unset(_BisonInput) endif() endmacro() # #============================================================ endif() include(${CMAKE_CURRENT_LIST_DIR}/FindPackageHandleStandardArgs.cmake) FIND_PACKAGE_HANDLE_STANDARD_ARGS(BISON REQUIRED_VARS BISON_EXECUTABLE VERSION_VAR BISON_VERSION)
Upload File
Create Folder