Linux server.kiran-academy.com 3.10.0-1160.108.1.el7.x86_64 #1 SMP Thu Jan 25 16:17:31 UTC 2024 x86_64
Apache/2.4.57 (Unix) OpenSSL/1.0.2k-fips
: 194.233.91.196 | : 216.73.216.216
Cant Read [ /etc/named.conf ]
7.4.32
finalho
www.github.com/MadExploits
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
CPANEL RESET
CREATE WP USER
README
+ Create Folder
+ Create File
/
usr /
share /
cmake /
Modules /
[ HOME SHELL ]
Name
Size
Permission
Action
CMakeAddFortranSubdirectory
[ DIR ]
drwxr-xr-x
Compiler
[ DIR ]
drwxr-xr-x
CompilerId
[ DIR ]
drwxr-xr-x
FindCUDA
[ DIR ]
drwxr-xr-x
FortranCInterface
[ DIR ]
drwxr-xr-x
IntelVSImplicitPath
[ DIR ]
drwxr-xr-x
Platform
[ DIR ]
drwxr-xr-x
AddFileDependencies.cmake
1002
B
-rw-r--r--
AutomocInfo.cmake.in
675
B
-rw-r--r--
BasicConfigVersion-AnyNewerVer...
1.34
KB
-rw-r--r--
BasicConfigVersion-ExactVersio...
1.8
KB
-rw-r--r--
BasicConfigVersion-SameMajorVe...
1.69
KB
-rw-r--r--
BundleUtilities.cmake
28.62
KB
-rw-r--r--
CMake.cmake
772
B
-rw-r--r--
CMakeASM-ATTInformation.cmake
1020
B
-rw-r--r--
CMakeASMCompiler.cmake.in
545
B
-rw-r--r--
CMakeASMInformation.cmake
5.28
KB
-rw-r--r--
CMakeASM_MASMInformation.cmake
903
B
-rw-r--r--
CMakeASM_NASMInformation.cmake
1.45
KB
-rw-r--r--
CMakeAddFortranSubdirectory.cm...
7.73
KB
-rw-r--r--
CMakeAddNewLanguage.txt
1.49
KB
-rw-r--r--
CMakeBackwardCompatibilityC.cm...
3.38
KB
-rw-r--r--
CMakeBackwardCompatibilityCXX....
2.12
KB
-rw-r--r--
CMakeBorlandFindMake.cmake
736
B
-rw-r--r--
CMakeBuildSettings.cmake.in
681
B
-rw-r--r--
CMakeCCompiler.cmake.in
1.85
KB
-rw-r--r--
CMakeCCompilerABI.c
572
B
-rw-r--r--
CMakeCCompilerId.c.in
7.41
KB
-rw-r--r--
CMakeCInformation.cmake
7.56
KB
-rw-r--r--
CMakeCXXCompiler.cmake.in
2.01
KB
-rw-r--r--
CMakeCXXCompilerABI.cpp
450
B
-rw-r--r--
CMakeCXXCompilerId.cpp.in
7.32
KB
-rw-r--r--
CMakeCXXInformation.cmake
10.41
KB
-rw-r--r--
CMakeClDeps.cmake
1.64
KB
-rw-r--r--
CMakeCommonLanguageInclude.cma...
5.11
KB
-rw-r--r--
CMakeCompilerABI.h
1.18
KB
-rw-r--r--
CMakeConfigurableFile.in
35
B
-rw-r--r--
CMakeDependentOption.cmake
2.03
KB
-rw-r--r--
CMakeDetermineASM-ATTCompiler....
859
B
-rw-r--r--
CMakeDetermineASMCompiler.cmak...
7.24
KB
-rw-r--r--
CMakeDetermineASM_MASMCompiler...
942
B
-rw-r--r--
CMakeDetermineASM_NASMCompiler...
1011
B
-rw-r--r--
CMakeDetermineCCompiler.cmake
7.23
KB
-rw-r--r--
CMakeDetermineCXXCompiler.cmak...
7.31
KB
-rw-r--r--
CMakeDetermineCompiler.cmake
3.37
KB
-rw-r--r--
CMakeDetermineCompilerABI.cmak...
5.9
KB
-rw-r--r--
CMakeDetermineCompilerId.cmake
19.06
KB
-rw-r--r--
CMakeDetermineFortranCompiler....
9.94
KB
-rw-r--r--
CMakeDetermineJavaCompiler.cma...
4.13
KB
-rw-r--r--
CMakeDetermineRCCompiler.cmake
2.52
KB
-rw-r--r--
CMakeDetermineSystem.cmake
7.41
KB
-rw-r--r--
CMakeDetermineVSServicePack.cm...
6.6
KB
-rw-r--r--
CMakeExpandImportedTargets.cma...
5.77
KB
-rw-r--r--
CMakeExportBuildSettings.cmake
1.67
KB
-rw-r--r--
CMakeExtraGeneratorDetermineCo...
4.94
KB
-rw-r--r--
CMakeFindBinUtils.cmake
2.76
KB
-rw-r--r--
CMakeFindCodeBlocks.cmake
1.06
KB
-rw-r--r--
CMakeFindEclipseCDT4.cmake
4.65
KB
-rw-r--r--
CMakeFindFrameworks.cmake
1.16
KB
-rw-r--r--
CMakeFindKDevelop3.cmake
934
B
-rw-r--r--
CMakeFindPackageMode.cmake
6.2
KB
-rw-r--r--
CMakeFindWMake.cmake
737
B
-rw-r--r--
CMakeFindXCode.cmake
720
B
-rw-r--r--
CMakeForceCompiler.cmake
2.98
KB
-rw-r--r--
CMakeFortranCompiler.cmake.in
2.09
KB
-rw-r--r--
CMakeFortranCompilerABI.F
1023
B
-rw-r--r--
CMakeFortranCompilerId.F.in
4.38
KB
-rw-r--r--
CMakeFortranInformation.cmake
9.62
KB
-rw-r--r--
CMakeGenericSystem.cmake
6.66
KB
-rw-r--r--
CMakeGraphVizOptions.cmake
3
KB
-rw-r--r--
CMakeImportBuildSettings.cmake
1008
B
-rw-r--r--
CMakeJOMFindMake.cmake
736
B
-rw-r--r--
CMakeJavaCompiler.cmake.in
538
B
-rw-r--r--
CMakeJavaInformation.cmake
2.19
KB
-rw-r--r--
CMakeMSYSFindMake.cmake
954
B
-rw-r--r--
CMakeMinGWFindMake.cmake
1.24
KB
-rw-r--r--
CMakeNMakeFindMake.cmake
738
B
-rw-r--r--
CMakeNinjaFindMake.cmake
740
B
-rw-r--r--
CMakePackageConfigHelpers.cmak...
11.29
KB
-rw-r--r--
CMakeParseArguments.cmake
5.65
KB
-rw-r--r--
CMakeParseImplicitLinkInfo.cma...
6.88
KB
-rw-r--r--
CMakePlatformId.h.in
4.29
KB
-rw-r--r--
CMakePrintHelpers.cmake
4.32
KB
-rw-r--r--
CMakePrintSystemInformation.cm...
2.38
KB
-rw-r--r--
CMakePushCheckState.cmake
3.33
KB
-rw-r--r--
CMakeRCCompiler.cmake.in
267
B
-rw-r--r--
CMakeRCInformation.cmake
1.88
KB
-rw-r--r--
CMakeSystem.cmake.in
537
B
-rw-r--r--
CMakeSystemSpecificInformation...
2.79
KB
-rw-r--r--
CMakeTestASM-ATTCompiler.cmake
992
B
-rw-r--r--
CMakeTestASMCompiler.cmake
1.3
KB
-rw-r--r--
CMakeTestASM_MASMCompiler.cmak...
1021
B
-rw-r--r--
CMakeTestASM_NASMCompiler.cmak...
989
B
-rw-r--r--
CMakeTestCCompiler.cmake
3.52
KB
-rw-r--r--
CMakeTestCXXCompiler.cmake
3.41
KB
-rw-r--r--
CMakeTestCompilerCommon.cmake
894
B
-rw-r--r--
CMakeTestFortranCompiler.cmake
4.76
KB
-rw-r--r--
CMakeTestGNU.c
175
B
-rw-r--r--
CMakeTestJavaCompiler.cmake
950
B
-rw-r--r--
CMakeTestRCCompiler.cmake
1.01
KB
-rw-r--r--
CMakeTestWatcomVersion.c
20
B
-rw-r--r--
CMakeUnixFindMake.cmake
1.02
KB
-rw-r--r--
CMakeVS10FindMake.cmake
2.65
KB
-rw-r--r--
CMakeVS11FindMake.cmake
2.61
KB
-rw-r--r--
CMakeVS12FindMake.cmake
1.09
KB
-rw-r--r--
CMakeVS6BackwardCompatibility....
1.4
KB
-rw-r--r--
CMakeVS6FindMake.cmake
1
KB
-rw-r--r--
CMakeVS71FindMake.cmake
1.06
KB
-rw-r--r--
CMakeVS7BackwardCompatibility....
1.4
KB
-rw-r--r--
CMakeVS7FindMake.cmake
1021
B
-rw-r--r--
CMakeVS8FindMake.cmake
1.45
KB
-rw-r--r--
CMakeVS9FindMake.cmake
1.76
KB
-rw-r--r--
CMakeVerifyManifest.cmake
4.16
KB
-rw-r--r--
CPack.DS_Store.in
12
KB
-rw-r--r--
CPack.Description.plist.in
438
B
-rw-r--r--
CPack.Info.plist.in
1.1
KB
-rw-r--r--
CPack.OSXScriptLauncher.in
28.9
KB
-rw-r--r--
CPack.OSXScriptLauncher.rsrc.i...
362
B
-rw-r--r--
CPack.OSXX11.Info.plist.in
1.57
KB
-rw-r--r--
CPack.OSXX11.main.scpt.in
1.83
KB
-rw-r--r--
CPack.RuntimeScript.in
1.85
KB
-rw-r--r--
CPack.STGZ_Header.sh.in
3.76
KB
-rw-r--r--
CPack.VolumeIcon.icns.in
44.67
KB
-rw-r--r--
CPack.background.png.in
45.97
KB
-rw-r--r--
CPack.cmake
22.86
KB
-rw-r--r--
CPack.distribution.dist.in
448
B
-rw-r--r--
CPackBundle.cmake
1.77
KB
-rw-r--r--
CPackComponent.cmake
20.24
KB
-rw-r--r--
CPackCygwin.cmake
1.13
KB
-rw-r--r--
CPackDMG.cmake
2.66
KB
-rw-r--r--
CPackDeb.cmake
15.34
KB
-rw-r--r--
CPackNSIS.cmake
4.57
KB
-rw-r--r--
CPackPackageMaker.cmake
1.56
KB
-rw-r--r--
CPackRPM.cmake
42.01
KB
-rw-r--r--
CPackWIX.cmake
4.32
KB
-rw-r--r--
CPackZIP.cmake
1.42
KB
-rw-r--r--
CTest.cmake
9.7
KB
-rw-r--r--
CTestScriptMode.cmake
989
B
-rw-r--r--
CTestTargets.cmake
3.42
KB
-rw-r--r--
CTestUseLaunchers.cmake
2.7
KB
-rw-r--r--
CheckCCompilerFlag.cmake
2.9
KB
-rw-r--r--
CheckCSourceCompiles.cmake
3.45
KB
-rw-r--r--
CheckCSourceRuns.cmake
3.44
KB
-rw-r--r--
CheckCXXCompilerFlag.cmake
3.07
KB
-rw-r--r--
CheckCXXSourceCompiles.cmake
3.48
KB
-rw-r--r--
CheckCXXSourceRuns.cmake
3.46
KB
-rw-r--r--
CheckCXXSymbolExists.cmake
1.94
KB
-rw-r--r--
CheckForPthreads.c
701
B
-rw-r--r--
CheckFortranFunctionExists.cma...
2.49
KB
-rw-r--r--
CheckFunctionExists.c
380
B
-rw-r--r--
CheckFunctionExists.cmake
2.97
KB
-rw-r--r--
CheckIncludeFile.c.in
130
B
-rw-r--r--
CheckIncludeFile.cmake
3.03
KB
-rw-r--r--
CheckIncludeFile.cxx.in
65
B
-rw-r--r--
CheckIncludeFileCXX.cmake
3.05
KB
-rw-r--r--
CheckIncludeFiles.cmake
3.47
KB
-rw-r--r--
CheckLanguage.cmake
2.64
KB
-rw-r--r--
CheckLibraryExists.cmake
2.79
KB
-rw-r--r--
CheckLibraryExists.lists.in
298
B
-rw-r--r--
CheckPrototypeDefinition.c.in
514
B
-rw-r--r--
CheckPrototypeDefinition.cmake
4.04
KB
-rw-r--r--
CheckSizeOf.cmake
813
B
-rw-r--r--
CheckStructHasMember.cmake
1.77
KB
-rw-r--r--
CheckSymbolExists.cmake
4.16
KB
-rw-r--r--
CheckTypeSize.c.in
801
B
-rw-r--r--
CheckTypeSize.cmake
7.47
KB
-rw-r--r--
CheckTypeSizeMap.cmake.in
31
B
-rw-r--r--
CheckVariableExists.c
363
B
-rw-r--r--
CheckVariableExists.cmake
2.47
KB
-rw-r--r--
Dart.cmake
4.06
KB
-rw-r--r--
DartConfiguration.tcl.in
2.74
KB
-rw-r--r--
DeployQt4.cmake
13.19
KB
-rw-r--r--
Documentation.cmake
1.45
KB
-rw-r--r--
DummyCXXFile.cxx
27
B
-rw-r--r--
ExternalData.cmake
29.97
KB
-rw-r--r--
ExternalData_config.cmake.in
268
B
-rw-r--r--
ExternalProject.cmake
61.48
KB
-rw-r--r--
FLTKCompatibility.cmake
635
B
-rw-r--r--
FeatureSummary.cmake
19.38
KB
-rw-r--r--
FindALSA.cmake
2.14
KB
-rw-r--r--
FindASPELL.cmake
1.47
KB
-rw-r--r--
FindAVIFile.cmake
1.74
KB
-rw-r--r--
FindArmadillo.cmake
3.82
KB
-rw-r--r--
FindBISON.cmake
7.11
KB
-rw-r--r--
FindBLAS.cmake
16.39
KB
-rw-r--r--
FindBZip2.cmake
2.38
KB
-rw-r--r--
FindBoost.cmake
48.76
KB
-rw-r--r--
FindBullet.cmake
3.18
KB
-rw-r--r--
FindCABLE.cmake
2.84
KB
-rw-r--r--
FindCUDA.cmake
65.86
KB
-rw-r--r--
FindCURL.cmake
2.29
KB
-rw-r--r--
FindCVS.cmake
2.18
KB
-rw-r--r--
FindCoin3D.cmake
2.67
KB
-rw-r--r--
FindCups.cmake
2.91
KB
-rw-r--r--
FindCurses.cmake
6.57
KB
-rw-r--r--
FindCxxTest.cmake
7.61
KB
-rw-r--r--
FindCygwin.cmake
924
B
-rw-r--r--
FindDCMTK.cmake
4.44
KB
-rw-r--r--
FindDart.cmake
1.32
KB
-rw-r--r--
FindDevIL.cmake
2.82
KB
-rw-r--r--
FindDoxygen.cmake
5.05
KB
-rw-r--r--
FindEXPAT.cmake
2.37
KB
-rw-r--r--
FindFLEX.cmake
6.27
KB
-rw-r--r--
FindFLTK.cmake
11.1
KB
-rw-r--r--
FindFLTK2.cmake
9.01
KB
-rw-r--r--
FindFreetype.cmake
5.08
KB
-rw-r--r--
FindGCCXML.cmake
960
B
-rw-r--r--
FindGDAL.cmake
3.26
KB
-rw-r--r--
FindGIF.cmake
2.66
KB
-rw-r--r--
FindGLEW.cmake
1.27
KB
-rw-r--r--
FindGLU.cmake
1020
B
-rw-r--r--
FindGLUT.cmake
3.01
KB
-rw-r--r--
FindGTK.cmake
4.11
KB
-rw-r--r--
FindGTK2.cmake
22.83
KB
-rw-r--r--
FindGTest.cmake
5.41
KB
-rw-r--r--
FindGettext.cmake
8.1
KB
-rw-r--r--
FindGit.cmake
2.06
KB
-rw-r--r--
FindGnuTLS.cmake
2.37
KB
-rw-r--r--
FindGnuplot.cmake
1.96
KB
-rw-r--r--
FindHDF5.cmake
14.34
KB
-rw-r--r--
FindHSPELL.cmake
2.04
KB
-rw-r--r--
FindHTMLHelp.cmake
1.8
KB
-rw-r--r--
FindHg.cmake
1.79
KB
-rw-r--r--
FindITK.cmake
2.19
KB
-rw-r--r--
FindIcotool.cmake
1.66
KB
-rw-r--r--
FindImageMagick.cmake
9.96
KB
-rw-r--r--
FindJNI.cmake
9.93
KB
-rw-r--r--
FindJPEG.cmake
1.57
KB
-rw-r--r--
FindJasper.cmake
2.16
KB
-rw-r--r--
FindJava.cmake
7.83
KB
-rw-r--r--
FindKDE3.cmake
10.27
KB
-rw-r--r--
FindKDE4.cmake
3.48
KB
-rw-r--r--
FindLAPACK.cmake
9.28
KB
-rw-r--r--
FindLATEX.cmake
3.24
KB
-rw-r--r--
FindLibArchive.cmake
2.87
KB
-rw-r--r--
FindLibLZMA.cmake
3.53
KB
-rw-r--r--
FindLibXml2.cmake
2.67
KB
-rw-r--r--
FindLibXslt.cmake
2.86
KB
-rw-r--r--
FindLua50.cmake
2.75
KB
-rw-r--r--
FindLua51.cmake
2.58
KB
-rw-r--r--
FindLua52.cmake
2.2
KB
-rw-r--r--
FindMFC.cmake
2.24
KB
-rw-r--r--
FindMPEG.cmake
1.62
KB
-rw-r--r--
FindMPEG2.cmake
1.88
KB
-rw-r--r--
FindMPI.cmake
29.25
KB
-rw-r--r--
FindMatlab.cmake
3.39
KB
-rw-r--r--
FindMotif.cmake
1.29
KB
-rw-r--r--
FindOpenAL.cmake
3.85
KB
-rw-r--r--
FindOpenGL.cmake
5.29
KB
-rw-r--r--
FindOpenMP.cmake
5.3
KB
-rw-r--r--
FindOpenSSL.cmake
9.44
KB
-rw-r--r--
FindOpenSceneGraph.cmake
7.26
KB
-rw-r--r--
FindOpenThreads.cmake
4.16
KB
-rw-r--r--
FindPHP4.cmake
2.48
KB
-rw-r--r--
FindPNG.cmake
4.29
KB
-rw-r--r--
FindPackageHandleStandardArgs....
13.01
KB
-rw-r--r--
FindPackageMessage.cmake
1.92
KB
-rw-r--r--
FindPerl.cmake
3.03
KB
-rw-r--r--
FindPerlLibs.cmake
8.08
KB
-rw-r--r--
FindPhysFS.cmake
1.61
KB
-rw-r--r--
FindPike.cmake
1.19
KB
-rw-r--r--
FindPkgConfig.cmake
14.5
KB
-rw-r--r--
FindPostgreSQL.cmake
7.57
KB
-rw-r--r--
FindProducer.cmake
2.7
KB
-rw-r--r--
FindProtobuf.cmake
7.89
KB
-rw-r--r--
FindPythonInterp.cmake
6.07
KB
-rw-r--r--
FindPythonLibs.cmake
11.29
KB
-rw-r--r--
FindQt.cmake
6.07
KB
-rw-r--r--
FindQt3.cmake
9.48
KB
-rw-r--r--
FindQt4.cmake
59.73
KB
-rw-r--r--
FindQuickTime.cmake
1.39
KB
-rw-r--r--
FindRTI.cmake
3.57
KB
-rw-r--r--
FindRuby.cmake
9.85
KB
-rw-r--r--
FindSDL.cmake
7.24
KB
-rw-r--r--
FindSDL_image.cmake
3.88
KB
-rw-r--r--
FindSDL_mixer.cmake
3.88
KB
-rw-r--r--
FindSDL_net.cmake
3.74
KB
-rw-r--r--
FindSDL_sound.cmake
13.48
KB
-rw-r--r--
FindSDL_ttf.cmake
3.74
KB
-rw-r--r--
FindSWIG.cmake
2.89
KB
-rw-r--r--
FindSelfPackers.cmake
1.84
KB
-rw-r--r--
FindSquish.cmake
10.14
KB
-rw-r--r--
FindSubversion.cmake
5.65
KB
-rw-r--r--
FindTCL.cmake
7.97
KB
-rw-r--r--
FindTIFF.cmake
1.92
KB
-rw-r--r--
FindTclStub.cmake
4.73
KB
-rw-r--r--
FindTclsh.cmake
3.74
KB
-rw-r--r--
FindThreads.cmake
5.84
KB
-rw-r--r--
FindUnixCommands.cmake
1.48
KB
-rw-r--r--
FindVTK.cmake
5.78
KB
-rw-r--r--
FindWget.cmake
1.26
KB
-rw-r--r--
FindWish.cmake
3.01
KB
-rw-r--r--
FindX11.cmake
20.05
KB
-rw-r--r--
FindXMLRPC.cmake
4.97
KB
-rw-r--r--
FindZLIB.cmake
3.58
KB
-rw-r--r--
Findosg.cmake
2.21
KB
-rw-r--r--
FindosgAnimation.cmake
2.17
KB
-rw-r--r--
FindosgDB.cmake
2.08
KB
-rw-r--r--
FindosgFX.cmake
2.08
KB
-rw-r--r--
FindosgGA.cmake
2.09
KB
-rw-r--r--
FindosgIntrospection.cmake
2.26
KB
-rw-r--r--
FindosgManipulator.cmake
2.24
KB
-rw-r--r--
FindosgParticle.cmake
2.17
KB
-rw-r--r--
FindosgPresentation.cmake
2.33
KB
-rw-r--r--
FindosgProducer.cmake
2.18
KB
-rw-r--r--
FindosgQt.cmake
2.14
KB
-rw-r--r--
FindosgShadow.cmake
2.14
KB
-rw-r--r--
FindosgSim.cmake
2.09
KB
-rw-r--r--
FindosgTerrain.cmake
2.15
KB
-rw-r--r--
FindosgText.cmake
2.09
KB
-rw-r--r--
FindosgUtil.cmake
2.1
KB
-rw-r--r--
FindosgViewer.cmake
2.13
KB
-rw-r--r--
FindosgVolume.cmake
2.13
KB
-rw-r--r--
FindosgWidget.cmake
2.18
KB
-rw-r--r--
Findosg_functions.cmake
3.05
KB
-rw-r--r--
FindwxWidgets.cmake
36.04
KB
-rw-r--r--
FindwxWindows.cmake
24.15
KB
-rw-r--r--
FortranCInterface.cmake
12.16
KB
-rw-r--r--
GNUInstallDirs.cmake
7.18
KB
-rw-r--r--
GenerateExportHeader.cmake
12.41
KB
-rw-r--r--
GetPrerequisites.cmake
28.59
KB
-rw-r--r--
ITKCompatibility.cmake
689
B
-rw-r--r--
InstallRequiredSystemLibraries...
14.93
KB
-rw-r--r--
KDE3Macros.cmake
13.26
KB
-rw-r--r--
MacOSXBundleInfo.plist.in
1.22
KB
-rw-r--r--
MacOSXFrameworkInfo.plist.in
886
B
-rw-r--r--
MacroAddFileDependencies.cmake
1.29
KB
-rw-r--r--
NSIS.InstallOptions.ini.in
678
B
-rw-r--r--
NSIS.template.in
27.82
KB
-rw-r--r--
ProcessorCount.cmake
6.84
KB
-rw-r--r--
Qt4ConfigDependentSettings.cma...
7.9
KB
-rw-r--r--
Qt4Macros.cmake
18.11
KB
-rw-r--r--
RepositoryInfo.txt.in
56
B
-rw-r--r--
SelectLibraryConfigurations.cm...
3.39
KB
-rw-r--r--
Squish4RunTestCase.bat
629
B
-rw-r--r--
Squish4RunTestCase.sh
773
B
-rw-r--r--
SquishRunTestCase.bat
219
B
-rw-r--r--
SquishRunTestCase.sh
272
B
-rw-r--r--
SquishTestScript.cmake
3.8
KB
-rw-r--r--
SystemInformation.cmake
3.57
KB
-rw-r--r--
SystemInformation.in
4.59
KB
-rw-r--r--
TestBigEndian.cmake
4.51
KB
-rw-r--r--
TestCXXAcceptsFlag.cmake
1.78
KB
-rw-r--r--
TestEndianess.c.in
871
B
-rw-r--r--
TestForANSIForScope.cmake
1.77
KB
-rw-r--r--
TestForANSIStreamHeaders.cmake
1.29
KB
-rw-r--r--
TestForANSIStreamHeaders.cxx
60
B
-rw-r--r--
TestForAnsiForScope.cxx
87
B
-rw-r--r--
TestForSSTREAM.cmake
1.74
KB
-rw-r--r--
TestForSSTREAM.cxx
154
B
-rw-r--r--
TestForSTDNamespace.cmake
1.69
KB
-rw-r--r--
TestForSTDNamespace.cxx
75
B
-rw-r--r--
UseEcos.cmake
10.1
KB
-rw-r--r--
UseJava.cmake
35.32
KB
-rw-r--r--
UseJavaClassFilelist.cmake
2.13
KB
-rw-r--r--
UseJavaSymlinks.cmake
1.09
KB
-rw-r--r--
UsePkgConfig.cmake
2.95
KB
-rw-r--r--
UseQt4.cmake
2.96
KB
-rw-r--r--
UseSWIG.cmake
9.97
KB
-rw-r--r--
UseVTK40.cmake
1.14
KB
-rw-r--r--
UseVTKBuildSettings40.cmake
1.89
KB
-rw-r--r--
UseVTKConfig40.cmake
13.12
KB
-rw-r--r--
Use_wxWindows.cmake
2.37
KB
-rw-r--r--
UsewxWidgets.cmake
3.17
KB
-rw-r--r--
VTKCompatibility.cmake
2.13
KB
-rw-r--r--
WIX.template.in
1.47
KB
-rw-r--r--
WriteBasicConfigVersionFile.cm...
1.72
KB
-rw-r--r--
ecos_clean.cmake
968
B
-rw-r--r--
exportheader.cmake.in
911
B
-rw-r--r--
kde3init_dummy.cpp.in
227
B
-rw-r--r--
kde3uic.cmake
1.21
KB
-rw-r--r--
readme.txt
9.1
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : FindGTK2.cmake
# - FindGTK2.cmake # This module can find the GTK2 widget libraries and several of its other # optional components like gtkmm, glade, and glademm. # # NOTE: If you intend to use version checking, CMake 2.6.2 or later is # required. # # Specify one or more of the following components # as you call this find module. See example below. # # gtk # gtkmm # glade # glademm # # The following variables will be defined for your use # # GTK2_FOUND - Were all of your specified components found? # GTK2_INCLUDE_DIRS - All include directories # GTK2_LIBRARIES - All libraries # GTK2_DEFINITIONS - Additional compiler flags # # GTK2_VERSION - The version of GTK2 found (x.y.z) # GTK2_MAJOR_VERSION - The major version of GTK2 # GTK2_MINOR_VERSION - The minor version of GTK2 # GTK2_PATCH_VERSION - The patch version of GTK2 # # Optional variables you can define prior to calling this module: # # GTK2_DEBUG - Enables verbose debugging of the module # GTK2_ADDITIONAL_SUFFIXES - Allows defining additional directories to # search for include files # #================= # Example Usage: # # Call find_package() once, here are some examples to pick from: # # Require GTK 2.6 or later # find_package(GTK2 2.6 REQUIRED gtk) # # Require GTK 2.10 or later and Glade # find_package(GTK2 2.10 REQUIRED gtk glade) # # Search for GTK/GTKMM 2.8 or later # find_package(GTK2 2.8 COMPONENTS gtk gtkmm) # # if(GTK2_FOUND) # include_directories(${GTK2_INCLUDE_DIRS}) # add_executable(mygui mygui.cc) # target_link_libraries(mygui ${GTK2_LIBRARIES}) # endif() # #============================================================================= # Copyright 2009 Kitware, Inc. # Copyright 2008-2012 Philip Lowman <philip@yhbt.com> # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. # # This software is distributed WITHOUT ANY WARRANTY; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) # Version 1.5 (UNRELEASED) (CMake 2.8.12) # * 14236: Detect gthread library # Detect pangocairo on windows # Detect pangocairo with gtk module instead of with gtkmm # * 14259: Use vc100 libraries with MSVC11 # * 14260: Export a GTK2_DEFINITIONS variable to set /vd2 when appropriate # (i.e. MSVC) # * Use the optimized/debug syntax for _LIBRARY and _LIBRARIES variables when # appropriate. A new set of _RELEASE variables was also added. # * Remove GTK2_SKIP_MARK_AS_ADVANCED option, as now the variables are # marked as advanced by SelectLibraryConfigurations # * Detect gmodule, pangoft2 and pangoxft libraries # Version 1.4 (10/4/2012) (CMake 2.8.10) # * 12596: Missing paths for FindGTK2 on NetBSD # * 12049: Fixed detection of GTK include files in the lib folder on # multiarch systems. # Version 1.3 (11/9/2010) (CMake 2.8.4) # * 11429: Add support for detecting GTK2 built with Visual Studio 10. # Thanks to Vincent Levesque for the patch. # Version 1.2 (8/30/2010) (CMake 2.8.3) # * Merge patch for detecting gdk-pixbuf library (split off # from core GTK in 2.21). Thanks to Vincent Untz for the patch # and Ricardo Cruz for the heads up. # Version 1.1 (8/19/2010) (CMake 2.8.3) # * Add support for detecting GTK2 under macports (thanks to Gary Kramlich) # Version 1.0 (8/12/2010) (CMake 2.8.3) # * Add support for detecting new pangommconfig.h header file # (Thanks to Sune Vuorela & the Debian Project for the patch) # * Add support for detecting fontconfig.h header # * Call find_package(Freetype) since it's required # * Add support for allowing users to add additional library directories # via the GTK2_ADDITIONAL_SUFFIXES variable (kind of a future-kludge in # case the GTK developers change versions on any of the directories in the # future). # Version 0.8 (1/4/2010) # * Get module working under MacOSX fink by adding /sw/include, /sw/lib # to PATHS and the gobject library # Version 0.7 (3/22/09) # * Checked into CMake CVS # * Added versioning support # * Module now defaults to searching for GTK if COMPONENTS not specified. # * Added HKCU prior to HKLM registry key and GTKMM specific environment # variable as per mailing list discussion. # * Added lib64 to include search path and a few other search paths where GTK # may be installed on Unix systems. # * Switched to lowercase CMake commands # * Prefaced internal variables with _GTK2 to prevent collision # * Changed internal macros to functions # * Enhanced documentation # Version 0.6 (1/8/08) # Added GTK2_SKIP_MARK_AS_ADVANCED option # Version 0.5 (12/19/08) # Second release to cmake mailing list #============================================================= # _GTK2_GET_VERSION # Internal function to parse the version number in gtkversion.h # _OUT_major = Major version number # _OUT_minor = Minor version number # _OUT_micro = Micro version number # _gtkversion_hdr = Header file to parse #============================================================= include(${CMAKE_CURRENT_LIST_DIR}/SelectLibraryConfigurations.cmake) function(_GTK2_GET_VERSION _OUT_major _OUT_minor _OUT_micro _gtkversion_hdr) file(STRINGS ${_gtkversion_hdr} _contents REGEX "#define GTK_M[A-Z]+_VERSION[ \t]+") if(_contents) string(REGEX REPLACE ".*#define GTK_MAJOR_VERSION[ \t]+\\(([0-9]+)\\).*" "\\1" ${_OUT_major} "${_contents}") string(REGEX REPLACE ".*#define GTK_MINOR_VERSION[ \t]+\\(([0-9]+)\\).*" "\\1" ${_OUT_minor} "${_contents}") string(REGEX REPLACE ".*#define GTK_MICRO_VERSION[ \t]+\\(([0-9]+)\\).*" "\\1" ${_OUT_micro} "${_contents}") if(NOT ${_OUT_major} MATCHES "[0-9]+") message(FATAL_ERROR "Version parsing failed for GTK2_MAJOR_VERSION!") endif() if(NOT ${_OUT_minor} MATCHES "[0-9]+") message(FATAL_ERROR "Version parsing failed for GTK2_MINOR_VERSION!") endif() if(NOT ${_OUT_micro} MATCHES "[0-9]+") message(FATAL_ERROR "Version parsing failed for GTK2_MICRO_VERSION!") endif() set(${_OUT_major} ${${_OUT_major}} PARENT_SCOPE) set(${_OUT_minor} ${${_OUT_minor}} PARENT_SCOPE) set(${_OUT_micro} ${${_OUT_micro}} PARENT_SCOPE) else() message(FATAL_ERROR "Include file ${_gtkversion_hdr} does not exist") endif() endfunction() #============================================================= # _GTK2_FIND_INCLUDE_DIR # Internal function to find the GTK include directories # _var = variable to set (_INCLUDE_DIR is appended) # _hdr = header file to look for #============================================================= function(_GTK2_FIND_INCLUDE_DIR _var _hdr) if(GTK2_DEBUG) message(STATUS "[FindGTK2.cmake:${CMAKE_CURRENT_LIST_LINE}] " "_GTK2_FIND_INCLUDE_DIR( ${_var} ${_hdr} )") endif() set(_gtk_packages # If these ever change, things will break. ${GTK2_ADDITIONAL_SUFFIXES} glibmm-2.4 glib-2.0 atk-1.0 atkmm-1.6 cairo cairomm-1.0 gdk-pixbuf-2.0 gdkmm-2.4 giomm-2.4 gtk-2.0 gtkmm-2.4 libglade-2.0 libglademm-2.4 pango-1.0 pangomm-1.4 sigc++-2.0 ) # # NOTE: The following suffixes cause searching for header files in both of # these directories: # /usr/include/<pkg> # /usr/lib/<pkg>/include # set(_suffixes) foreach(_d ${_gtk_packages}) list(APPEND _suffixes ${_d}) list(APPEND _suffixes ${_d}/include) # for /usr/lib/gtk-2.0/include endforeach() if(GTK2_DEBUG) message(STATUS "[FindGTK2.cmake:${CMAKE_CURRENT_LIST_LINE}] " "include suffixes = ${_suffixes}") endif() if(CMAKE_LIBRARY_ARCHITECTURE) set(_gtk2_arch_dir /usr/lib/${CMAKE_LIBRARY_ARCHITECTURE}) if(GTK2_DEBUG) message(STATUS "Adding ${_gtk2_arch_dir} to search path for multiarch support") endif() endif() find_path(${_var}_INCLUDE_DIR ${_hdr} PATHS ${_gtk2_arch_dir} /usr/local/lib64 /usr/local/lib /usr/lib64 /usr/lib /opt/gnome/include /opt/gnome/lib /opt/openwin/include /usr/openwin/lib /sw/include /sw/lib /opt/local/include /opt/local/lib /usr/pkg/lib /usr/pkg/include/glib $ENV{GTKMM_BASEPATH}/include $ENV{GTKMM_BASEPATH}/lib [HKEY_CURRENT_USER\\SOFTWARE\\gtkmm\\2.4;Path]/include [HKEY_CURRENT_USER\\SOFTWARE\\gtkmm\\2.4;Path]/lib [HKEY_LOCAL_MACHINE\\SOFTWARE\\gtkmm\\2.4;Path]/include [HKEY_LOCAL_MACHINE\\SOFTWARE\\gtkmm\\2.4;Path]/lib PATH_SUFFIXES ${_suffixes} ) if(${_var}_INCLUDE_DIR) set(GTK2_INCLUDE_DIRS ${GTK2_INCLUDE_DIRS} ${${_var}_INCLUDE_DIR} PARENT_SCOPE) endif() endfunction() #============================================================= # _GTK2_FIND_LIBRARY # Internal function to find libraries packaged with GTK2 # _var = library variable to create (_LIBRARY is appended) #============================================================= function(_GTK2_FIND_LIBRARY _var _lib _expand_vc _append_version) if(GTK2_DEBUG) message(STATUS "[FindGTK2.cmake:${CMAKE_CURRENT_LIST_LINE}] " "_GTK2_FIND_LIBRARY( ${_var} ${_lib} ${_expand_vc} ${_append_version} )") endif() # Not GTK versions per se but the versions encoded into Windows # import libraries (GtkMM 2.14.1 has a gtkmm-vc80-2_4.lib for example) # Also the MSVC libraries use _ for . (this is handled below) set(_versions 2.20 2.18 2.16 2.14 2.12 2.10 2.8 2.6 2.4 2.2 2.0 1.20 1.18 1.16 1.14 1.12 1.10 1.8 1.6 1.4 1.2 1.0) set(_library) set(_library_d) set(_library ${_lib}) if(_expand_vc AND MSVC) # Add vc80/vc90/vc100 midfixes if(MSVC80) set(_library ${_library}-vc80) elseif(MSVC90) set(_library ${_library}-vc90) elseif(MSVC10) set(_library ${_library}-vc100) elseif(MSVC11) # Up to gtkmm-win 2.22.0-2 there are no vc110 libraries but vc100 can be used set(_library ${_library}-vc100) endif() set(_library_d ${_library}-d) endif() if(GTK2_DEBUG) message(STATUS "[FindGTK2.cmake:${CMAKE_CURRENT_LIST_LINE}] " "After midfix addition = ${_library} and ${_library_d}") endif() set(_lib_list) set(_libd_list) if(_append_version) foreach(_ver ${_versions}) list(APPEND _lib_list "${_library}-${_ver}") list(APPEND _libd_list "${_library_d}-${_ver}") endforeach() else() set(_lib_list ${_library}) set(_libd_list ${_library_d}) endif() if(GTK2_DEBUG) message(STATUS "[FindGTK2.cmake:${CMAKE_CURRENT_LIST_LINE}] " "library list = ${_lib_list} and library debug list = ${_libd_list}") endif() # For some silly reason the MSVC libraries use _ instead of . # in the version fields if(_expand_vc AND MSVC) set(_no_dots_lib_list) set(_no_dots_libd_list) foreach(_l ${_lib_list}) string(REPLACE "." "_" _no_dots_library ${_l}) list(APPEND _no_dots_lib_list ${_no_dots_library}) endforeach() # And for debug set(_no_dots_libsd_list) foreach(_l ${_libd_list}) string(REPLACE "." "_" _no_dots_libraryd ${_l}) list(APPEND _no_dots_libd_list ${_no_dots_libraryd}) endforeach() # Copy list back to original names set(_lib_list ${_no_dots_lib_list}) set(_libd_list ${_no_dots_libd_list}) endif() if(GTK2_DEBUG) message(STATUS "[FindGTK2.cmake:${CMAKE_CURRENT_LIST_LINE}] " "While searching for ${_var}_LIBRARY, our proposed library list is ${_lib_list}") endif() find_library(${_var}_LIBRARY_RELEASE NAMES ${_lib_list} PATHS /opt/gnome/lib /usr/openwin/lib /sw/lib $ENV{GTKMM_BASEPATH}/lib [HKEY_CURRENT_USER\\SOFTWARE\\gtkmm\\2.4;Path]/lib [HKEY_LOCAL_MACHINE\\SOFTWARE\\gtkmm\\2.4;Path]/lib ) if(_expand_vc AND MSVC) if(GTK2_DEBUG) message(STATUS "[FindGTK2.cmake:${CMAKE_CURRENT_LIST_LINE}] " "While searching for ${_var}_LIBRARY_DEBUG our proposed library list is ${_libd_list}") endif() find_library(${_var}_LIBRARY_DEBUG NAMES ${_libd_list} PATHS $ENV{GTKMM_BASEPATH}/lib [HKEY_CURRENT_USER\\SOFTWARE\\gtkmm\\2.4;Path]/lib [HKEY_LOCAL_MACHINE\\SOFTWARE\\gtkmm\\2.4;Path]/lib ) endif() select_library_configurations(${_var}) set(${_var}_LIBRARY ${${_var}_LIBRARY} PARENT_SCOPE) set(GTK2_LIBRARIES ${GTK2_LIBRARIES} ${${_var}_LIBRARY}) set(GTK2_LIBRARIES ${GTK2_LIBRARIES} PARENT_SCOPE) if(GTK2_DEBUG) message(STATUS "[FindGTK2.cmake:${CMAKE_CURRENT_LIST_LINE}] " "${_var}_LIBRARY_RELEASE = \"${${_var}_LIBRARY_RELEASE}\"") message(STATUS "[FindGTK2.cmake:${CMAKE_CURRENT_LIST_LINE}] " "${_var}_LIBRARY_DEBUG = \"${${_var}_LIBRARY_DEBUG}\"") message(STATUS "[FindGTK2.cmake:${CMAKE_CURRENT_LIST_LINE}] " "${_var}_LIBRARY = \"${${_var}_LIBRARY}\"") endif() endfunction() #============================================================= # # main() # set(GTK2_FOUND) set(GTK2_INCLUDE_DIRS) set(GTK2_LIBRARIES) set(GTK2_DEFINITIONS) if(NOT GTK2_FIND_COMPONENTS) # Assume they only want GTK set(GTK2_FIND_COMPONENTS gtk) endif() # # If specified, enforce version number # if(GTK2_FIND_VERSION) cmake_minimum_required(VERSION 2.6.2) set(GTK2_FAILED_VERSION_CHECK true) if(GTK2_DEBUG) message(STATUS "[FindGTK2.cmake:${CMAKE_CURRENT_LIST_LINE}] " "Searching for version ${GTK2_FIND_VERSION}") endif() _GTK2_FIND_INCLUDE_DIR(GTK2_GTK gtk/gtk.h) if(GTK2_GTK_INCLUDE_DIR) _GTK2_GET_VERSION(GTK2_MAJOR_VERSION GTK2_MINOR_VERSION GTK2_PATCH_VERSION ${GTK2_GTK_INCLUDE_DIR}/gtk/gtkversion.h) set(GTK2_VERSION ${GTK2_MAJOR_VERSION}.${GTK2_MINOR_VERSION}.${GTK2_PATCH_VERSION}) if(GTK2_FIND_VERSION_EXACT) if(GTK2_VERSION VERSION_EQUAL GTK2_FIND_VERSION) set(GTK2_FAILED_VERSION_CHECK false) endif() else() if(GTK2_VERSION VERSION_EQUAL GTK2_FIND_VERSION OR GTK2_VERSION VERSION_GREATER GTK2_FIND_VERSION) set(GTK2_FAILED_VERSION_CHECK false) endif() endif() else() # If we can't find the GTK include dir, we can't do version checking if(GTK2_FIND_REQUIRED AND NOT GTK2_FIND_QUIETLY) message(FATAL_ERROR "Could not find GTK2 include directory") endif() return() endif() if(GTK2_FAILED_VERSION_CHECK) if(GTK2_FIND_REQUIRED AND NOT GTK2_FIND_QUIETLY) if(GTK2_FIND_VERSION_EXACT) message(FATAL_ERROR "GTK2 version check failed. Version ${GTK2_VERSION} was found, version ${GTK2_FIND_VERSION} is needed exactly.") else() message(FATAL_ERROR "GTK2 version check failed. Version ${GTK2_VERSION} was found, at least version ${GTK2_FIND_VERSION} is required") endif() endif() # If the version check fails, exit out of the module here return() endif() endif() # # Find all components # find_package(Freetype) list(APPEND GTK2_INCLUDE_DIRS ${FREETYPE_INCLUDE_DIRS}) list(APPEND GTK2_LIBRARIES ${FREETYPE_LIBRARIES}) foreach(_GTK2_component ${GTK2_FIND_COMPONENTS}) if(_GTK2_component STREQUAL "gtk") _GTK2_FIND_INCLUDE_DIR(GTK2_GTK gtk/gtk.h) if(UNIX) _GTK2_FIND_LIBRARY (GTK2_GTK gtk-x11 false true) _GTK2_FIND_LIBRARY (GTK2_GDK gdk-x11 false true) else() _GTK2_FIND_LIBRARY (GTK2_GTK gtk-win32 false true) _GTK2_FIND_LIBRARY (GTK2_GDK gdk-win32 false true) endif() _GTK2_FIND_INCLUDE_DIR(GTK2_GDK gdk/gdk.h) _GTK2_FIND_INCLUDE_DIR(GTK2_GDKCONFIG gdkconfig.h) _GTK2_FIND_INCLUDE_DIR(GTK2_CAIRO cairo.h) _GTK2_FIND_LIBRARY (GTK2_CAIRO cairo false false) _GTK2_FIND_INCLUDE_DIR(GTK2_FONTCONFIG fontconfig/fontconfig.h) _GTK2_FIND_INCLUDE_DIR(GTK2_PANGO pango/pango.h) _GTK2_FIND_LIBRARY (GTK2_PANGO pango false true) _GTK2_FIND_LIBRARY (GTK2_PANGOCAIRO pangocairo false true) _GTK2_FIND_LIBRARY (GTK2_PANGOFT2 pangoft2 false true) _GTK2_FIND_LIBRARY (GTK2_PANGOXFT pangoxft false true) _GTK2_FIND_INCLUDE_DIR(GTK2_GDK_PIXBUF gdk-pixbuf/gdk-pixbuf.h) _GTK2_FIND_LIBRARY (GTK2_GDK_PIXBUF gdk_pixbuf false true) _GTK2_FIND_LIBRARY (GTK2_GTHREAD gthread false true) _GTK2_FIND_LIBRARY (GTK2_GMODULE gmodule false true) _GTK2_FIND_LIBRARY (GTK2_GIO gio false true) _GTK2_FIND_INCLUDE_DIR(GTK2_ATK atk/atk.h) _GTK2_FIND_LIBRARY (GTK2_ATK atk false true) _GTK2_FIND_INCLUDE_DIR(GTK2_GOBJECT gobject/gobject.h) _GTK2_FIND_LIBRARY (GTK2_GOBJECT gobject false true) _GTK2_FIND_INCLUDE_DIR(GTK2_GLIB glib.h) _GTK2_FIND_INCLUDE_DIR(GTK2_GLIBCONFIG glibconfig.h) _GTK2_FIND_LIBRARY (GTK2_GLIB glib false true) elseif(_GTK2_component STREQUAL "gtkmm") _GTK2_FIND_INCLUDE_DIR(GTK2_GTKMM gtkmm.h) _GTK2_FIND_INCLUDE_DIR(GTK2_GTKMMCONFIG gtkmmconfig.h) _GTK2_FIND_LIBRARY (GTK2_GTKMM gtkmm true true) _GTK2_FIND_INCLUDE_DIR(GTK2_GDKMM gdkmm.h) _GTK2_FIND_INCLUDE_DIR(GTK2_GDKMMCONFIG gdkmmconfig.h) _GTK2_FIND_LIBRARY (GTK2_GDKMM gdkmm true true) _GTK2_FIND_INCLUDE_DIR(GTK2_PANGOMM pangomm.h) _GTK2_FIND_INCLUDE_DIR(GTK2_PANGOMMCONFIG pangommconfig.h) _GTK2_FIND_LIBRARY (GTK2_PANGOMM pangomm true true) _GTK2_FIND_INCLUDE_DIR(GTK2_CAIROMM cairomm/cairomm.h) _GTK2_FIND_INCLUDE_DIR(GTK2_CAIROMMCONFIG cairommconfig.h) _GTK2_FIND_LIBRARY (GTK2_CAIROMM cairomm true true) _GTK2_FIND_INCLUDE_DIR(GTK2_GIOMM giomm.h) _GTK2_FIND_INCLUDE_DIR(GTK2_GIOMMCONFIG giommconfig.h) _GTK2_FIND_LIBRARY (GTK2_GIOMM giomm true true) _GTK2_FIND_INCLUDE_DIR(GTK2_ATKMM atkmm.h) _GTK2_FIND_LIBRARY (GTK2_ATKMM atkmm true true) _GTK2_FIND_INCLUDE_DIR(GTK2_GLIBMM glibmm.h) _GTK2_FIND_INCLUDE_DIR(GTK2_GLIBMMCONFIG glibmmconfig.h) _GTK2_FIND_LIBRARY (GTK2_GLIBMM glibmm true true) _GTK2_FIND_INCLUDE_DIR(GTK2_SIGC++ sigc++/sigc++.h) _GTK2_FIND_INCLUDE_DIR(GTK2_SIGC++CONFIG sigc++config.h) _GTK2_FIND_LIBRARY (GTK2_SIGC++ sigc true true) elseif(_GTK2_component STREQUAL "glade") _GTK2_FIND_INCLUDE_DIR(GTK2_GLADE glade/glade.h) _GTK2_FIND_LIBRARY (GTK2_GLADE glade false true) elseif(_GTK2_component STREQUAL "glademm") _GTK2_FIND_INCLUDE_DIR(GTK2_GLADEMM libglademm.h) _GTK2_FIND_INCLUDE_DIR(GTK2_GLADEMMCONFIG libglademmconfig.h) _GTK2_FIND_LIBRARY (GTK2_GLADEMM glademm true true) else() message(FATAL_ERROR "Unknown GTK2 component ${_component}") endif() endforeach() # # Solve for the GTK2 version if we haven't already # if(NOT GTK2_FIND_VERSION AND GTK2_GTK_INCLUDE_DIR) _GTK2_GET_VERSION(GTK2_MAJOR_VERSION GTK2_MINOR_VERSION GTK2_PATCH_VERSION ${GTK2_GTK_INCLUDE_DIR}/gtk/gtkversion.h) set(GTK2_VERSION ${GTK2_MAJOR_VERSION}.${GTK2_MINOR_VERSION}.${GTK2_PATCH_VERSION}) endif() # # On MSVC, according to https://wiki.gnome.org/gtkmm/MSWindows, the /vd2 flag needs to be # passed to the compiler in order to use gtkmm # if(MSVC) foreach(_GTK2_component ${GTK2_FIND_COMPONENTS}) if(_GTK2_component STREQUAL "gtkmm") set(GTK2_DEFINITIONS "/vd2") elseif(_GTK2_component STREQUAL "glademm") set(GTK2_DEFINITIONS "/vd2") endif() endforeach() endif() # # Try to enforce components # set(_GTK2_did_we_find_everything true) # This gets set to GTK2_FOUND include(${CMAKE_CURRENT_LIST_DIR}/FindPackageHandleStandardArgs.cmake) foreach(_GTK2_component ${GTK2_FIND_COMPONENTS}) string(TOUPPER ${_GTK2_component} _COMPONENT_UPPER) if(_GTK2_component STREQUAL "gtk") FIND_PACKAGE_HANDLE_STANDARD_ARGS(GTK2_${_COMPONENT_UPPER} "Some or all of the gtk libraries were not found." GTK2_GTK_LIBRARY GTK2_GTK_INCLUDE_DIR GTK2_GDK_INCLUDE_DIR GTK2_GDKCONFIG_INCLUDE_DIR GTK2_GDK_LIBRARY GTK2_GLIB_INCLUDE_DIR GTK2_GLIBCONFIG_INCLUDE_DIR GTK2_GLIB_LIBRARY ) elseif(_GTK2_component STREQUAL "gtkmm") FIND_PACKAGE_HANDLE_STANDARD_ARGS(GTK2_${_COMPONENT_UPPER} "Some or all of the gtkmm libraries were not found." GTK2_GTKMM_LIBRARY GTK2_GTKMM_INCLUDE_DIR GTK2_GTKMMCONFIG_INCLUDE_DIR GTK2_GDKMM_INCLUDE_DIR GTK2_GDKMMCONFIG_INCLUDE_DIR GTK2_GDKMM_LIBRARY GTK2_GLIBMM_INCLUDE_DIR GTK2_GLIBMMCONFIG_INCLUDE_DIR GTK2_GLIBMM_LIBRARY ) elseif(_GTK2_component STREQUAL "glade") FIND_PACKAGE_HANDLE_STANDARD_ARGS(GTK2_${_COMPONENT_UPPER} "The glade library was not found." GTK2_GLADE_LIBRARY GTK2_GLADE_INCLUDE_DIR ) elseif(_GTK2_component STREQUAL "glademm") FIND_PACKAGE_HANDLE_STANDARD_ARGS(GTK2_${_COMPONENT_UPPER} "The glademm library was not found." GTK2_GLADEMM_LIBRARY GTK2_GLADEMM_INCLUDE_DIR GTK2_GLADEMMCONFIG_INCLUDE_DIR ) endif() if(NOT GTK2_${_COMPONENT_UPPER}_FOUND) set(_GTK2_did_we_find_everything false) endif() endforeach() if(_GTK2_did_we_find_everything AND NOT GTK2_VERSION_CHECK_FAILED) set(GTK2_FOUND true) else() # Unset our variables. set(GTK2_FOUND false) set(GTK2_VERSION) set(GTK2_VERSION_MAJOR) set(GTK2_VERSION_MINOR) set(GTK2_VERSION_PATCH) set(GTK2_INCLUDE_DIRS) set(GTK2_LIBRARIES) set(GTK2_DEFINITIONS) endif() if(GTK2_INCLUDE_DIRS) list(REMOVE_DUPLICATES GTK2_INCLUDE_DIRS) endif()
Close