Linux ip-172-26-2-223 5.4.0-1018-aws #18-Ubuntu SMP Wed Jun 24 01:15:00 UTC 2020 x86_64
Apache
: 172.26.2.223 | : 18.191.207.122
Cant Read [ /etc/named.conf ]
8.1.13
www
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
BLACK DEFEND!
README
+ Create Folder
+ Create File
/
usr /
share /
cmake-3.16 /
Modules /
[ HOME SHELL ]
Name
Size
Permission
Action
AndroidTestUtilities
[ DIR ]
drwxr-xr-x
CMakeAddFortranSubdirectory
[ DIR ]
drwxr-xr-x
CheckIPOSupported
[ DIR ]
drwxr-xr-x
Compiler
[ DIR ]
drwxr-xr-x
CompilerId
[ DIR ]
drwxr-xr-x
FetchContent
[ DIR ]
drwxr-xr-x
FindCUDA
[ DIR ]
drwxr-xr-x
FindMPI
[ DIR ]
drwxr-xr-x
FindPython
[ DIR ]
drwxr-xr-x
FortranCInterface
[ DIR ]
drwxr-xr-x
IntelVSImplicitPath
[ DIR ]
drwxr-xr-x
Internal
[ DIR ]
drwxr-xr-x
Platform
[ DIR ]
drwxr-xr-x
UseSWIG
[ DIR ]
drwxr-xr-x
AddFileDependencies.cmake
784
B
-rw-r--r--
AndroidTestUtilities.cmake
6.26
KB
-rw-r--r--
BasicConfigVersion-AnyNewerVer...
1.43
KB
-rw-r--r--
BasicConfigVersion-ExactVersio...
1.89
KB
-rw-r--r--
BasicConfigVersion-SameMajorVe...
1.78
KB
-rw-r--r--
BasicConfigVersion-SameMinorVe...
1.94
KB
-rw-r--r--
BundleUtilities.cmake
40.51
KB
-rw-r--r--
CMake.cmake
307
B
-rw-r--r--
CMakeASM-ATTInformation.cmake
566
B
-rw-r--r--
CMakeASMCompiler.cmake.in
866
B
-rw-r--r--
CMakeASMInformation.cmake
4.17
KB
-rw-r--r--
CMakeASM_MASMInformation.cmake
459
B
-rw-r--r--
CMakeASM_NASMInformation.cmake
1.06
KB
-rw-r--r--
CMakeAddFortranSubdirectory.cm...
7.47
KB
-rw-r--r--
CMakeAddNewLanguage.txt
1.49
KB
-rw-r--r--
CMakeBackwardCompatibilityC.cm...
2.54
KB
-rw-r--r--
CMakeBackwardCompatibilityCXX....
1.77
KB
-rw-r--r--
CMakeBorlandFindMake.cmake
271
B
-rw-r--r--
CMakeBuildSettings.cmake.in
681
B
-rw-r--r--
CMakeCCompiler.cmake.in
2.9
KB
-rw-r--r--
CMakeCCompilerABI.c
414
B
-rw-r--r--
CMakeCCompilerId.c.in
2.16
KB
-rw-r--r--
CMakeCInformation.cmake
6.1
KB
-rw-r--r--
CMakeCSharpCompiler.cmake.in
477
B
-rw-r--r--
CMakeCSharpCompilerId.cs.in
1.4
KB
-rw-r--r--
CMakeCSharpInformation.cmake
2.96
KB
-rw-r--r--
CMakeCUDACompiler.cmake.in
1.59
KB
-rw-r--r--
CMakeCUDACompilerABI.cu
297
B
-rw-r--r--
CMakeCUDACompilerId.cu.in
1.33
KB
-rw-r--r--
CMakeCUDAInformation.cmake
8.17
KB
-rw-r--r--
CMakeCXXCompiler.cmake.in
3.5
KB
-rw-r--r--
CMakeCXXCompilerABI.cpp
291
B
-rw-r--r--
CMakeCXXCompilerId.cpp.in
2.2
KB
-rw-r--r--
CMakeCXXInformation.cmake
9.29
KB
-rw-r--r--
CMakeCheckCompilerFlagCommonPa...
1.96
KB
-rw-r--r--
CMakeCommonLanguageInclude.cma...
1.12
KB
-rw-r--r--
CMakeCompilerABI.h
1
KB
-rw-r--r--
CMakeCompilerIdDetection.cmake
4.57
KB
-rw-r--r--
CMakeConfigurableFile.in
34
B
-rw-r--r--
CMakeDependentOption.cmake
1.88
KB
-rw-r--r--
CMakeDetermineASM-ATTCompiler....
394
B
-rw-r--r--
CMakeDetermineASMCompiler.cmak...
9.72
KB
-rw-r--r--
CMakeDetermineASM_MASMCompiler...
586
B
-rw-r--r--
CMakeDetermineASM_NASMCompiler...
937
B
-rw-r--r--
CMakeDetermineCCompiler.cmake
7.78
KB
-rw-r--r--
CMakeDetermineCSharpCompiler.c...
1.63
KB
-rw-r--r--
CMakeDetermineCUDACompiler.cma...
9.83
KB
-rw-r--r--
CMakeDetermineCXXCompiler.cmak...
7.86
KB
-rw-r--r--
CMakeDetermineCompileFeatures....
3.59
KB
-rw-r--r--
CMakeDetermineCompiler.cmake
4.88
KB
-rw-r--r--
CMakeDetermineCompilerABI.cmak...
7.5
KB
-rw-r--r--
CMakeDetermineCompilerId.cmake
38.29
KB
-rw-r--r--
CMakeDetermineFortranCompiler....
11.72
KB
-rw-r--r--
CMakeDetermineJavaCompiler.cma...
3.68
KB
-rw-r--r--
CMakeDetermineOBJCCompiler.cma...
7.26
KB
-rw-r--r--
CMakeDetermineOBJCXXCompiler.c...
7.69
KB
-rw-r--r--
CMakeDetermineRCCompiler.cmake
2.06
KB
-rw-r--r--
CMakeDetermineSwiftCompiler.cm...
2.94
KB
-rw-r--r--
CMakeDetermineSystem.cmake
7.64
KB
-rw-r--r--
CMakeDetermineVSServicePack.cm...
5.89
KB
-rw-r--r--
CMakeExpandImportedTargets.cma...
5.95
KB
-rw-r--r--
CMakeExportBuildSettings.cmake
1.21
KB
-rw-r--r--
CMakeExtraGeneratorDetermineCo...
5.11
KB
-rw-r--r--
CMakeFindBinUtils.cmake
6.4
KB
-rw-r--r--
CMakeFindCodeBlocks.cmake
1.72
KB
-rw-r--r--
CMakeFindDependencyMacro.cmake
2.11
KB
-rw-r--r--
CMakeFindEclipseCDT4.cmake
4.84
KB
-rw-r--r--
CMakeFindFrameworks.cmake
1.11
KB
-rw-r--r--
CMakeFindJavaCommon.cmake
1
KB
-rw-r--r--
CMakeFindKate.cmake
1.02
KB
-rw-r--r--
CMakeFindPackageMode.cmake
6.09
KB
-rw-r--r--
CMakeFindSublimeText2.cmake
1.01
KB
-rw-r--r--
CMakeFindWMake.cmake
272
B
-rw-r--r--
CMakeFindXCode.cmake
250
B
-rw-r--r--
CMakeForceCompiler.cmake
4.11
KB
-rw-r--r--
CMakeFortranCompiler.cmake.in
2.74
KB
-rw-r--r--
CMakeFortranCompilerABI.F
1.09
KB
-rw-r--r--
CMakeFortranCompilerId.F.in
7.3
KB
-rw-r--r--
CMakeFortranInformation.cmake
8.31
KB
-rw-r--r--
CMakeGenericSystem.cmake
6.56
KB
-rw-r--r--
CMakeGraphVizOptions.cmake
3.35
KB
-rw-r--r--
CMakeIOSInstallCombined.cmake
9.41
KB
-rw-r--r--
CMakeImportBuildSettings.cmake
535
B
-rw-r--r--
CMakeInitializeConfigs.cmake
1.54
KB
-rw-r--r--
CMakeJOMFindMake.cmake
270
B
-rw-r--r--
CMakeJavaCompiler.cmake.in
538
B
-rw-r--r--
CMakeJavaInformation.cmake
1.74
KB
-rw-r--r--
CMakeLanguageInformation.cmake
1.23
KB
-rw-r--r--
CMakeMSYSFindMake.cmake
489
B
-rw-r--r--
CMakeMinGWFindMake.cmake
800
B
-rw-r--r--
CMakeNMakeFindMake.cmake
272
B
-rw-r--r--
CMakeNinjaFindMake.cmake
299
B
-rw-r--r--
CMakeOBJCCompiler.cmake.in
2.89
KB
-rw-r--r--
CMakeOBJCCompilerABI.m
459
B
-rw-r--r--
CMakeOBJCCompilerId.m.in
1.71
KB
-rw-r--r--
CMakeOBJCInformation.cmake
6.42
KB
-rw-r--r--
CMakeOBJCXXCompiler.cmake.in
3.42
KB
-rw-r--r--
CMakeOBJCXXCompilerABI.mm
460
B
-rw-r--r--
CMakeOBJCXXCompilerId.mm.in
1.76
KB
-rw-r--r--
CMakeOBJCXXInformation.cmake
9.72
KB
-rw-r--r--
CMakePackageConfigHelpers.cmak...
13.5
KB
-rw-r--r--
CMakeParseArguments.cmake
581
B
-rw-r--r--
CMakeParseImplicitIncludeInfo....
9.13
KB
-rw-r--r--
CMakeParseImplicitLinkInfo.cma...
8.54
KB
-rw-r--r--
CMakePlatformId.h.in
7
KB
-rw-r--r--
CMakePrintHelpers.cmake
4.02
KB
-rw-r--r--
CMakePrintSystemInformation.cm...
2.12
KB
-rw-r--r--
CMakePushCheckState.cmake
3.85
KB
-rw-r--r--
CMakeRCCompiler.cmake.in
270
B
-rw-r--r--
CMakeRCInformation.cmake
1.94
KB
-rw-r--r--
CMakeSwiftCompiler.cmake.in
543
B
-rw-r--r--
CMakeSwiftInformation.cmake
4.72
KB
-rw-r--r--
CMakeSystem.cmake.in
563
B
-rw-r--r--
CMakeSystemSpecificInformation...
2.33
KB
-rw-r--r--
CMakeSystemSpecificInitialize....
1
KB
-rw-r--r--
CMakeTestASM-ATTCompiler.cmake
527
B
-rw-r--r--
CMakeTestASMCompiler.cmake
865
B
-rw-r--r--
CMakeTestASM_MASMCompiler.cmak...
556
B
-rw-r--r--
CMakeTestASM_NASMCompiler.cmak...
529
B
-rw-r--r--
CMakeTestCCompiler.cmake
3.68
KB
-rw-r--r--
CMakeTestCSharpCompiler.cmake
2.56
KB
-rw-r--r--
CMakeTestCUDACompiler.cmake
3.06
KB
-rw-r--r--
CMakeTestCXXCompiler.cmake
3.57
KB
-rw-r--r--
CMakeTestCompilerCommon.cmake
1
KB
-rw-r--r--
CMakeTestFortranCompiler.cmake
4.29
KB
-rw-r--r--
CMakeTestGNU.c
175
B
-rw-r--r--
CMakeTestJavaCompiler.cmake
484
B
-rw-r--r--
CMakeTestOBJCCompiler.cmake
3.79
KB
-rw-r--r--
CMakeTestOBJCXXCompiler.cmake
3.83
KB
-rw-r--r--
CMakeTestRCCompiler.cmake
573
B
-rw-r--r--
CMakeTestSwiftCompiler.cmake
2.51
KB
-rw-r--r--
CMakeUnixFindMake.cmake
575
B
-rw-r--r--
CMakeVerifyManifest.cmake
3.88
KB
-rw-r--r--
CPack.cmake
31
KB
-rw-r--r--
CPackComponent.cmake
20.5
KB
-rw-r--r--
CPackIFW.cmake
24.64
KB
-rw-r--r--
CPackIFWConfigureFile.cmake
2.19
KB
-rw-r--r--
CSharpUtilities.cmake
10.7
KB
-rw-r--r--
CTest.cmake
8.92
KB
-rw-r--r--
CTestCoverageCollectGCOV.cmake
9.53
KB
-rw-r--r--
CTestScriptMode.cmake
662
B
-rw-r--r--
CTestTargets.cmake
3.09
KB
-rw-r--r--
CTestUseLaunchers.cmake
2.89
KB
-rw-r--r--
CheckCCompilerFlag.cmake
2.43
KB
-rw-r--r--
CheckCSourceCompiles.cmake
5.63
KB
-rw-r--r--
CheckCSourceRuns.cmake
5.77
KB
-rw-r--r--
CheckCXXCompilerFlag.cmake
2.48
KB
-rw-r--r--
CheckCXXSourceCompiles.cmake
5.68
KB
-rw-r--r--
CheckCXXSourceRuns.cmake
5.79
KB
-rw-r--r--
CheckCXXSymbolExists.cmake
3.03
KB
-rw-r--r--
CheckForPthreads.c
273
B
-rw-r--r--
CheckFortranCompilerFlag.cmake
2.58
KB
-rw-r--r--
CheckFortranFunctionExists.cma...
2.95
KB
-rw-r--r--
CheckFortranSourceCompiles.cma...
6.57
KB
-rw-r--r--
CheckFortranSourceRuns.cmake
6.91
KB
-rw-r--r--
CheckFunctionExists.c
433
B
-rw-r--r--
CheckFunctionExists.cmake
4.4
KB
-rw-r--r--
CheckIPOSupported.cmake
6.45
KB
-rw-r--r--
CheckIncludeFile.c.in
130
B
-rw-r--r--
CheckIncludeFile.cmake
4.83
KB
-rw-r--r--
CheckIncludeFile.cxx.in
65
B
-rw-r--r--
CheckIncludeFileCXX.cmake
4.89
KB
-rw-r--r--
CheckIncludeFiles.cmake
6.43
KB
-rw-r--r--
CheckLanguage.cmake
3.52
KB
-rw-r--r--
CheckLibraryExists.cmake
3.6
KB
-rw-r--r--
CheckLibraryExists.lists.in
298
B
-rw-r--r--
CheckOBJCCompilerFlag.cmake
2.64
KB
-rw-r--r--
CheckOBJCSourceCompiles.cmake
5.72
KB
-rw-r--r--
CheckOBJCSourceRuns.cmake
5.85
KB
-rw-r--r--
CheckOBJCXXCompilerFlag.cmake
2.7
KB
-rw-r--r--
CheckOBJCXXSourceCompiles.cmak...
5.76
KB
-rw-r--r--
CheckOBJCXXSourceRuns.cmake
5.88
KB
-rw-r--r--
CheckPIESupported.cmake
4.42
KB
-rw-r--r--
CheckPrototypeDefinition.c.in
514
B
-rw-r--r--
CheckPrototypeDefinition.cmake
4.36
KB
-rw-r--r--
CheckSizeOf.cmake
348
B
-rw-r--r--
CheckStructHasMember.cmake
2.43
KB
-rw-r--r--
CheckSymbolExists.cmake
5.95
KB
-rw-r--r--
CheckTypeSize.c.in
1.07
KB
-rw-r--r--
CheckTypeSize.cmake
9.44
KB
-rw-r--r--
CheckTypeSizeMap.cmake.in
31
B
-rw-r--r--
CheckVariableExists.c
382
B
-rw-r--r--
CheckVariableExists.cmake
2.87
KB
-rw-r--r--
Dart.cmake
3.74
KB
-rw-r--r--
DartConfiguration.tcl.in
3.07
KB
-rw-r--r--
DeployQt4.cmake
12.67
KB
-rw-r--r--
Documentation.cmake
1.15
KB
-rw-r--r--
DummyCXXFile.cxx
27
B
-rw-r--r--
ExternalData.cmake
42.25
KB
-rw-r--r--
ExternalData_config.cmake.in
355
B
-rw-r--r--
ExternalProject-download.cmake...
3.65
KB
-rw-r--r--
ExternalProject-verify.cmake.i...
904
B
-rw-r--r--
ExternalProject.cmake
120.06
KB
-rw-r--r--
FLTKCompatibility.cmake
170
B
-rw-r--r--
FeatureSummary.cmake
27.75
KB
-rw-r--r--
FetchContent.cmake
42.88
KB
-rw-r--r--
FindALSA.cmake
2.15
KB
-rw-r--r--
FindASPELL.cmake
1.02
KB
-rw-r--r--
FindAVIFile.cmake
1.35
KB
-rw-r--r--
FindArmadillo.cmake
3.46
KB
-rw-r--r--
FindBISON.cmake
10.52
KB
-rw-r--r--
FindBLAS.cmake
23.9
KB
-rw-r--r--
FindBZip2.cmake
3.43
KB
-rw-r--r--
FindBacktrace.cmake
3.44
KB
-rw-r--r--
FindBoost.cmake
109.46
KB
-rw-r--r--
FindBullet.cmake
2.75
KB
-rw-r--r--
FindCABLE.cmake
2.54
KB
-rw-r--r--
FindCUDA.cmake
84.47
KB
-rw-r--r--
FindCURL.cmake
6.25
KB
-rw-r--r--
FindCVS.cmake
1.94
KB
-rw-r--r--
FindCoin3D.cmake
2.25
KB
-rw-r--r--
FindCups.cmake
3.35
KB
-rw-r--r--
FindCurses.cmake
8.96
KB
-rw-r--r--
FindCxxTest.cmake
7.57
KB
-rw-r--r--
FindCygwin.cmake
870
B
-rw-r--r--
FindDCMTK.cmake
10.33
KB
-rw-r--r--
FindDart.cmake
949
B
-rw-r--r--
FindDevIL.cmake
2.56
KB
-rw-r--r--
FindDoxygen.cmake
40.69
KB
-rw-r--r--
FindEXPAT.cmake
2.63
KB
-rw-r--r--
FindEnvModules.cmake
9.71
KB
-rw-r--r--
FindFLEX.cmake
7.11
KB
-rw-r--r--
FindFLTK.cmake
10.57
KB
-rw-r--r--
FindFLTK2.cmake
7.5
KB
-rw-r--r--
FindFontconfig.cmake
2.87
KB
-rw-r--r--
FindFreetype.cmake
5.89
KB
-rw-r--r--
FindGCCXML.cmake
672
B
-rw-r--r--
FindGDAL.cmake
5.24
KB
-rw-r--r--
FindGIF.cmake
3.77
KB
-rw-r--r--
FindGLEW.cmake
10.63
KB
-rw-r--r--
FindGLU.cmake
554
B
-rw-r--r--
FindGLUT.cmake
5.68
KB
-rw-r--r--
FindGSL.cmake
8.84
KB
-rw-r--r--
FindGTK.cmake
3.79
KB
-rw-r--r--
FindGTK2.cmake
35.79
KB
-rw-r--r--
FindGTest.cmake
11.73
KB
-rw-r--r--
FindGettext.cmake
7.8
KB
-rw-r--r--
FindGit.cmake
2.92
KB
-rw-r--r--
FindGnuTLS.cmake
2.42
KB
-rw-r--r--
FindGnuplot.cmake
1.57
KB
-rw-r--r--
FindHDF5.cmake
38.26
KB
-rw-r--r--
FindHSPELL.cmake
1.64
KB
-rw-r--r--
FindHTMLHelp.cmake
1.43
KB
-rw-r--r--
FindHg.cmake
2.98
KB
-rw-r--r--
FindICU.cmake
15.04
KB
-rw-r--r--
FindIce.cmake
23.45
KB
-rw-r--r--
FindIconv.cmake
4.28
KB
-rw-r--r--
FindIcotool.cmake
1.3
KB
-rw-r--r--
FindImageMagick.cmake
11.5
KB
-rw-r--r--
FindIntl.cmake
1.94
KB
-rw-r--r--
FindJNI.cmake
13.21
KB
-rw-r--r--
FindJPEG.cmake
4.06
KB
-rw-r--r--
FindJasper.cmake
1.67
KB
-rw-r--r--
FindJava.cmake
12.47
KB
-rw-r--r--
FindKDE3.cmake
9.91
KB
-rw-r--r--
FindKDE4.cmake
3.12
KB
-rw-r--r--
FindLAPACK.cmake
11.52
KB
-rw-r--r--
FindLATEX.cmake
6.18
KB
-rw-r--r--
FindLTTngUST.cmake
3.57
KB
-rw-r--r--
FindLibArchive.cmake
2.32
KB
-rw-r--r--
FindLibLZMA.cmake
5.19
KB
-rw-r--r--
FindLibXml2.cmake
3.44
KB
-rw-r--r--
FindLibXslt.cmake
2.59
KB
-rw-r--r--
FindLibinput.cmake
2.1
KB
-rw-r--r--
FindLua.cmake
8.18
KB
-rw-r--r--
FindLua50.cmake
2.34
KB
-rw-r--r--
FindLua51.cmake
2.23
KB
-rw-r--r--
FindMFC.cmake
2.45
KB
-rw-r--r--
FindMPEG.cmake
1.21
KB
-rw-r--r--
FindMPEG2.cmake
1.39
KB
-rw-r--r--
FindMPI.cmake
85.88
KB
-rw-r--r--
FindMatlab.cmake
61.88
KB
-rw-r--r--
FindMotif.cmake
917
B
-rw-r--r--
FindODBC.cmake
6.98
KB
-rw-r--r--
FindOpenACC.cmake
9.69
KB
-rw-r--r--
FindOpenAL.cmake
3.55
KB
-rw-r--r--
FindOpenCL.cmake
4.64
KB
-rw-r--r--
FindOpenGL.cmake
19.17
KB
-rw-r--r--
FindOpenMP.cmake
23.93
KB
-rw-r--r--
FindOpenSSL.cmake
16.47
KB
-rw-r--r--
FindOpenSceneGraph.cmake
7.23
KB
-rw-r--r--
FindOpenThreads.cmake
3.41
KB
-rw-r--r--
FindPHP4.cmake
2.11
KB
-rw-r--r--
FindPNG.cmake
5.3
KB
-rw-r--r--
FindPackageHandleStandardArgs....
15.16
KB
-rw-r--r--
FindPackageMessage.cmake
1.67
KB
-rw-r--r--
FindPatch.cmake
1.74
KB
-rw-r--r--
FindPerl.cmake
2.5
KB
-rw-r--r--
FindPerlLibs.cmake
5.03
KB
-rw-r--r--
FindPhysFS.cmake
1.12
KB
-rw-r--r--
FindPike.cmake
922
B
-rw-r--r--
FindPkgConfig.cmake
28.35
KB
-rw-r--r--
FindPostgreSQL.cmake
11.53
KB
-rw-r--r--
FindProducer.cmake
2.24
KB
-rw-r--r--
FindProtobuf.cmake
22.75
KB
-rw-r--r--
FindPython.cmake
12.22
KB
-rw-r--r--
FindPython2.cmake
8.93
KB
-rw-r--r--
FindPython3.cmake
10.39
KB
-rw-r--r--
FindPythonInterp.cmake
7.15
KB
-rw-r--r--
FindPythonLibs.cmake
15.84
KB
-rw-r--r--
FindQt.cmake
6.32
KB
-rw-r--r--
FindQt3.cmake
9.1
KB
-rw-r--r--
FindQt4.cmake
52.14
KB
-rw-r--r--
FindQuickTime.cmake
1011
B
-rw-r--r--
FindRTI.cmake
3.22
KB
-rw-r--r--
FindRuby.cmake
11.09
KB
-rw-r--r--
FindSDL.cmake
7.12
KB
-rw-r--r--
FindSDL_image.cmake
3.81
KB
-rw-r--r--
FindSDL_mixer.cmake
3.81
KB
-rw-r--r--
FindSDL_net.cmake
3.63
KB
-rw-r--r--
FindSDL_sound.cmake
12.33
KB
-rw-r--r--
FindSDL_ttf.cmake
3.63
KB
-rw-r--r--
FindSQLite3.cmake
1.97
KB
-rw-r--r--
FindSWIG.cmake
2.58
KB
-rw-r--r--
FindSelfPackers.cmake
1.48
KB
-rw-r--r--
FindSquish.cmake
9.64
KB
-rw-r--r--
FindSubversion.cmake
5.82
KB
-rw-r--r--
FindTCL.cmake
7.68
KB
-rw-r--r--
FindTIFF.cmake
3.35
KB
-rw-r--r--
FindTclStub.cmake
4.46
KB
-rw-r--r--
FindTclsh.cmake
3.36
KB
-rw-r--r--
FindThreads.cmake
7.29
KB
-rw-r--r--
FindUnixCommands.cmake
1.26
KB
-rw-r--r--
FindVulkan.cmake
2.2
KB
-rw-r--r--
FindWget.cmake
887
B
-rw-r--r--
FindWish.cmake
2.72
KB
-rw-r--r--
FindX11.cmake
27.99
KB
-rw-r--r--
FindXCTest.cmake
6.78
KB
-rw-r--r--
FindXMLRPC.cmake
3.98
KB
-rw-r--r--
FindXalanC.cmake
5.83
KB
-rw-r--r--
FindXercesC.cmake
5.27
KB
-rw-r--r--
FindZLIB.cmake
4.84
KB
-rw-r--r--
Findosg.cmake
1.88
KB
-rw-r--r--
FindosgAnimation.cmake
1.87
KB
-rw-r--r--
FindosgDB.cmake
1.77
KB
-rw-r--r--
FindosgFX.cmake
1.76
KB
-rw-r--r--
FindosgGA.cmake
1.77
KB
-rw-r--r--
FindosgIntrospection.cmake
1.96
KB
-rw-r--r--
FindosgManipulator.cmake
1.93
KB
-rw-r--r--
FindosgParticle.cmake
1.86
KB
-rw-r--r--
FindosgPresentation.cmake
2.02
KB
-rw-r--r--
FindosgProducer.cmake
1.87
KB
-rw-r--r--
FindosgQt.cmake
1.82
KB
-rw-r--r--
FindosgShadow.cmake
1.83
KB
-rw-r--r--
FindosgSim.cmake
1.77
KB
-rw-r--r--
FindosgTerrain.cmake
1.84
KB
-rw-r--r--
FindosgText.cmake
1.77
KB
-rw-r--r--
FindosgUtil.cmake
1.78
KB
-rw-r--r--
FindosgViewer.cmake
1.82
KB
-rw-r--r--
FindosgVolume.cmake
1.82
KB
-rw-r--r--
FindosgWidget.cmake
1.87
KB
-rw-r--r--
Findosg_functions.cmake
2.08
KB
-rw-r--r--
FindwxWidgets.cmake
42.47
KB
-rw-r--r--
FindwxWindows.cmake
23.82
KB
-rw-r--r--
FortranCInterface.cmake
13.85
KB
-rw-r--r--
GNUInstallDirs.cmake
14.47
KB
-rw-r--r--
GenerateExportHeader.cmake
14.9
KB
-rw-r--r--
GetPrerequisites.cmake
33.2
KB
-rw-r--r--
GoogleTest.cmake
17.76
KB
-rw-r--r--
GoogleTestAddTests.cmake
3.3
KB
-rw-r--r--
ITKCompatibility.cmake
224
B
-rw-r--r--
InstallRequiredSystemLibraries...
29.32
KB
-rw-r--r--
KDE3Macros.cmake
12.39
KB
-rw-r--r--
MacOSXBundleInfo.plist.in
1.19
KB
-rw-r--r--
MacOSXFrameworkInfo.plist.in
886
B
-rw-r--r--
MacroAddFileDependencies.cmake
1.02
KB
-rw-r--r--
MatlabTestsRedirect.cmake
3.39
KB
-rw-r--r--
ProcessorCount.cmake
8.44
KB
-rw-r--r--
Qt4ConfigDependentSettings.cma...
7.61
KB
-rw-r--r--
Qt4Macros.cmake
18.64
KB
-rw-r--r--
RepositoryInfo.txt.in
56
B
-rw-r--r--
SelectLibraryConfigurations.cm...
3.21
KB
-rw-r--r--
Squish4RunTestCase.bat
653
B
-rw-r--r--
Squish4RunTestCase.sh
775
B
-rwxr-xr-x
SquishRunTestCase.bat
219
B
-rw-r--r--
SquishRunTestCase.sh
272
B
-rwxr-xr-x
SquishTestScript.cmake
3.52
KB
-rw-r--r--
SystemInformation.cmake
3.12
KB
-rw-r--r--
SystemInformation.in
4.59
KB
-rw-r--r--
TestBigEndian.cmake
4.58
KB
-rw-r--r--
TestCXXAcceptsFlag.cmake
1.53
KB
-rw-r--r--
TestEndianess.c.in
871
B
-rw-r--r--
TestForANSIForScope.cmake
1.48
KB
-rw-r--r--
TestForANSIStreamHeaders.cmake
1.04
KB
-rw-r--r--
TestForANSIStreamHeaders.cxx
61
B
-rw-r--r--
TestForAnsiForScope.cxx
96
B
-rw-r--r--
TestForSSTREAM.cmake
1.43
KB
-rw-r--r--
TestForSSTREAM.cxx
150
B
-rw-r--r--
TestForSTDNamespace.cmake
1.4
KB
-rw-r--r--
TestForSTDNamespace.cxx
76
B
-rw-r--r--
UseEcos.cmake
9.71
KB
-rw-r--r--
UseJava.cmake
51.43
KB
-rw-r--r--
UseJavaClassFilelist.cmake
1.85
KB
-rw-r--r--
UseJavaSymlinks.cmake
817
B
-rw-r--r--
UsePkgConfig.cmake
2.65
KB
-rw-r--r--
UseQt4.cmake
3.62
KB
-rw-r--r--
UseSWIG.cmake
33.81
KB
-rw-r--r--
Use_wxWindows.cmake
2.1
KB
-rw-r--r--
UsewxWidgets.cmake
3.03
KB
-rw-r--r--
VTKCompatibility.cmake
1.67
KB
-rw-r--r--
WriteBasicConfigVersionFile.cm...
1.65
KB
-rw-r--r--
WriteCompilerDetectionHeader.c...
26.17
KB
-rw-r--r--
ecos_clean.cmake
492
B
-rw-r--r--
exportheader.cmake.in
1.08
KB
-rw-r--r--
javaTargets.cmake.in
1.2
KB
-rw-r--r--
kde3init_dummy.cpp.in
227
B
-rw-r--r--
kde3uic.cmake
723
B
-rw-r--r--
readme.txt
231
B
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : Qt4Macros.cmake
# Distributed under the OSI-approved BSD 3-Clause License. See accompanying # file Copyright.txt or https://cmake.org/licensing for details. #[=======================================================================[.rst: Qt4Macros --------- This file is included by FindQt4.cmake, don't include it directly. #]=======================================================================] ###################################### # # Macros for building Qt files # ###################################### macro (QT4_EXTRACT_OPTIONS _qt4_files _qt4_options _qt4_target) set(${_qt4_files}) set(${_qt4_options}) set(_QT4_DOING_OPTIONS FALSE) set(_QT4_DOING_TARGET FALSE) foreach(_currentArg ${ARGN}) if ("x${_currentArg}" STREQUAL "xOPTIONS") set(_QT4_DOING_OPTIONS TRUE) elseif ("x${_currentArg}" STREQUAL "xTARGET") set(_QT4_DOING_TARGET TRUE) else () if(_QT4_DOING_TARGET) set(${_qt4_target} "${_currentArg}") elseif(_QT4_DOING_OPTIONS) list(APPEND ${_qt4_options} "${_currentArg}") else() list(APPEND ${_qt4_files} "${_currentArg}") endif() endif () endforeach() endmacro () # macro used to create the names of output files preserving relative dirs macro (QT4_MAKE_OUTPUT_FILE infile prefix ext outfile ) string(LENGTH ${CMAKE_CURRENT_BINARY_DIR} _binlength) string(LENGTH ${infile} _infileLength) set(_checkinfile ${CMAKE_CURRENT_SOURCE_DIR}) if(_infileLength GREATER _binlength) string(SUBSTRING "${infile}" 0 ${_binlength} _checkinfile) if(_checkinfile STREQUAL "${CMAKE_CURRENT_BINARY_DIR}") file(RELATIVE_PATH rel ${CMAKE_CURRENT_BINARY_DIR} ${infile}) else() file(RELATIVE_PATH rel ${CMAKE_CURRENT_SOURCE_DIR} ${infile}) endif() else() file(RELATIVE_PATH rel ${CMAKE_CURRENT_SOURCE_DIR} ${infile}) endif() if(WIN32 AND rel MATCHES "^([a-zA-Z]):(.*)$") # absolute path set(rel "${CMAKE_MATCH_1}_${CMAKE_MATCH_2}") endif() set(_outfile "${CMAKE_CURRENT_BINARY_DIR}/${rel}") string(REPLACE ".." "__" _outfile ${_outfile}) get_filename_component(outpath ${_outfile} PATH) get_filename_component(_outfile ${_outfile} NAME_WE) file(MAKE_DIRECTORY ${outpath}) set(${outfile} ${outpath}/${prefix}${_outfile}.${ext}) endmacro () macro (QT4_GET_MOC_FLAGS _moc_flags) set(${_moc_flags}) get_directory_property(_inc_DIRS INCLUDE_DIRECTORIES) foreach(_current ${_inc_DIRS}) if("${_current}" MATCHES "\\.framework/?$") string(REGEX REPLACE "/[^/]+\\.framework" "" framework_path "${_current}") set(${_moc_flags} ${${_moc_flags}} "-F${framework_path}") else() set(${_moc_flags} ${${_moc_flags}} "-I${_current}") endif() endforeach() get_directory_property(_defines COMPILE_DEFINITIONS) foreach(_current ${_defines}) set(${_moc_flags} ${${_moc_flags}} "-D${_current}") endforeach() if(Q_WS_WIN) set(${_moc_flags} ${${_moc_flags}} -DWIN32) endif() endmacro() # helper macro to set up a moc rule function (QT4_CREATE_MOC_COMMAND infile outfile moc_flags moc_options moc_target) # For Windows, create a parameters file to work around command line length limit # Pass the parameters in a file. Set the working directory to # be that containing the parameters file and reference it by # just the file name. This is necessary because the moc tool on # MinGW builds does not seem to handle spaces in the path to the # file given with the @ syntax. get_filename_component(_moc_outfile_name "${outfile}" NAME) get_filename_component(_moc_outfile_dir "${outfile}" PATH) if(_moc_outfile_dir) set(_moc_working_dir WORKING_DIRECTORY ${_moc_outfile_dir}) endif() set (_moc_parameters_file ${outfile}_parameters) set (_moc_parameters ${moc_flags} ${moc_options} -o "${outfile}" "${infile}") string (REPLACE ";" "\n" _moc_parameters "${_moc_parameters}") if(moc_target) set (_moc_parameters_file ${_moc_parameters_file}$<$<BOOL:$<CONFIGURATION>>:_$<CONFIGURATION>>) set(targetincludes "$<TARGET_PROPERTY:${moc_target},INCLUDE_DIRECTORIES>") set(targetdefines "$<TARGET_PROPERTY:${moc_target},COMPILE_DEFINITIONS>") set(targetincludes "$<$<BOOL:${targetincludes}>:-I$<JOIN:${targetincludes},\n-I>\n>") set(targetdefines "$<$<BOOL:${targetdefines}>:-D$<JOIN:${targetdefines},\n-D>\n>") file (GENERATE OUTPUT ${_moc_parameters_file} CONTENT "${targetdefines}${targetincludes}${_moc_parameters}\n" ) set(targetincludes) set(targetdefines) else() set(CMAKE_CONFIGURABLE_FILE_CONTENT "${_moc_parameters}") configure_file("${CMAKE_ROOT}/Modules/CMakeConfigurableFile.in" "${_moc_parameters_file}" @ONLY) endif() set(_moc_extra_parameters_file @${_moc_parameters_file}) add_custom_command(OUTPUT ${outfile} COMMAND Qt4::moc ${_moc_extra_parameters_file} DEPENDS ${infile} ${_moc_parameters_file} ${_moc_working_dir} VERBATIM) endfunction () macro (QT4_GENERATE_MOC infile outfile ) # get include dirs and flags QT4_GET_MOC_FLAGS(moc_flags) get_filename_component(abs_infile ${infile} ABSOLUTE) set(_outfile "${outfile}") if(NOT IS_ABSOLUTE "${outfile}") set(_outfile "${CMAKE_CURRENT_BINARY_DIR}/${outfile}") endif() if (${ARGC} GREATER 3 AND "x${ARGV2}" STREQUAL "xTARGET") set(moc_target ${ARGV3}) endif() QT4_CREATE_MOC_COMMAND(${abs_infile} ${_outfile} "${moc_flags}" "" "${moc_target}") set_property(SOURCE ${outfile} PROPERTY SKIP_AUTOMOC TRUE) # don't run automoc on this file set_property(SOURCE ${outfile} PROPERTY SKIP_AUTOUIC TRUE) # don't run autouic on this file endmacro () # QT4_WRAP_CPP(outfiles inputfile ... ) macro (QT4_WRAP_CPP outfiles ) # get include dirs QT4_GET_MOC_FLAGS(moc_flags) QT4_EXTRACT_OPTIONS(moc_files moc_options moc_target ${ARGN}) foreach (it ${moc_files}) get_filename_component(it ${it} ABSOLUTE) QT4_MAKE_OUTPUT_FILE(${it} moc_ cxx outfile) QT4_CREATE_MOC_COMMAND(${it} ${outfile} "${moc_flags}" "${moc_options}" "${moc_target}") set_property(SOURCE ${outfile} PROPERTY SKIP_AUTOMOC TRUE) # don't run automoc on this file set_property(SOURCE ${outfile} PROPERTY SKIP_AUTOUIC TRUE) # don't run autouic on this file set(${outfiles} ${${outfiles}} ${outfile}) endforeach() endmacro () # QT4_WRAP_UI(outfiles inputfile ... ) macro (QT4_WRAP_UI outfiles ) QT4_EXTRACT_OPTIONS(ui_files ui_options ui_target ${ARGN}) foreach (it ${ui_files}) get_filename_component(outfile ${it} NAME_WE) get_filename_component(infile ${it} ABSOLUTE) set(outfile ${CMAKE_CURRENT_BINARY_DIR}/ui_${outfile}.h) add_custom_command(OUTPUT ${outfile} COMMAND Qt4::uic ARGS ${ui_options} -o ${outfile} ${infile} MAIN_DEPENDENCY ${infile} VERBATIM) set_property(SOURCE ${outfile} PROPERTY SKIP_AUTOMOC TRUE) # don't run automoc on this file set_property(SOURCE ${outfile} PROPERTY SKIP_AUTOUIC TRUE) # don't run autouic on this file set(${outfiles} ${${outfiles}} ${outfile}) endforeach () endmacro () # QT4_ADD_RESOURCES(outfiles inputfile ... ) macro (QT4_ADD_RESOURCES outfiles ) QT4_EXTRACT_OPTIONS(rcc_files rcc_options rcc_target ${ARGN}) foreach (it ${rcc_files}) get_filename_component(outfilename ${it} NAME_WE) get_filename_component(infile ${it} ABSOLUTE) get_filename_component(rc_path ${infile} PATH) set(outfile ${CMAKE_CURRENT_BINARY_DIR}/qrc_${outfilename}.cxx) set(_RC_DEPENDS) if(EXISTS "${infile}") # parse file for dependencies # all files are absolute paths or relative to the location of the qrc file file(READ "${infile}" _RC_FILE_CONTENTS) string(REGEX MATCHALL "<file[^<]+" _RC_FILES "${_RC_FILE_CONTENTS}") foreach(_RC_FILE ${_RC_FILES}) string(REGEX REPLACE "^<file[^>]*>" "" _RC_FILE "${_RC_FILE}") if(NOT IS_ABSOLUTE "${_RC_FILE}") set(_RC_FILE "${rc_path}/${_RC_FILE}") endif() set(_RC_DEPENDS ${_RC_DEPENDS} "${_RC_FILE}") endforeach() unset(_RC_FILES) unset(_RC_FILE_CONTENTS) # Since this cmake macro is doing the dependency scanning for these files, # let's make a configured file and add it as a dependency so cmake is run # again when dependencies need to be recomputed. QT4_MAKE_OUTPUT_FILE("${infile}" "" "qrc.depends" out_depends) configure_file("${infile}" "${out_depends}" COPYONLY) else() # The .qrc file does not exist (yet). Let's add a dependency and hope # that it will be generated later set(out_depends) endif() add_custom_command(OUTPUT ${outfile} COMMAND Qt4::rcc ARGS ${rcc_options} -name ${outfilename} -o ${outfile} ${infile} MAIN_DEPENDENCY ${infile} DEPENDS ${_RC_DEPENDS} "${out_depends}" VERBATIM) set_property(SOURCE ${outfile} PROPERTY SKIP_AUTOMOC TRUE) # don't run automoc on this file set_property(SOURCE ${outfile} PROPERTY SKIP_AUTOUIC TRUE) # don't run autouic on this file set(${outfiles} ${${outfiles}} ${outfile}) endforeach () endmacro () macro(QT4_ADD_DBUS_INTERFACE _sources _interface _basename) get_filename_component(_infile ${_interface} ABSOLUTE) set(_header "${CMAKE_CURRENT_BINARY_DIR}/${_basename}.h") set(_impl "${CMAKE_CURRENT_BINARY_DIR}/${_basename}.cpp") set(_moc "${CMAKE_CURRENT_BINARY_DIR}/${_basename}.moc") get_property(_nonamespace SOURCE ${_interface} PROPERTY NO_NAMESPACE) if(_nonamespace) set(_params -N -m) else() set(_params -m) endif() get_property(_classname SOURCE ${_interface} PROPERTY CLASSNAME) if(_classname) set(_params ${_params} -c ${_classname}) endif() get_property(_include SOURCE ${_interface} PROPERTY INCLUDE) if(_include) set(_params ${_params} -i ${_include}) endif() add_custom_command(OUTPUT "${_impl}" "${_header}" COMMAND Qt4::qdbusxml2cpp ${_params} -p ${_basename} ${_infile} DEPENDS ${_infile} VERBATIM) set_property(SOURCE ${_impl} PROPERTY SKIP_AUTOMOC TRUE) # don't run automoc on this file set_property(SOURCE ${_impl} PROPERTY SKIP_AUTOUIC TRUE) # don't run autouic on this file QT4_GENERATE_MOC("${_header}" "${_moc}") list(APPEND ${_sources} "${_impl}" "${_header}" "${_moc}") MACRO_ADD_FILE_DEPENDENCIES("${_impl}" "${_moc}") endmacro() macro(QT4_ADD_DBUS_INTERFACES _sources) foreach (_current_FILE ${ARGN}) get_filename_component(_infile ${_current_FILE} ABSOLUTE) get_filename_component(_basename ${_current_FILE} NAME) # get the part before the ".xml" suffix string(TOLOWER ${_basename} _basename) string(REGEX REPLACE "(.*\\.)?([^\\.]+)\\.xml" "\\2" _basename ${_basename}) QT4_ADD_DBUS_INTERFACE(${_sources} ${_infile} ${_basename}interface) endforeach () endmacro() macro(QT4_GENERATE_DBUS_INTERFACE _header) # _customName OPTIONS -some -options ) QT4_EXTRACT_OPTIONS(_customName _qt4_dbus_options _qt4_dbus_target ${ARGN}) get_filename_component(_in_file ${_header} ABSOLUTE) get_filename_component(_basename ${_header} NAME_WE) if (_customName) if (IS_ABSOLUTE ${_customName}) get_filename_component(_containingDir ${_customName} PATH) if (NOT EXISTS ${_containingDir}) file(MAKE_DIRECTORY "${_containingDir}") endif() set(_target ${_customName}) else() set(_target ${CMAKE_CURRENT_BINARY_DIR}/${_customName}) endif() else () set(_target ${CMAKE_CURRENT_BINARY_DIR}/${_basename}.xml) endif () add_custom_command(OUTPUT ${_target} COMMAND Qt4::qdbuscpp2xml ${_qt4_dbus_options} ${_in_file} -o ${_target} DEPENDS ${_in_file} VERBATIM ) endmacro() macro(QT4_ADD_DBUS_ADAPTOR _sources _xml_file _include _parentClass) # _optionalBasename _optionalClassName) get_filename_component(_infile ${_xml_file} ABSOLUTE) unset(_optionalBasename) if(${ARGC} GREATER 4) set(_optionalBasename "${ARGV4}") endif() if (_optionalBasename) set(_basename ${_optionalBasename} ) else () string(REGEX REPLACE "(.*[/\\.])?([^\\.]+)\\.xml" "\\2adaptor" _basename ${_infile}) string(TOLOWER ${_basename} _basename) endif () unset(_optionalClassName) if(${ARGC} GREATER 5) set(_optionalClassName "${ARGV5}") endif() set(_header "${CMAKE_CURRENT_BINARY_DIR}/${_basename}.h") set(_impl "${CMAKE_CURRENT_BINARY_DIR}/${_basename}.cpp") set(_moc "${CMAKE_CURRENT_BINARY_DIR}/${_basename}.moc") if(_optionalClassName) add_custom_command(OUTPUT "${_impl}" "${_header}" COMMAND Qt4::qdbusxml2cpp -m -a ${_basename} -c ${_optionalClassName} -i ${_include} -l ${_parentClass} ${_infile} DEPENDS ${_infile} VERBATIM ) else() add_custom_command(OUTPUT "${_impl}" "${_header}" COMMAND Qt4::qdbusxml2cpp -m -a ${_basename} -i ${_include} -l ${_parentClass} ${_infile} DEPENDS ${_infile} VERBATIM ) endif() QT4_GENERATE_MOC("${_header}" "${_moc}") set_property(SOURCE ${_impl} PROPERTY SKIP_AUTOMOC TRUE) # don't run automoc on this file set_property(SOURCE ${_impl} PROPERTY SKIP_AUTOUIC TRUE) # don't run autouic on this file MACRO_ADD_FILE_DEPENDENCIES("${_impl}" "${_moc}") list(APPEND ${_sources} "${_impl}" "${_header}" "${_moc}") endmacro() macro(QT4_AUTOMOC) if(NOT CMAKE_MINIMUM_REQUIRED_VERSION VERSION_LESS 2.8.11) message(DEPRECATION "The qt4_automoc macro is obsolete. Use the CMAKE_AUTOMOC feature instead.") endif() QT4_GET_MOC_FLAGS(_moc_INCS) set(_matching_FILES ) foreach (_current_FILE ${ARGN}) get_filename_component(_abs_FILE ${_current_FILE} ABSOLUTE) # if "SKIP_AUTOMOC" is set to true, we will not handle this file here. # This is required to make uic work correctly: # we need to add generated .cpp files to the sources (to compile them), # but we cannot let automoc handle them, as the .cpp files don't exist yet when # cmake is run for the very first time on them -> however the .cpp files might # exist at a later run. at that time we need to skip them, so that we don't add two # different rules for the same moc file get_property(_skip SOURCE ${_abs_FILE} PROPERTY SKIP_AUTOMOC) if ( NOT _skip AND EXISTS ${_abs_FILE} ) file(READ ${_abs_FILE} _contents) get_filename_component(_abs_PATH ${_abs_FILE} PATH) string(REGEX MATCHALL "# *include +[^ ]+\\.moc[\">]" _match "${_contents}") if(_match) foreach (_current_MOC_INC ${_match}) string(REGEX MATCH "[^ <\"]+\\.moc" _current_MOC "${_current_MOC_INC}") get_filename_component(_basename ${_current_MOC} NAME_WE) if(EXISTS ${_abs_PATH}/${_basename}.hpp) set(_header ${_abs_PATH}/${_basename}.hpp) else() set(_header ${_abs_PATH}/${_basename}.h) endif() set(_moc ${CMAKE_CURRENT_BINARY_DIR}/${_current_MOC}) QT4_CREATE_MOC_COMMAND(${_header} ${_moc} "${_moc_INCS}" "" "") MACRO_ADD_FILE_DEPENDENCIES(${_abs_FILE} ${_moc}) endforeach () endif() endif () endforeach () endmacro() macro(QT4_CREATE_TRANSLATION _qm_files) QT4_EXTRACT_OPTIONS(_lupdate_files _lupdate_options _lupdate_target ${ARGN}) set(_my_sources) set(_my_dirs) set(_my_tsfiles) set(_ts_pro) foreach (_file ${_lupdate_files}) get_filename_component(_ext ${_file} EXT) get_filename_component(_abs_FILE ${_file} ABSOLUTE) if(_ext MATCHES "ts") list(APPEND _my_tsfiles ${_abs_FILE}) else() if(NOT _ext) list(APPEND _my_dirs ${_abs_FILE}) else() list(APPEND _my_sources ${_abs_FILE}) endif() endif() endforeach() foreach(_ts_file ${_my_tsfiles}) if(_my_sources) # make a .pro file to call lupdate on, so we don't make our commands too # long for some systems get_filename_component(_ts_name ${_ts_file} NAME_WE) set(_ts_pro ${CMAKE_CURRENT_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/${_ts_name}_lupdate.pro) set(_pro_srcs) foreach(_pro_src ${_my_sources}) string(APPEND _pro_srcs " \\\n \"${_pro_src}\"") endforeach() set(_pro_includes) get_directory_property(_inc_DIRS INCLUDE_DIRECTORIES) list(REMOVE_DUPLICATES _inc_DIRS) foreach(_pro_include ${_inc_DIRS}) get_filename_component(_abs_include "${_pro_include}" ABSOLUTE) string(APPEND _pro_includes " \\\n \"${_abs_include}\"") endforeach() file(GENERATE OUTPUT ${_ts_pro} CONTENT "SOURCES =${_pro_srcs}\nINCLUDEPATH =${_pro_includes}\n") endif() add_custom_command(OUTPUT ${_ts_file} COMMAND Qt4::lupdate ARGS ${_lupdate_options} ${_ts_pro} ${_my_dirs} -ts ${_ts_file} DEPENDS ${_my_sources} ${_ts_pro} VERBATIM) endforeach() QT4_ADD_TRANSLATION(${_qm_files} ${_my_tsfiles}) endmacro() macro(QT4_ADD_TRANSLATION _qm_files) foreach (_current_FILE ${ARGN}) get_filename_component(_abs_FILE ${_current_FILE} ABSOLUTE) get_filename_component(qm ${_abs_FILE} NAME_WE) get_property(output_location SOURCE ${_abs_FILE} PROPERTY OUTPUT_LOCATION) if(output_location) file(MAKE_DIRECTORY "${output_location}") set(qm "${output_location}/${qm}.qm") else() set(qm "${CMAKE_CURRENT_BINARY_DIR}/${qm}.qm") endif() add_custom_command(OUTPUT ${qm} COMMAND Qt4::lrelease ARGS ${_abs_FILE} -qm ${qm} DEPENDS ${_abs_FILE} VERBATIM ) set(${_qm_files} ${${_qm_files}} ${qm}) endforeach () endmacro() function(qt4_use_modules _target _link_type) if(NOT CMAKE_MINIMUM_REQUIRED_VERSION VERSION_LESS 2.8.11) message(DEPRECATION "The qt4_use_modules function is obsolete. Use target_link_libraries with IMPORTED targets instead.") endif() if ("${_link_type}" STREQUAL "LINK_PUBLIC" OR "${_link_type}" STREQUAL "LINK_PRIVATE") set(modules ${ARGN}) set(link_type ${_link_type}) else() set(modules ${_link_type} ${ARGN}) endif() foreach(_module ${modules}) string(TOUPPER ${_module} _ucmodule) set(_targetPrefix QT_QT${_ucmodule}) if (_ucmodule STREQUAL QAXCONTAINER OR _ucmodule STREQUAL QAXSERVER) if (NOT QT_Q${_ucmodule}_FOUND) message(FATAL_ERROR "Can not use \"${_module}\" module which has not yet been found.") endif() set(_targetPrefix QT_Q${_ucmodule}) else() if (NOT QT_QT${_ucmodule}_FOUND) message(FATAL_ERROR "Can not use \"${_module}\" module which has not yet been found.") endif() if ("${_ucmodule}" STREQUAL "MAIN") message(FATAL_ERROR "Can not use \"${_module}\" module with qt4_use_modules.") endif() endif() target_link_libraries(${_target} ${link_type} ${${_targetPrefix}_LIBRARIES}) set_property(TARGET ${_target} APPEND PROPERTY INCLUDE_DIRECTORIES ${${_targetPrefix}_INCLUDE_DIR} ${QT_HEADERS_DIR} ${QT_MKSPECS_DIR}/default) set_property(TARGET ${_target} APPEND PROPERTY COMPILE_DEFINITIONS ${${_targetPrefix}_COMPILE_DEFINITIONS}) endforeach() endfunction()
Close