From b8500fbc107c3aac07700fee911fd81d77e41fb0 Mon Sep 17 00:00:00 2001 From: Felix Geyer Date: Sun, 30 Oct 2016 18:24:19 +0100 Subject: [PATCH] New upstream version 3.7.0~rc2 --- .gitignore | 7 + .hooks-config.bash | 13 +- Auxiliary/CMakeLists.txt | 2 +- Auxiliary/bash-completion/cmake | 2 +- Auxiliary/cmake-help.vim | 21 - Auxiliary/cmake-mode.el | 30 +- Auxiliary/cmake-syntax.vim | 89 - Auxiliary/cmake.m4 | 13 +- Auxiliary/vim/cmake.vim.in | 91 + Auxiliary/vim/extract-upper-case.pl | 141 + .../indent/cmake.vim} | 10 - Auxiliary/vim/syntax/cmake.vim | 554 ++ CMakeCPack.cmake | 69 +- CMakeCPackOptions.cmake.in | 33 +- CMakeLists.txt | 116 +- CONTRIBUTING.rst | 24 +- CTestConfig.cmake | 14 +- CTestCustom.cmake.in | 8 + CompileFlags.cmake | 22 +- Copyright.txt | 85 +- DartConfig.cmake | 14 +- Help/command/add_custom_command.rst | 7 + Help/command/cmake_parse_arguments.rst | 11 + Help/command/ctest_build.rst | 9 +- Help/command/ctest_configure.rst | 11 +- Help/command/ctest_coverage.rst | 9 +- Help/command/ctest_test.rst | 9 +- Help/command/ctest_upload.rst | 6 +- Help/command/export.rst | 15 + Help/command/file.rst | 6 + Help/command/find_library.rst | 7 + Help/command/find_package.rst | 35 +- Help/command/get_cmake_property.rst | 11 +- Help/command/if.rst | 59 +- Help/command/include.rst | 6 +- Help/command/install.rst | 14 +- Help/command/math.rst | 9 +- Help/command/separate_arguments.rst | 12 +- Help/command/set.rst | 4 +- Help/command/string.rst | 8 +- Help/command/target_link_libraries.rst | 6 + Help/generator/CodeLite.rst | 6 +- Help/generator/Ninja.rst | 27 +- Help/generator/Visual Studio 10 2010.rst | 2 +- Help/generator/Visual Studio 11 2012.rst | 2 +- Help/generator/Visual Studio 12 2013.rst | 2 +- Help/generator/Visual Studio 14 2015.rst | 2 +- Help/generator/Visual Studio 15.rst | 16 + Help/index.rst | 1 + Help/manual/OPTIONS_BUILD.txt | 8 +- Help/manual/cmake-buildsystem.7.rst | 2 +- Help/manual/cmake-developer.7.rst | 74 +- Help/manual/cmake-generator-expressions.7.rst | 8 +- Help/manual/cmake-generators.7.rst | 1 + Help/manual/cmake-modules.7.rst | 4 + Help/manual/cmake-policies.7.rst | 8 + Help/manual/cmake-properties.7.rst | 12 + Help/manual/cmake-server.7.rst | 703 +++ Help/manual/cmake-toolchains.7.rst | 204 +- Help/manual/cmake-variables.7.rst | 32 +- Help/manual/cmake.1.rst | 45 + Help/manual/ctest.1.rst | 104 +- Help/module/AndroidTestUtilities.rst | 1 + Help/module/CPackProductBuild.rst | 1 + Help/module/FindICU.rst | 1 + Help/module/FindVulkan.rst | 1 + Help/policy/CMP0066.rst | 27 + Help/prop_dir/BINARY_DIR.rst | 5 + Help/prop_dir/BUILDSYSTEM_TARGETS.rst | 11 + Help/prop_dir/SOURCE_DIR.rst | 5 + Help/prop_dir/SUBDIRECTORIES.rst | 15 + .../prop_gbl/FIND_LIBRARY_USE_LIB32_PATHS.rst | 10 + Help/prop_sf/VS_TOOL_OVERRIDE.rst | 5 + Help/prop_sf/XCODE_FILE_ATTRIBUTES.rst | 11 + Help/prop_test/DEPENDS.rst | 6 +- Help/prop_test/FIXTURES_CLEANUP.rst | 46 + Help/prop_test/FIXTURES_REQUIRED.rst | 94 + Help/prop_test/FIXTURES_SETUP.rst | 47 + Help/prop_test/RESOURCE_LOCK.rst | 3 + Help/prop_tgt/ANDROID_API.rst | 9 +- Help/prop_tgt/ANDROID_ARCH.rst | 3 +- Help/prop_tgt/ANDROID_GUI.rst | 4 +- Help/prop_tgt/ANDROID_STL_TYPE.rst | 32 +- Help/prop_tgt/AUTORCC.rst | 5 + Help/prop_tgt/BUNDLE_EXTENSION.rst | 7 +- Help/prop_tgt/LINK_WHAT_YOU_USE.rst | 15 + Help/prop_tgt/VS_SDK_REFERENCES.rst | 7 + Help/prop_tgt/WINDOWS_EXPORT_ALL_SYMBOLS.rst | 5 +- Help/release/3.7.rst | 320 ++ Help/release/index.rst | 1 + Help/variable/ANDROID.rst | 5 + Help/variable/CMAKE_ANDROID_API.rst | 10 +- Help/variable/CMAKE_ANDROID_ARCH.rst | 18 +- Help/variable/CMAKE_ANDROID_ARCH_ABI.rst | 17 + Help/variable/CMAKE_ANDROID_ARM_MODE.rst | 7 + Help/variable/CMAKE_ANDROID_ARM_NEON.rst | 6 + Help/variable/CMAKE_ANDROID_NDK.rst | 7 + .../CMAKE_ANDROID_NDK_TOOLCHAIN_VERSION.rst | 13 + .../CMAKE_ANDROID_STANDALONE_TOOLCHAIN.rst | 6 + Help/variable/CMAKE_ANDROID_STL_TYPE.rst | 35 +- Help/variable/CMAKE_CODELITE_USE_TARGETS.rst | 8 + Help/variable/CMAKE_COMPILER_IS_GNUCC.rst | 5 + Help/variable/CMAKE_COMPILER_IS_GNUCXX.rst | 5 + Help/variable/CMAKE_COMPILER_IS_GNUG77.rst | 5 + Help/variable/CMAKE_COMPILER_IS_GNULANG.rst | 15 - .../CMAKE_EXE_LINKER_FLAGS_CONFIG_INIT.rst | 10 + Help/variable/CMAKE_EXE_LINKER_FLAGS_INIT.rst | 11 + .../CMAKE_FIND_PACKAGE_SORT_DIRECTION.rst | 16 + .../CMAKE_FIND_PACKAGE_SORT_ORDER.rst | 36 + Help/variable/CMAKE_INSTALL_PREFIX.rst | 2 +- .../CMAKE_LANG_ANDROID_TOOLCHAIN_PREFIX.rst | 11 + .../CMAKE_LANG_ANDROID_TOOLCHAIN_SUFFIX.rst | 7 + Help/variable/CMAKE_LANG_FLAGS_DEBUG_INIT.rst | 10 + Help/variable/CMAKE_LANG_FLAGS_INIT.rst | 15 + .../CMAKE_LANG_FLAGS_MINSIZEREL_INIT.rst | 10 + .../CMAKE_LANG_FLAGS_RELEASE_INIT.rst | 10 + .../CMAKE_LANG_FLAGS_RELWITHDEBINFO_INIT.rst | 10 + Help/variable/CMAKE_LINK_WHAT_YOU_USE.rst | 6 + .../CMAKE_MODULE_LINKER_FLAGS_CONFIG_INIT.rst | 10 + .../CMAKE_MODULE_LINKER_FLAGS_INIT.rst | 11 + .../variable/CMAKE_POLICY_WARNING_CMPNNNN.rst | 2 + .../CMAKE_SHARED_LINKER_FLAGS_CONFIG_INIT.rst | 10 + .../CMAKE_SHARED_LINKER_FLAGS_INIT.rst | 11 + .../CMAKE_STATIC_LINKER_FLAGS_CONFIG_INIT.rst | 10 + .../CMAKE_STATIC_LINKER_FLAGS_INIT.rst | 11 + .../variable/CMAKE_Swift_LANGUAGE_VERSION.rst | 5 + .../CMAKE_USER_MAKE_RULES_OVERRIDE.rst | 6 +- Help/variable/CMAKE_VERSION.rst | 10 +- Help/variable/MSVC10.rst | 5 +- Help/variable/MSVC11.rst | 5 +- Help/variable/MSVC12.rst | 5 +- Help/variable/MSVC14.rst | 5 +- Help/variable/MSVC80.rst | 5 +- Help/variable/MSVC90.rst | 5 +- Help/variable/MSVC_VERSION.rst | 2 +- Help/variable/XCODE.rst | 4 + Licenses/LGPLv3.txt | 165 + Modules/AddFileDependencies.cmake | 16 +- Modules/AndroidTestUtilities.cmake | 157 + .../PushToAndroidDevice.cmake | 174 + Modules/BundleUtilities.cmake | 16 +- Modules/CMake.cmake | 14 +- Modules/CMakeASM-ATTInformation.cmake | 14 +- Modules/CMakeASMInformation.cmake | 23 +- Modules/CMakeASM_MASMInformation.cmake | 14 +- Modules/CMakeASM_NASMInformation.cmake | 14 +- Modules/CMakeAddFortranSubdirectory.cmake | 17 +- Modules/CMakeBackwardCompatibilityC.cmake | 14 +- Modules/CMakeBackwardCompatibilityCXX.cmake | 18 +- Modules/CMakeBorlandFindMake.cmake | 14 +- Modules/CMakeCCompiler.cmake.in | 1 + Modules/CMakeCInformation.cmake | 23 +- Modules/CMakeCXXCompiler.cmake.in | 1 + Modules/CMakeCXXInformation.cmake | 23 +- ...CMakeCheckCompilerFlagCommonPatterns.cmake | 17 +- Modules/CMakeCommonLanguageInclude.cmake | 28 +- Modules/CMakeCompilerIdDetection.cmake | 22 +- Modules/CMakeDependentOption.cmake | 16 +- Modules/CMakeDetermineASM-ATTCompiler.cmake | 14 +- Modules/CMakeDetermineASMCompiler.cmake | 14 +- Modules/CMakeDetermineASM_MASMCompiler.cmake | 14 +- Modules/CMakeDetermineASM_NASMCompiler.cmake | 14 +- Modules/CMakeDetermineCCompiler.cmake | 17 +- Modules/CMakeDetermineCXXCompiler.cmake | 17 +- Modules/CMakeDetermineCompileFeatures.cmake | 14 +- Modules/CMakeDetermineCompiler.cmake | 14 +- Modules/CMakeDetermineCompilerABI.cmake | 14 +- Modules/CMakeDetermineCompilerId.cmake | 30 +- Modules/CMakeDetermineFortranCompiler.cmake | 21 +- Modules/CMakeDetermineJavaCompiler.cmake | 14 +- Modules/CMakeDetermineRCCompiler.cmake | 14 +- Modules/CMakeDetermineSwiftCompiler.cmake | 14 +- Modules/CMakeDetermineSystem.cmake | 15 +- Modules/CMakeDetermineVSServicePack.cmake | 18 +- Modules/CMakeExpandImportedTargets.cmake | 17 +- Modules/CMakeExportBuildSettings.cmake | 14 +- ...etermineCompilerMacrosAndIncludeDirs.cmake | 14 +- Modules/CMakeFindBinUtils.cmake | 16 +- Modules/CMakeFindCodeBlocks.cmake | 14 +- Modules/CMakeFindDependencyMacro.cmake | 16 +- Modules/CMakeFindEclipseCDT4.cmake | 16 +- Modules/CMakeFindFrameworks.cmake | 20 +- Modules/CMakeFindJavaCommon.cmake | 14 +- Modules/CMakeFindKDevelop3.cmake | 14 +- Modules/CMakeFindKate.cmake | 14 +- Modules/CMakeFindPackageMode.cmake | 16 +- Modules/CMakeFindWMake.cmake | 14 +- Modules/CMakeFindXCode.cmake | 14 +- Modules/CMakeForceCompiler.cmake | 16 +- Modules/CMakeFortranCompiler.cmake.in | 4 + Modules/CMakeFortranInformation.cmake | 23 +- Modules/CMakeGenericSystem.cmake | 14 +- Modules/CMakeGraphVizOptions.cmake | 17 +- Modules/CMakeIOSInstallCombined.cmake | 28 +- Modules/CMakeImportBuildSettings.cmake | 14 +- Modules/CMakeJOMFindMake.cmake | 15 +- Modules/CMakeJavaInformation.cmake | 14 +- Modules/CMakeLanguageInformation.cmake | 14 +- Modules/CMakeMSYSFindMake.cmake | 14 +- Modules/CMakeMinGWFindMake.cmake | 14 +- Modules/CMakeNMakeFindMake.cmake | 15 +- Modules/CMakeNinjaFindMake.cmake | 14 +- Modules/CMakePackageConfigHelpers.cmake | 24 +- Modules/CMakeParseArguments.cmake | 16 +- Modules/CMakeParseImplicitLinkInfo.cmake | 60 +- Modules/CMakePrintHelpers.cmake | 28 +- Modules/CMakePrintSystemInformation.cmake | 16 +- Modules/CMakePushCheckState.cmake | 17 +- Modules/CMakeRCInformation.cmake | 19 +- Modules/CMakeSwiftInformation.cmake | 15 +- Modules/CMakeSystem.cmake.in | 2 +- Modules/CMakeSystemSpecificInformation.cmake | 14 +- Modules/CMakeSystemSpecificInitialize.cmake | 14 +- Modules/CMakeTestASM-ATTCompiler.cmake | 14 +- Modules/CMakeTestASMCompiler.cmake | 14 +- Modules/CMakeTestASM_MASMCompiler.cmake | 14 +- Modules/CMakeTestASM_NASMCompiler.cmake | 14 +- Modules/CMakeTestCCompiler.cmake | 14 +- Modules/CMakeTestCXXCompiler.cmake | 14 +- Modules/CMakeTestCompilerCommon.cmake | 14 +- Modules/CMakeTestFortranCompiler.cmake | 14 +- Modules/CMakeTestJavaCompiler.cmake | 14 +- Modules/CMakeTestRCCompiler.cmake | 14 +- Modules/CMakeTestSwiftCompiler.cmake | 14 +- Modules/CMakeUnixFindMake.cmake | 14 +- Modules/CMakeVS7BackwardCompatibility.cmake | 14 +- Modules/CMakeVerifyManifest.cmake | 17 +- Modules/CPack.cmake | 37 +- Modules/CPackBundle.cmake | 16 +- Modules/CPackComponent.cmake | 50 +- Modules/CPackCygwin.cmake | 16 +- Modules/CPackDMG.cmake | 16 +- Modules/CPackDeb.cmake | 54 +- Modules/CPackIFW.cmake | 272 +- Modules/CPackNSIS.cmake | 21 +- Modules/CPackPackageMaker.cmake | 16 +- Modules/CPackProductBuild.cmake | 28 + Modules/CPackRPM.cmake | 614 ++- Modules/CPackWIX.cmake | 46 +- Modules/CPackZIP.cmake | 14 +- Modules/CTest.cmake | 28 +- Modules/CTestCoverageCollectGCOV.cmake | 15 +- Modules/CTestScriptMode.cmake | 17 +- Modules/CTestTargets.cmake | 14 +- Modules/CTestUseLaunchers.cmake | 18 +- Modules/CheckCCompilerFlag.cmake | 18 +- Modules/CheckCSourceCompiles.cmake | 18 +- Modules/CheckCSourceRuns.cmake | 18 +- Modules/CheckCXXCompilerFlag.cmake | 18 +- Modules/CheckCXXSourceCompiles.cmake | 18 +- Modules/CheckCXXSourceRuns.cmake | 18 +- Modules/CheckCXXSymbolExists.cmake | 16 +- Modules/CheckFortranCompilerFlag.cmake | 19 +- Modules/CheckFortranFunctionExists.cmake | 18 +- Modules/CheckFortranSourceCompiles.cmake | 35 +- Modules/CheckFunctionExists.cmake | 18 +- Modules/CheckIncludeFile.cmake | 18 +- Modules/CheckIncludeFileCXX.cmake | 18 +- Modules/CheckIncludeFiles.cmake | 24 +- Modules/CheckLanguage.cmake | 16 +- Modules/CheckLibraryExists.cmake | 18 +- Modules/CheckPrototypeDefinition.cmake | 20 +- Modules/CheckSizeOf.cmake | 14 +- Modules/CheckStructHasMember.cmake | 18 +- Modules/CheckSymbolExists.cmake | 24 +- Modules/CheckTypeSize.cmake | 26 +- Modules/CheckVariableExists.cmake | 18 +- Modules/Compiler/ARMCC.cmake | 10 +- Modules/Compiler/Absoft-Fortran.cmake | 10 +- .../AppleClang-DetermineCompiler.cmake | 2 +- Modules/Compiler/Bruce-C.cmake | 10 +- Modules/Compiler/Clang.cmake | 14 +- Modules/Compiler/G95-Fortran.cmake | 10 +- Modules/Compiler/GHS-C.cmake | 10 +- Modules/Compiler/GHS-CXX.cmake | 10 +- Modules/Compiler/GNU-Fortran.cmake | 7 +- Modules/Compiler/GNU.cmake | 26 +- Modules/Compiler/IAR.cmake | 5 +- Modules/Compiler/Intel-ASM.cmake | 11 +- Modules/Compiler/Intel-C.cmake | 11 +- Modules/Compiler/Intel-CXX.cmake | 11 +- Modules/Compiler/Intel-Fortran.cmake | 12 +- Modules/Compiler/Intel.cmake | 26 + Modules/Compiler/MSVC-CXX-FeatureTests.cmake | 3 + Modules/Compiler/NAG-Fortran.cmake | 1 + Modules/Compiler/PGI-C.cmake | 4 +- Modules/Compiler/PGI-CXX.cmake | 4 +- Modules/Compiler/PGI-Fortran.cmake | 4 +- Modules/Compiler/PGI.cmake | 24 +- Modules/Compiler/PathScale-C.cmake | 4 +- Modules/Compiler/PathScale-CXX.cmake | 4 +- Modules/Compiler/PathScale.cmake | 24 +- Modules/Compiler/QCC.cmake | 15 +- Modules/Compiler/SCO.cmake | 14 +- Modules/Compiler/SunPro-ASM.cmake | 10 +- Modules/Compiler/SunPro-C.cmake | 10 +- Modules/Compiler/SunPro-CXX.cmake | 10 +- Modules/Compiler/SunPro-Fortran.cmake | 13 +- Modules/Compiler/TinyCC-C.cmake | 10 +- Modules/Compiler/XL-ASM.cmake | 10 +- Modules/Compiler/XL-C.cmake | 6 +- Modules/Compiler/XL-CXX.cmake | 6 +- Modules/Compiler/XL-Fortran.cmake | 2 +- Modules/Compiler/XL.cmake | 22 +- Modules/CompilerId/Xcode-3.pbxproj.in | 1 + Modules/Dart.cmake | 18 +- Modules/DeployQt4.cmake | 20 +- Modules/Documentation.cmake | 16 +- Modules/ExternalData.cmake | 111 +- Modules/ExternalProject-download.cmake.in | 101 +- Modules/ExternalProject-verify.cmake.in | 15 +- Modules/ExternalProject.cmake | 138 +- Modules/FLTKCompatibility.cmake | 14 +- Modules/FeatureSummary.cmake | 695 ++- Modules/FindALSA.cmake | 17 +- Modules/FindASPELL.cmake | 17 +- Modules/FindAVIFile.cmake | 16 +- Modules/FindArmadillo.cmake | 17 +- Modules/FindBISON.cmake | 152 +- Modules/FindBLAS.cmake | 16 +- Modules/FindBZip2.cmake | 56 +- Modules/FindBacktrace.cmake | 17 +- Modules/FindBoost.cmake | 180 +- Modules/FindBullet.cmake | 17 +- Modules/FindCABLE.cmake | 16 +- Modules/FindCUDA.cmake | 234 +- Modules/FindCUDA/make2cmake.cmake | 2 +- Modules/FindCUDA/run_nvcc.cmake | 19 +- Modules/FindCUDA/select_compute_arch.cmake | 195 + Modules/FindCURL.cmake | 17 +- Modules/FindCVS.cmake | 16 +- Modules/FindCoin3D.cmake | 16 +- Modules/FindCups.cmake | 20 +- Modules/FindCurses.cmake | 16 +- Modules/FindCxxTest.cmake | 28 +- Modules/FindCygwin.cmake | 16 +- Modules/FindDCMTK.cmake | 18 +- Modules/FindDart.cmake | 16 +- Modules/FindDevIL.cmake | 17 +- Modules/FindDoxygen.cmake | 16 +- Modules/FindEXPAT.cmake | 24 +- Modules/FindFLEX.cmake | 17 +- Modules/FindFLTK.cmake | 16 +- Modules/FindFLTK2.cmake | 16 +- Modules/FindFreetype.cmake | 83 +- Modules/FindGCCXML.cmake | 16 +- Modules/FindGDAL.cmake | 16 +- Modules/FindGIF.cmake | 62 +- Modules/FindGLEW.cmake | 59 +- Modules/FindGLU.cmake | 14 +- Modules/FindGLUT.cmake | 16 +- Modules/FindGSL.cmake | 16 +- Modules/FindGTK.cmake | 16 +- Modules/FindGTK2.cmake | 17 +- Modules/FindGTest.cmake | 45 +- Modules/FindGettext.cmake | 17 +- Modules/FindGit.cmake | 17 +- Modules/FindGnuTLS.cmake | 19 +- Modules/FindGnuplot.cmake | 16 +- Modules/FindHDF5.cmake | 21 +- Modules/FindHSPELL.cmake | 17 +- Modules/FindHTMLHelp.cmake | 16 +- Modules/FindHg.cmake | 18 +- Modules/FindICU.cmake | 349 ++ Modules/FindIce.cmake | 61 +- Modules/FindIcotool.cmake | 16 +- Modules/FindImageMagick.cmake | 18 +- Modules/FindIntl.cmake | 16 +- Modules/FindJNI.cmake | 25 +- Modules/FindJPEG.cmake | 16 +- Modules/FindJasper.cmake | 18 +- Modules/FindJava.cmake | 20 +- Modules/FindKDE3.cmake | 17 +- Modules/FindKDE4.cmake | 17 +- Modules/FindLAPACK.cmake | 16 +- Modules/FindLATEX.cmake | 17 +- Modules/FindLTTngUST.cmake | 17 +- Modules/FindLibArchive.cmake | 16 +- Modules/FindLibLZMA.cmake | 20 +- Modules/FindLibXml2.cmake | 17 +- Modules/FindLibXslt.cmake | 17 +- Modules/FindLua.cmake | 134 +- Modules/FindLua50.cmake | 16 +- Modules/FindLua51.cmake | 16 +- Modules/FindMFC.cmake | 16 +- Modules/FindMPEG.cmake | 16 +- Modules/FindMPEG2.cmake | 16 +- Modules/FindMPI.cmake | 26 +- Modules/FindMatlab.cmake | 182 +- Modules/FindMotif.cmake | 16 +- Modules/FindOpenAL.cmake | 16 +- Modules/FindOpenCL.cmake | 43 +- Modules/FindOpenGL.cmake | 16 +- Modules/FindOpenMP.cmake | 140 +- Modules/FindOpenSSL.cmake | 83 +- Modules/FindOpenSceneGraph.cmake | 17 +- Modules/FindOpenThreads.cmake | 17 +- Modules/FindPHP4.cmake | 24 +- Modules/FindPNG.cmake | 31 +- Modules/FindPackageHandleStandardArgs.cmake | 34 +- Modules/FindPackageMessage.cmake | 16 +- Modules/FindPerl.cmake | 16 +- Modules/FindPerlLibs.cmake | 17 +- Modules/FindPhysFS.cmake | 16 +- Modules/FindPike.cmake | 16 +- Modules/FindPkgConfig.cmake | 29 +- Modules/FindPostgreSQL.cmake | 22 +- Modules/FindProducer.cmake | 16 +- Modules/FindProtobuf.cmake | 30 +- Modules/FindPythonInterp.cmake | 20 +- Modules/FindPythonLibs.cmake | 18 +- Modules/FindQt.cmake | 16 +- Modules/FindQt3.cmake | 16 +- Modules/FindQt4.cmake | 18 +- Modules/FindQuickTime.cmake | 16 +- Modules/FindRTI.cmake | 17 +- Modules/FindRuby.cmake | 17 +- Modules/FindSDL.cmake | 17 +- Modules/FindSDL_image.cmake | 17 +- Modules/FindSDL_mixer.cmake | 17 +- Modules/FindSDL_net.cmake | 17 +- Modules/FindSDL_sound.cmake | 21 +- Modules/FindSDL_ttf.cmake | 17 +- Modules/FindSWIG.cmake | 18 +- Modules/FindSelfPackers.cmake | 16 +- Modules/FindSquish.cmake | 18 +- Modules/FindSubversion.cmake | 17 +- Modules/FindTCL.cmake | 16 +- Modules/FindTIFF.cmake | 31 +- Modules/FindTclStub.cmake | 16 +- Modules/FindTclsh.cmake | 16 +- Modules/FindThreads.cmake | 17 +- Modules/FindUnixCommands.cmake | 16 +- Modules/FindVulkan.cmake | 75 + Modules/FindWget.cmake | 16 +- Modules/FindWish.cmake | 16 +- Modules/FindX11.cmake | 16 +- Modules/FindXCTest.cmake | 16 +- Modules/FindXMLRPC.cmake | 16 +- Modules/FindXalanC.cmake | 30 +- Modules/FindXercesC.cmake | 30 +- Modules/FindZLIB.cmake | 20 +- Modules/Findosg.cmake | 16 +- Modules/FindosgAnimation.cmake | 16 +- Modules/FindosgDB.cmake | 16 +- Modules/FindosgFX.cmake | 16 +- Modules/FindosgGA.cmake | 16 +- Modules/FindosgIntrospection.cmake | 16 +- Modules/FindosgManipulator.cmake | 16 +- Modules/FindosgParticle.cmake | 16 +- Modules/FindosgPresentation.cmake | 16 +- Modules/FindosgProducer.cmake | 16 +- Modules/FindosgQt.cmake | 16 +- Modules/FindosgShadow.cmake | 16 +- Modules/FindosgSim.cmake | 16 +- Modules/FindosgTerrain.cmake | 16 +- Modules/FindosgText.cmake | 16 +- Modules/FindosgUtil.cmake | 16 +- Modules/FindosgViewer.cmake | 16 +- Modules/FindosgVolume.cmake | 16 +- Modules/FindosgWidget.cmake | 16 +- Modules/Findosg_functions.cmake | 17 +- Modules/FindwxWidgets.cmake | 60 +- Modules/FindwxWindows.cmake | 19 +- Modules/FortranCInterface.cmake | 24 +- Modules/FortranCInterface/CMakeLists.txt | 12 +- Modules/FortranCInterface/Detect.cmake | 12 +- .../FortranCInterface/Verify/CMakeLists.txt | 12 +- Modules/GNUInstallDirs.cmake | 97 +- Modules/GenerateExportHeader.cmake | 40 +- Modules/GetPrerequisites.cmake | 30 +- Modules/ITKCompatibility.cmake | 14 +- Modules/InstallRequiredSystemLibraries.cmake | 16 +- Modules/KDE3Macros.cmake | 15 +- Modules/MacroAddFileDependencies.cmake | 16 +- Modules/MatlabTestsRedirect.cmake | 60 +- Modules/NSIS.template.in | 11 +- Modules/Platform/AIX-Clang-C.cmake | 1 + Modules/Platform/AIX-Clang-CXX.cmake | 1 + Modules/Platform/AIX-GNU-CXX.cmake | 1 + Modules/Platform/AIX-GNU.cmake | 21 +- Modules/Platform/AIX-XL.cmake | 20 +- Modules/Platform/ARTOS-GNU-C.cmake | 10 +- Modules/Platform/Android-Clang-C.cmake | 2 + Modules/Platform/Android-Clang-CXX.cmake | 2 + Modules/Platform/Android-Clang.cmake | 42 + Modules/Platform/Android-Common.cmake | 148 + Modules/Platform/Android-Determine-C.cmake | 2 + Modules/Platform/Android-Determine-CXX.cmake | 2 + Modules/Platform/Android-Determine.cmake | 291 + Modules/Platform/Android-GNU-C.cmake | 2 + Modules/Platform/Android-GNU-CXX.cmake | 2 + Modules/Platform/Android-GNU.cmake | 33 + Modules/Platform/Android-Initialize.cmake | 41 + Modules/Platform/Android.cmake | 2 + .../Android/Determine-Compiler-NDK.cmake | 246 + .../Determine-Compiler-Standalone.cmake | 59 + .../Platform/Android/Determine-Compiler.cmake | 70 + .../Android/abi-arm64-v8a-Clang.cmake | 8 + .../Platform/Android/abi-arm64-v8a-GNU.cmake | 6 + .../Platform/Android/abi-armeabi-Clang.cmake | 20 + .../Platform/Android/abi-armeabi-GNU.cmake | 18 + .../Android/abi-armeabi-v6-Clang.cmake | 19 + .../Platform/Android/abi-armeabi-v6-GNU.cmake | 17 + .../Android/abi-armeabi-v7a-Clang.cmake | 29 + .../Android/abi-armeabi-v7a-GNU.cmake | 27 + .../Platform/Android/abi-common-Clang.cmake | 6 + Modules/Platform/Android/abi-common-GNU.cmake | 1 + Modules/Platform/Android/abi-common.cmake | 4 + Modules/Platform/Android/abi-mips-Clang.cmake | 8 + Modules/Platform/Android/abi-mips-GNU.cmake | 6 + .../Platform/Android/abi-mips64-Clang.cmake | 8 + Modules/Platform/Android/abi-mips64-GNU.cmake | 6 + Modules/Platform/Android/abi-x86-Clang.cmake | 8 + Modules/Platform/Android/abi-x86-GNU.cmake | 2 + .../Platform/Android/abi-x86_64-Clang.cmake | 8 + Modules/Platform/Android/abi-x86_64-GNU.cmake | 2 + Modules/Platform/Android/ndk-stl-c++.cmake | 21 + .../Platform/Android/ndk-stl-c++_shared.cmake | 4 + .../Platform/Android/ndk-stl-c++_static.cmake | 6 + Modules/Platform/Android/ndk-stl-gabi++.cmake | 7 + .../Android/ndk-stl-gabi++_shared.cmake | 4 + .../Android/ndk-stl-gabi++_static.cmake | 4 + Modules/Platform/Android/ndk-stl-gnustl.cmake | 9 + .../Android/ndk-stl-gnustl_shared.cmake | 4 + .../Android/ndk-stl-gnustl_static.cmake | 4 + Modules/Platform/Android/ndk-stl-none.cmake | 2 + .../Platform/Android/ndk-stl-stlport.cmake | 7 + .../Android/ndk-stl-stlport_shared.cmake | 4 + .../Android/ndk-stl-stlport_static.cmake | 4 + Modules/Platform/Android/ndk-stl-system.cmake | 6 + Modules/Platform/BlueGeneP-base.cmake | 15 +- .../Platform/BlueGeneP-dynamic-GNU-C.cmake | 15 +- .../Platform/BlueGeneP-dynamic-GNU-CXX.cmake | 15 +- .../BlueGeneP-dynamic-GNU-Fortran.cmake | 15 +- Modules/Platform/BlueGeneP-dynamic-XL-C.cmake | 15 +- .../Platform/BlueGeneP-dynamic-XL-CXX.cmake | 15 +- .../BlueGeneP-dynamic-XL-Fortran.cmake | 15 +- Modules/Platform/BlueGeneP-dynamic.cmake | 15 +- Modules/Platform/BlueGeneP-static-GNU-C.cmake | 15 +- .../Platform/BlueGeneP-static-GNU-CXX.cmake | 15 +- .../BlueGeneP-static-GNU-Fortran.cmake | 15 +- Modules/Platform/BlueGeneP-static-XL-C.cmake | 15 +- .../Platform/BlueGeneP-static-XL-CXX.cmake | 15 +- .../BlueGeneP-static-XL-Fortran.cmake | 15 +- Modules/Platform/BlueGeneP-static.cmake | 15 +- Modules/Platform/BlueGeneQ-base.cmake | 17 +- .../Platform/BlueGeneQ-dynamic-GNU-C.cmake | 15 +- .../Platform/BlueGeneQ-dynamic-GNU-CXX.cmake | 15 +- .../BlueGeneQ-dynamic-GNU-Fortran.cmake | 15 +- Modules/Platform/BlueGeneQ-dynamic-XL-C.cmake | 15 +- .../Platform/BlueGeneQ-dynamic-XL-CXX.cmake | 15 +- .../BlueGeneQ-dynamic-XL-Fortran.cmake | 15 +- Modules/Platform/BlueGeneQ-dynamic.cmake | 15 +- Modules/Platform/BlueGeneQ-static-GNU-C.cmake | 15 +- .../Platform/BlueGeneQ-static-GNU-CXX.cmake | 15 +- .../BlueGeneQ-static-GNU-Fortran.cmake | 15 +- Modules/Platform/BlueGeneQ-static-XL-C.cmake | 15 +- .../Platform/BlueGeneQ-static-XL-CXX.cmake | 15 +- .../BlueGeneQ-static-XL-Fortran.cmake | 15 +- Modules/Platform/BlueGeneQ-static.cmake | 15 +- ...N-CXX.cmake => CYGWIN-Determine-CXX.cmake} | 0 Modules/Platform/CYGWIN-GNU.cmake | 16 +- Modules/Platform/Darwin-Absoft-Fortran.cmake | 15 +- Modules/Platform/Darwin-Clang.cmake | 14 +- ...n-CXX.cmake => Darwin-Determine-CXX.cmake} | 0 Modules/Platform/Darwin-GNU-Fortran.cmake | 15 +- Modules/Platform/Darwin-GNU.cmake | 14 +- Modules/Platform/Darwin-Initialize.cmake | 8 +- Modules/Platform/Darwin-Intel-Fortran.cmake | 14 +- Modules/Platform/Darwin-Intel.cmake | 14 +- Modules/Platform/Darwin-NAG-Fortran.cmake | 15 +- Modules/Platform/GHS-MULTI-Initialize.cmake | 14 +- Modules/Platform/GHS-MULTI.cmake | 14 +- Modules/Platform/Generic-ADSP-C.cmake | 8 +- Modules/Platform/Generic-ADSP-CXX.cmake | 8 +- Modules/Platform/Generic-SDCC-C.cmake | 2 +- Modules/Platform/HP-UX-GNU-CXX.cmake | 1 + Modules/Platform/HP-UX-GNU.cmake | 15 +- Modules/Platform/HP-UX-HP-CXX.cmake | 8 +- Modules/Platform/HP-UX-HP.cmake | 16 +- ...ux-CXX.cmake => Linux-Determine-CXX.cmake} | 0 Modules/Platform/Linux-GNU.cmake | 14 +- Modules/Platform/Linux-Intel-Fortran.cmake | 2 +- Modules/Platform/Linux-Intel.cmake | 14 +- Modules/Platform/Linux-PGI.cmake | 14 +- Modules/Platform/Linux-PathScale.cmake | 14 +- Modules/Platform/Linux.cmake | 3 +- Modules/Platform/OpenBSD.cmake | 1 + Modules/Platform/SCO_SV.cmake | 1 + Modules/Platform/SunOS-GNU.cmake | 14 +- Modules/Platform/SunOS-PathScale.cmake | 14 +- Modules/Platform/UnixPaths.cmake | 17 +- Modules/Platform/Windows-Clang.cmake | 14 +- ...-CXX.cmake => Windows-Determine-CXX.cmake} | 0 Modules/Platform/Windows-Embarcadero.cmake | 38 +- Modules/Platform/Windows-GNU.cmake | 14 +- Modules/Platform/Windows-Intel-Fortran.cmake | 10 +- Modules/Platform/Windows-Intel.cmake | 14 +- Modules/Platform/Windows-MSVC.cmake | 98 +- Modules/Platform/Windows-OpenWatcom-C.cmake | 1 + Modules/Platform/Windows-OpenWatcom-CXX.cmake | 1 + ...-wcl386.cmake => Windows-OpenWatcom.cmake} | 32 +- Modules/Platform/Windows-Watcom-C.cmake | 1 + Modules/Platform/Windows-Watcom-CXX.cmake | 1 + Modules/Platform/WindowsPaths.cmake | 14 +- Modules/ProcessorCount.cmake | 16 +- Modules/Qt4ConfigDependentSettings.cmake | 17 +- Modules/Qt4Macros.cmake | 21 +- Modules/SelectLibraryConfigurations.cmake | 17 +- Modules/SquishTestScript.cmake | 16 +- Modules/SystemInformation.cmake | 14 +- Modules/TestBigEndian.cmake | 16 +- Modules/TestCXXAcceptsFlag.cmake | 16 +- Modules/TestForANSIForScope.cmake | 16 +- Modules/TestForANSIStreamHeaders.cmake | 16 +- Modules/TestForSSTREAM.cmake | 16 +- Modules/TestForSTDNamespace.cmake | 16 +- Modules/UseEcos.cmake | 16 +- Modules/UseJava.cmake | 187 +- Modules/UseJavaClassFilelist.cmake | 16 +- Modules/UseJavaSymlinks.cmake | 16 +- Modules/UsePkgConfig.cmake | 16 +- Modules/UseQt4.cmake | 16 +- Modules/UseSWIG.cmake | 29 +- Modules/Use_wxWindows.cmake | 19 +- Modules/UsewxWidgets.cmake | 19 +- Modules/VTKCompatibility.cmake | 14 +- Modules/WriteBasicConfigVersionFile.cmake | 17 +- Modules/WriteCompilerDetectionHeader.cmake | 72 +- Modules/ecos_clean.cmake | 14 +- Modules/exportheader.cmake.in | 2 +- Modules/javaTargets.cmake.in | 39 + Modules/kde3uic.cmake | 15 +- Source/.cvsignore | 5 - Source/.gitattributes | 2 + Source/CMakeInstallDestinations.cmake | 5 + Source/CMakeLists.txt | 76 +- Source/CMakeVersion.cmake | 6 +- Source/CMakeVersionCompute.cmake | 17 +- Source/CMakeVersionSource.cmake | 9 +- Source/CPack/IFW/cmCPackIFWGenerator.cxx | 98 +- Source/CPack/IFW/cmCPackIFWGenerator.h | 53 +- Source/CPack/IFW/cmCPackIFWInstaller.cxx | 117 +- Source/CPack/IFW/cmCPackIFWInstaller.h | 25 +- Source/CPack/IFW/cmCPackIFWPackage.cxx | 86 +- Source/CPack/IFW/cmCPackIFWPackage.h | 25 +- Source/CPack/IFW/cmCPackIFWRepository.cxx | 63 +- Source/CPack/IFW/cmCPackIFWRepository.h | 19 +- Source/CPack/OSXScriptLauncher.cxx | 15 +- Source/CPack/WiX/cmCPackWIXGenerator.cxx | 79 +- Source/CPack/WiX/cmCPackWIXGenerator.h | 16 +- Source/CPack/WiX/cmWIXAccessControlList.cxx | 16 +- Source/CPack/WiX/cmWIXAccessControlList.h | 14 +- .../WiX/cmWIXDirectoriesSourceWriter.cxx | 30 +- .../CPack/WiX/cmWIXDirectoriesSourceWriter.h | 18 +- .../CPack/WiX/cmWIXFeaturesSourceWriter.cxx | 36 +- Source/CPack/WiX/cmWIXFeaturesSourceWriter.h | 24 +- Source/CPack/WiX/cmWIXFilesSourceWriter.cxx | 28 +- Source/CPack/WiX/cmWIXFilesSourceWriter.h | 17 +- Source/CPack/WiX/cmWIXPatch.cxx | 14 +- Source/CPack/WiX/cmWIXPatch.h | 14 +- Source/CPack/WiX/cmWIXPatchParser.cxx | 16 +- Source/CPack/WiX/cmWIXPatchParser.h | 14 +- .../CPack/WiX/cmWIXRichTextFormatWriter.cxx | 14 +- Source/CPack/WiX/cmWIXRichTextFormatWriter.h | 16 +- Source/CPack/WiX/cmWIXShortcut.cxx | 14 +- Source/CPack/WiX/cmWIXShortcut.h | 14 +- Source/CPack/WiX/cmWIXSourceWriter.cxx | 35 +- Source/CPack/WiX/cmWIXSourceWriter.h | 33 +- Source/CPack/cmCPack7zGenerator.cxx | 17 +- Source/CPack/cmCPack7zGenerator.h | 22 +- Source/CPack/cmCPackArchiveGenerator.cxx | 55 +- Source/CPack/cmCPackArchiveGenerator.h | 33 +- Source/CPack/cmCPackBundleGenerator.cxx | 22 +- Source/CPack/cmCPackBundleGenerator.h | 22 +- Source/CPack/cmCPackComponentGroup.cxx | 14 +- Source/CPack/cmCPackComponentGroup.h | 23 +- Source/CPack/cmCPackConfigure.h.in | 13 +- Source/CPack/cmCPackCygwinBinaryGenerator.cxx | 14 +- Source/CPack/cmCPackCygwinBinaryGenerator.h | 14 +- Source/CPack/cmCPackCygwinSourceGenerator.cxx | 14 +- Source/CPack/cmCPackCygwinSourceGenerator.h | 14 +- Source/CPack/cmCPackDebGenerator.cxx | 113 +- Source/CPack/cmCPackDebGenerator.h | 34 +- Source/CPack/cmCPackDragNDropGenerator.cxx | 21 +- Source/CPack/cmCPackDragNDropGenerator.h | 24 +- Source/CPack/cmCPackGenerator.cxx | 87 +- Source/CPack/cmCPackGenerator.h | 36 +- Source/CPack/cmCPackGeneratorFactory.cxx | 26 +- Source/CPack/cmCPackGeneratorFactory.h | 25 +- Source/CPack/cmCPackLog.cxx | 24 +- Source/CPack/cmCPackLog.h | 23 +- Source/CPack/cmCPackNSISGenerator.cxx | 88 +- Source/CPack/cmCPackNSISGenerator.h | 51 +- Source/CPack/cmCPackOSXX11Generator.cxx | 47 +- Source/CPack/cmCPackOSXX11Generator.h | 22 +- Source/CPack/cmCPackPKGGenerator.cxx | 357 ++ Source/CPack/cmCPackPKGGenerator.h | 86 + Source/CPack/cmCPackPackageMakerGenerator.cxx | 409 +- Source/CPack/cmCPackPackageMakerGenerator.h | 88 +- Source/CPack/cmCPackProductBuildGenerator.cxx | 222 + Source/CPack/cmCPackProductBuildGenerator.h | 48 + Source/CPack/cmCPackRPMGenerator.cxx | 44 +- Source/CPack/cmCPackRPMGenerator.h | 33 +- Source/CPack/cmCPackSTGZGenerator.cxx | 22 +- Source/CPack/cmCPackSTGZGenerator.h | 30 +- Source/CPack/cmCPackTGZGenerator.cxx | 17 +- Source/CPack/cmCPackTGZGenerator.h | 22 +- Source/CPack/cmCPackTXZGenerator.cxx | 17 +- Source/CPack/cmCPackTXZGenerator.h | 22 +- Source/CPack/cmCPackTarBZip2Generator.cxx | 17 +- Source/CPack/cmCPackTarBZip2Generator.h | 22 +- Source/CPack/cmCPackTarCompressGenerator.cxx | 17 +- Source/CPack/cmCPackTarCompressGenerator.h | 24 +- Source/CPack/cmCPackZIPGenerator.cxx | 17 +- Source/CPack/cmCPackZIPGenerator.h | 22 +- Source/CPack/cpack.cxx | 55 +- Source/CPack/cygwin.readme | 69 - Source/CTest/cmCTestBZR.cxx | 72 +- Source/CTest/cmCTestBZR.h | 39 +- Source/CTest/cmCTestBatchTestHandler.cxx | 26 +- Source/CTest/cmCTestBatchTestHandler.h | 27 +- Source/CTest/cmCTestBuildAndTestHandler.cxx | 41 +- Source/CTest/cmCTestBuildAndTestHandler.h | 33 +- Source/CTest/cmCTestBuildCommand.cxx | 36 +- Source/CTest/cmCTestBuildCommand.h | 36 +- Source/CTest/cmCTestBuildHandler.cxx | 61 +- Source/CTest/cmCTestBuildHandler.h | 31 +- Source/CTest/cmCTestCVS.cxx | 29 +- Source/CTest/cmCTestCVS.h | 34 +- Source/CTest/cmCTestCommand.h | 17 +- Source/CTest/cmCTestConfigureCommand.cxx | 37 +- Source/CTest/cmCTestConfigureCommand.h | 27 +- Source/CTest/cmCTestConfigureHandler.cxx | 20 +- Source/CTest/cmCTestConfigureHandler.h | 23 +- Source/CTest/cmCTestCoverageCommand.cxx | 17 +- Source/CTest/cmCTestCoverageCommand.h | 32 +- Source/CTest/cmCTestCoverageHandler.cxx | 80 +- Source/CTest/cmCTestCoverageHandler.h | 32 +- Source/CTest/cmCTestCurl.cxx | 64 +- Source/CTest/cmCTestCurl.h | 19 +- .../cmCTestEmptyBinaryDirectoryCommand.cxx | 19 +- .../cmCTestEmptyBinaryDirectoryCommand.h | 30 +- Source/CTest/cmCTestGIT.cxx | 66 +- Source/CTest/cmCTestGIT.h | 41 +- Source/CTest/cmCTestGenericHandler.cxx | 22 +- Source/CTest/cmCTestGenericHandler.h | 28 +- Source/CTest/cmCTestGlobalVC.cxx | 16 +- Source/CTest/cmCTestGlobalVC.h | 26 +- Source/CTest/cmCTestHG.cxx | 47 +- Source/CTest/cmCTestHG.h | 37 +- Source/CTest/cmCTestHandlerCommand.cxx | 139 +- Source/CTest/cmCTestHandlerCommand.h | 26 +- Source/CTest/cmCTestLaunch.cxx | 55 +- Source/CTest/cmCTestLaunch.h | 18 +- Source/CTest/cmCTestMemCheckCommand.cxx | 13 +- Source/CTest/cmCTestMemCheckCommand.h | 25 +- Source/CTest/cmCTestMemCheckHandler.cxx | 121 +- Source/CTest/cmCTestMemCheckHandler.h | 31 +- Source/CTest/cmCTestMultiProcessHandler.cxx | 65 +- Source/CTest/cmCTestMultiProcessHandler.h | 25 +- Source/CTest/cmCTestP4.cxx | 52 +- Source/CTest/cmCTestP4.h | 38 +- .../CTest/cmCTestReadCustomFilesCommand.cxx | 19 +- Source/CTest/cmCTestReadCustomFilesCommand.h | 30 +- Source/CTest/cmCTestRunScriptCommand.cxx | 22 +- Source/CTest/cmCTestRunScriptCommand.h | 30 +- Source/CTest/cmCTestRunTest.cxx | 66 +- Source/CTest/cmCTestRunTest.h | 27 +- Source/CTest/cmCTestSVN.cxx | 70 +- Source/CTest/cmCTestSVN.h | 43 +- Source/CTest/cmCTestScriptHandler.cxx | 96 +- Source/CTest/cmCTestScriptHandler.h | 31 +- Source/CTest/cmCTestSleepCommand.cxx | 22 +- Source/CTest/cmCTestSleepCommand.h | 30 +- Source/CTest/cmCTestStartCommand.cxx | 31 +- Source/CTest/cmCTestStartCommand.h | 31 +- Source/CTest/cmCTestSubmitCommand.cxx | 24 +- Source/CTest/cmCTestSubmitCommand.h | 39 +- Source/CTest/cmCTestSubmitHandler.cxx | 95 +- Source/CTest/cmCTestSubmitHandler.h | 29 +- Source/CTest/cmCTestTestCommand.cxx | 21 +- Source/CTest/cmCTestTestCommand.h | 27 +- Source/CTest/cmCTestTestHandler.cxx | 313 +- Source/CTest/cmCTestTestHandler.h | 42 +- Source/CTest/cmCTestUpdateCommand.cxx | 21 +- Source/CTest/cmCTestUpdateCommand.h | 27 +- Source/CTest/cmCTestUpdateHandler.cxx | 45 +- Source/CTest/cmCTestUpdateHandler.h | 25 +- Source/CTest/cmCTestUploadCommand.cxx | 41 +- Source/CTest/cmCTestUploadCommand.h | 33 +- Source/CTest/cmCTestUploadHandler.cxx | 17 +- Source/CTest/cmCTestUploadHandler.h | 23 +- Source/CTest/cmCTestVC.cxx | 21 +- Source/CTest/cmCTestVC.h | 27 +- Source/CTest/cmParseBlanketJSCoverage.cxx | 21 +- Source/CTest/cmParseBlanketJSCoverage.h | 23 +- Source/CTest/cmParseCacheCoverage.cxx | 6 +- Source/CTest/cmParseCacheCoverage.h | 24 +- Source/CTest/cmParseCoberturaCoverage.cxx | 15 +- Source/CTest/cmParseCoberturaCoverage.h | 23 +- Source/CTest/cmParseDelphiCoverage.cxx | 5 +- Source/CTest/cmParseDelphiCoverage.h | 23 +- Source/CTest/cmParseGTMCoverage.cxx | 6 +- Source/CTest/cmParseGTMCoverage.h | 23 +- Source/CTest/cmParseJacocoCoverage.cxx | 15 +- Source/CTest/cmParseJacocoCoverage.h | 24 +- Source/CTest/cmParseMumpsCoverage.cxx | 32 +- Source/CTest/cmParseMumpsCoverage.h | 22 +- Source/CTest/cmParsePHPCoverage.cxx | 10 +- Source/CTest/cmParsePHPCoverage.h | 22 +- Source/CTest/cmProcess.cxx | 28 +- Source/CTest/cmProcess.h | 17 +- Source/Checks/cm_cxx11_unordered_map.cmake | 25 - Source/Checks/cm_cxx_auto_ptr.cxx | 18 + Source/Checks/cm_cxx_features.cmake | 45 + Source/Checks/cm_cxx_make_unique.cxx | 6 + Source/Checks/cm_cxx_nullptr.cxx | 14 + Source/Checks/cm_cxx_override.cxx | 24 + Source/Checks/cm_cxx_unique_ptr.cxx | 6 + ...dered_map.cpp => cm_cxx_unordered_map.cxx} | 0 Source/Checks/cm_cxx_unordered_set.cxx | 7 + Source/CursesDialog/CMakeLists.txt | 15 +- Source/CursesDialog/ccmake.cxx | 67 +- Source/CursesDialog/cmCursesBoolWidget.cxx | 33 +- Source/CursesDialog/cmCursesBoolWidget.h | 18 +- .../cmCursesCacheEntryComposite.cxx | 30 +- .../cmCursesCacheEntryComposite.h | 21 +- Source/CursesDialog/cmCursesDummyWidget.cxx | 19 +- Source/CursesDialog/cmCursesDummyWidget.h | 18 +- .../CursesDialog/cmCursesFilePathWidget.cxx | 16 +- Source/CursesDialog/cmCursesFilePathWidget.h | 15 +- Source/CursesDialog/cmCursesForm.cxx | 19 +- Source/CursesDialog/cmCursesForm.h | 15 +- Source/CursesDialog/cmCursesLabelWidget.cxx | 18 +- Source/CursesDialog/cmCursesLabelWidget.h | 22 +- .../CursesDialog/cmCursesLongMessageForm.cxx | 37 +- Source/CursesDialog/cmCursesLongMessageForm.h | 27 +- Source/CursesDialog/cmCursesMainForm.cxx | 92 +- Source/CursesDialog/cmCursesMainForm.h | 33 +- Source/CursesDialog/cmCursesOptionsWidget.cxx | 64 +- Source/CursesDialog/cmCursesOptionsWidget.h | 21 +- Source/CursesDialog/cmCursesPathWidget.cxx | 17 +- Source/CursesDialog/cmCursesPathWidget.h | 26 +- .../CursesDialog/cmCursesStandardIncludes.h | 19 +- Source/CursesDialog/cmCursesStringWidget.cxx | 52 +- Source/CursesDialog/cmCursesStringWidget.h | 24 +- Source/CursesDialog/cmCursesWidget.cxx | 17 +- Source/CursesDialog/cmCursesWidget.h | 18 +- Source/CursesDialog/form/CMakeLists.txt | 14 +- Source/CursesDialog/form/cmFormConfigure.h.in | 14 +- Source/CursesDialog/form/form.h | 4 - Source/Modules/FindJsonCpp.cmake | 16 +- Source/Modules/FindLibUV.cmake | 121 + Source/QtDialog/AddCacheEntry.cxx | 17 +- Source/QtDialog/AddCacheEntry.h | 14 +- Source/QtDialog/CMakeLists.txt | 25 +- Source/QtDialog/CMakeSetup.cxx | 37 +- Source/QtDialog/CMakeSetup64.png | Bin 0 -> 7213 bytes Source/QtDialog/CMakeSetupDialog.cxx | 64 +- Source/QtDialog/CMakeSetupDialog.h | 16 +- Source/QtDialog/CMakeSetupDialog.ui | 7 + Source/QtDialog/Compilers.h | 4 +- Source/QtDialog/FirstConfigure.cxx | 21 +- Source/QtDialog/QCMake.cxx | 14 +- Source/QtDialog/QCMake.h | 18 +- Source/QtDialog/QCMakeCacheView.cxx | 47 +- Source/QtDialog/QCMakeCacheView.h | 14 +- Source/QtDialog/QCMakeWidgets.cxx | 20 +- Source/QtDialog/QCMakeWidgets.h | 21 +- Source/QtDialog/RegexExplorer.cxx | 14 +- Source/QtDialog/RegexExplorer.h | 14 +- Source/QtDialog/WarningMessagesDialog.cxx | 14 +- Source/QtDialog/WarningMessagesDialog.h | 14 +- .../QtIFW/CMake.DeveloperReference.HTML.qs.in | 21 + Source/QtIFW/cmake.org.html | 2 +- Source/QtIFW/installscript.qs.in | 3 +- Source/bindexplib.cxx | 17 +- Source/bindexplib.h | 16 +- Source/cmAddCompileOptionsCommand.cxx | 15 +- Source/cmAddCompileOptionsCommand.h | 21 +- Source/cmAddCustomCommandCommand.cxx | 38 +- Source/cmAddCustomCommandCommand.h | 21 +- Source/cmAddCustomTargetCommand.cxx | 17 +- Source/cmAddCustomTargetCommand.h | 21 +- Source/cmAddDefinitionsCommand.cxx | 15 +- Source/cmAddDefinitionsCommand.h | 21 +- Source/cmAddDependenciesCommand.cxx | 13 +- Source/cmAddDependenciesCommand.h | 21 +- Source/cmAddExecutableCommand.cxx | 13 +- Source/cmAddExecutableCommand.h | 21 +- Source/cmAddLibraryCommand.cxx | 15 +- Source/cmAddLibraryCommand.h | 21 +- Source/cmAddSubDirectoryCommand.cxx | 15 +- Source/cmAddSubDirectoryCommand.h | 21 +- Source/cmAddTestCommand.cxx | 13 +- Source/cmAddTestCommand.h | 21 +- Source/cmAlgorithms.h | 15 +- Source/cmArchiveWrite.cxx | 34 +- Source/cmArchiveWrite.h | 31 +- Source/cmAuxSourceDirectoryCommand.cxx | 25 +- Source/cmAuxSourceDirectoryCommand.h | 21 +- Source/cmBase32.cxx | 99 + Source/cmBase32.h | 33 + Source/cmBootstrapCommands1.cxx | 13 +- Source/cmBootstrapCommands2.cxx | 13 +- Source/cmBreakCommand.cxx | 15 +- Source/cmBreakCommand.h | 23 +- Source/cmBuildCommand.cxx | 42 +- Source/cmBuildCommand.h | 21 +- Source/cmBuildNameCommand.cxx | 15 +- Source/cmBuildNameCommand.h | 23 +- Source/cmCLocaleEnvironmentScope.cxx | 24 +- Source/cmCLocaleEnvironmentScope.h | 19 +- .../cmCMakeHostSystemInformationCommand.cxx | 19 +- Source/cmCMakeHostSystemInformationCommand.h | 23 +- Source/cmCMakeMinimumRequired.cxx | 13 +- Source/cmCMakeMinimumRequired.h | 23 +- Source/cmCMakePolicyCommand.cxx | 30 +- Source/cmCMakePolicyCommand.h | 23 +- Source/cmCPackPropertiesGenerator.cxx | 7 +- Source/cmCPackPropertiesGenerator.h | 26 +- Source/cmCPluginAPI.cxx | 48 +- Source/cmCPluginAPI.h | 13 +- Source/cmCTest.cxx | 447 +- Source/cmCTest.h | 221 +- Source/cmCacheManager.cxx | 45 +- Source/cmCacheManager.h | 33 +- Source/cmCallVisualStudioMacro.cxx | 17 +- Source/cmCallVisualStudioMacro.h | 15 +- Source/cmCommand.h | 17 +- Source/cmCommandArgumentLexer.cxx | 26 +- Source/cmCommandArgumentLexer.h | 13 +- Source/cmCommandArgumentLexer.in.l | 13 +- Source/cmCommandArgumentParser.cxx | 26 +- Source/cmCommandArgumentParser.y | 13 +- Source/cmCommandArgumentParserHelper.cxx | 53 +- Source/cmCommandArgumentParserHelper.h | 18 +- Source/cmCommandArgumentParserTokens.h | 13 +- Source/cmCommandArgumentsHelper.cxx | 51 +- Source/cmCommandArgumentsHelper.h | 41 +- Source/cmCommands.cxx.in | 13 +- Source/cmCommands.h | 15 +- Source/cmCommandsForBootstrap.cxx | 13 +- Source/cmCommonTargetGenerator.cxx | 226 +- Source/cmCommonTargetGenerator.h | 41 +- Source/cmComputeComponentGraph.cxx | 13 +- Source/cmComputeComponentGraph.h | 16 +- Source/cmComputeLinkDepends.cxx | 28 +- Source/cmComputeLinkDepends.h | 24 +- Source/cmComputeLinkInformation.cxx | 46 +- Source/cmComputeLinkInformation.h | 28 +- Source/cmComputeTargetDepends.cxx | 28 +- Source/cmComputeTargetDepends.h | 22 +- Source/cmConditionEvaluator.cxx | 73 +- Source/cmConditionEvaluator.h | 13 +- Source/cmConfigure.cmake.h.in | 48 +- Source/cmConfigureFileCommand.cxx | 13 +- Source/cmConfigureFileCommand.h | 23 +- Source/cmContinueCommand.cxx | 13 +- Source/cmContinueCommand.h | 23 +- Source/cmCoreTryCompile.cxx | 55 +- Source/cmCoreTryCompile.h | 13 +- Source/cmCreateTestSourceList.cxx | 13 +- Source/cmCreateTestSourceList.h | 21 +- Source/cmCryptoHash.cxx | 160 +- Source/cmCryptoHash.h | 69 +- Source/cmCurl.cxx | 26 +- Source/cmCurl.h | 20 +- Source/cmCustomCommand.cxx | 29 +- Source/cmCustomCommand.h | 26 +- Source/cmCustomCommandGenerator.cxx | 26 +- Source/cmCustomCommandGenerator.h | 20 +- Source/cmCustomCommandLines.h | 29 + Source/cmDefinePropertyCommand.cxx | 15 +- Source/cmDefinePropertyCommand.h | 21 +- Source/cmDefinitions.cxx | 17 +- Source/cmDefinitions.h | 26 +- Source/cmDepends.cxx | 37 +- Source/cmDepends.h | 24 +- Source/cmDependsC.cxx | 60 +- Source/cmDependsC.h | 31 +- Source/cmDependsFortran.cxx | 116 +- Source/cmDependsFortran.h | 33 +- Source/cmDependsJava.cxx | 24 +- Source/cmDependsJava.h | 33 +- Source/cmDependsJavaLexer.cxx | 15 +- Source/cmDependsJavaLexer.h | 13 +- Source/cmDependsJavaLexer.in.l | 13 +- Source/cmDependsJavaParser.cxx | 13 +- Source/cmDependsJavaParser.y | 13 +- Source/cmDependsJavaParserHelper.cxx | 69 +- Source/cmDependsJavaParserHelper.h | 35 +- Source/cmDocumentation.cxx | 45 +- Source/cmDocumentation.h | 29 +- Source/cmDocumentationEntry.h | 36 + Source/cmDocumentationFormatter.cxx | 19 +- Source/cmDocumentationFormatter.h | 17 +- Source/cmDocumentationSection.cxx | 13 +- Source/cmDocumentationSection.h | 20 +- Source/cmDynamicLoader.cxx | 28 +- Source/cmDynamicLoader.h | 15 +- Source/cmELF.cxx | 112 +- Source/cmELF.h | 18 +- Source/cmElseCommand.cxx | 13 +- Source/cmElseCommand.h | 23 +- Source/cmElseIfCommand.cxx | 13 +- Source/cmElseIfCommand.h | 23 +- Source/cmEnableLanguageCommand.cxx | 15 +- Source/cmEnableLanguageCommand.h | 21 +- Source/cmEnableTestingCommand.cxx | 13 +- Source/cmEnableTestingCommand.h | 21 +- Source/cmEndForEachCommand.cxx | 13 +- Source/cmEndForEachCommand.h | 26 +- Source/cmEndFunctionCommand.cxx | 13 +- Source/cmEndFunctionCommand.h | 26 +- Source/cmEndIfCommand.cxx | 13 +- Source/cmEndIfCommand.h | 23 +- Source/cmEndMacroCommand.cxx | 13 +- Source/cmEndMacroCommand.h | 26 +- Source/cmEndWhileCommand.cxx | 13 +- Source/cmEndWhileCommand.h | 26 +- Source/cmExecProgramCommand.cxx | 23 +- Source/cmExecProgramCommand.h | 26 +- Source/cmExecuteProcessCommand.cxx | 24 +- Source/cmExecuteProcessCommand.h | 23 +- Source/cmExecutionStatus.h | 15 +- Source/cmExpandedCommandArgument.cxx | 14 +- Source/cmExpandedCommandArgument.h | 15 +- Source/cmExportBuildAndroidMKGenerator.cxx | 196 + Source/cmExportBuildAndroidMKGenerator.h | 60 + Source/cmExportBuildFileGenerator.cxx | 38 +- Source/cmExportBuildFileGenerator.h | 39 +- Source/cmExportCommand.cxx | 45 +- Source/cmExportCommand.h | 22 +- Source/cmExportFileGenerator.cxx | 83 +- Source/cmExportFileGenerator.h | 66 +- Source/cmExportInstallAndroidMKGenerator.cxx | 137 + Source/cmExportInstallAndroidMKGenerator.h | 64 + Source/cmExportInstallFileGenerator.cxx | 175 +- Source/cmExportInstallFileGenerator.h | 53 +- Source/cmExportLibraryDependenciesCommand.cxx | 27 +- Source/cmExportLibraryDependenciesCommand.h | 31 +- Source/cmExportSet.cxx | 14 +- Source/cmExportSet.h | 20 +- Source/cmExportSetMap.cxx | 16 +- Source/cmExportSetMap.h | 18 +- Source/cmExportTryCompileFileGenerator.cxx | 35 +- Source/cmExportTryCompileFileGenerator.h | 39 +- Source/cmExprLexer.cxx | 15 +- Source/cmExprLexer.h | 13 +- Source/cmExprLexer.in.l | 13 +- Source/cmExprParser.cxx | 13 +- Source/cmExprParser.y | 13 +- Source/cmExprParserHelper.cxx | 26 +- Source/cmExprParserHelper.h | 21 +- Source/cmExternalMakefileProjectGenerator.cxx | 68 +- Source/cmExternalMakefileProjectGenerator.h | 74 +- Source/cmExtraCodeBlocksGenerator.cxx | 138 +- Source/cmExtraCodeBlocksGenerator.h | 36 +- Source/cmExtraCodeLiteGenerator.cxx | 393 +- Source/cmExtraCodeLiteGenerator.h | 59 +- Source/cmExtraEclipseCDT4Generator.cxx | 93 +- Source/cmExtraEclipseCDT4Generator.h | 47 +- Source/cmExtraKateGenerator.cxx | 56 +- Source/cmExtraKateGenerator.h | 37 +- Source/cmExtraSublimeTextGenerator.cxx | 100 +- Source/cmExtraSublimeTextGenerator.h | 42 +- Source/cmFLTKWrapUICommand.cxx | 17 +- Source/cmFLTKWrapUICommand.h | 25 +- Source/cmFileCommand.cxx | 225 +- Source/cmFileCommand.h | 23 +- Source/cmFileLock.cxx | 14 +- Source/cmFileLock.h | 18 +- Source/cmFileLockPool.cxx | 19 +- Source/cmFileLockPool.h | 18 +- Source/cmFileLockResult.cxx | 15 +- Source/cmFileLockResult.h | 18 +- Source/cmFileLockUnix.cxx | 23 +- Source/cmFileLockWin32.cxx | 14 +- Source/cmFileMonitor.cxx | 389 ++ Source/cmFileMonitor.h | 28 + Source/cmFilePathUuid.cxx | 118 + Source/cmFilePathUuid.h | 69 + Source/cmFileTimeComparison.cxx | 59 +- Source/cmFileTimeComparison.h | 15 +- Source/cmFindBase.cxx | 16 +- Source/cmFindBase.h | 13 +- Source/cmFindCommon.cxx | 17 +- Source/cmFindCommon.h | 15 +- Source/cmFindFileCommand.cxx | 13 +- Source/cmFindFileCommand.h | 17 +- Source/cmFindLibraryCommand.cxx | 28 +- Source/cmFindLibraryCommand.h | 23 +- Source/cmFindPackageCommand.cxx | 268 +- Source/cmFindPackageCommand.h | 65 +- Source/cmFindPathCommand.cxx | 18 +- Source/cmFindPathCommand.h | 23 +- Source/cmFindProgramCommand.cxx | 16 +- Source/cmFindProgramCommand.h | 23 +- Source/cmForEachCommand.cxx | 27 +- Source/cmForEachCommand.h | 31 +- Source/cmFortranLexer.cxx | 2357 ++++---- Source/cmFortranLexer.h | 147 +- Source/cmFortranLexer.in.l | 43 +- Source/cmFortranParser.cxx | 668 +-- Source/cmFortranParser.h | 21 +- Source/cmFortranParser.y | 236 +- Source/cmFortranParserImpl.cxx | 98 +- Source/cmFortranParserTokens.h | 52 +- Source/cmFunctionBlocker.h | 15 +- Source/cmFunctionCommand.cxx | 37 +- Source/cmFunctionCommand.h | 31 +- Source/cmGeneratedFileStream.cxx | 21 +- Source/cmGeneratedFileStream.h | 18 +- Source/cmGeneratorExpression.cxx | 30 +- Source/cmGeneratorExpression.h | 47 +- Source/cmGeneratorExpressionContext.cxx | 16 +- Source/cmGeneratorExpressionContext.h | 13 +- Source/cmGeneratorExpressionDAGChecker.cxx | 24 +- Source/cmGeneratorExpressionDAGChecker.h | 26 +- .../cmGeneratorExpressionEvaluationFile.cxx | 46 +- Source/cmGeneratorExpressionEvaluationFile.h | 29 +- Source/cmGeneratorExpressionEvaluator.cxx | 53 +- Source/cmGeneratorExpressionEvaluator.h | 35 +- Source/cmGeneratorExpressionLexer.cxx | 13 +- Source/cmGeneratorExpressionLexer.h | 17 +- Source/cmGeneratorExpressionNode.cxx | 355 +- Source/cmGeneratorExpressionNode.h | 33 +- Source/cmGeneratorExpressionParser.cxx | 17 +- Source/cmGeneratorExpressionParser.h | 18 +- Source/cmGeneratorTarget.cxx | 466 +- Source/cmGeneratorTarget.h | 41 +- Source/cmGetCMakePropertyCommand.cxx | 15 +- Source/cmGetCMakePropertyCommand.h | 23 +- Source/cmGetDirectoryPropertyCommand.cxx | 15 +- Source/cmGetDirectoryPropertyCommand.h | 23 +- Source/cmGetFilenameComponentCommand.cxx | 13 +- Source/cmGetFilenameComponentCommand.h | 23 +- Source/cmGetPropertyCommand.cxx | 58 +- Source/cmGetPropertyCommand.h | 23 +- Source/cmGetSourceFilePropertyCommand.cxx | 15 +- Source/cmGetSourceFilePropertyCommand.h | 24 +- Source/cmGetTargetPropertyCommand.cxx | 37 +- Source/cmGetTargetPropertyCommand.h | 21 +- Source/cmGetTestPropertyCommand.cxx | 15 +- Source/cmGetTestPropertyCommand.h | 21 +- Source/cmGhsMultiGpj.cxx | 13 +- Source/cmGhsMultiGpj.h | 15 +- Source/cmGhsMultiTargetGenerator.cxx | 16 +- Source/cmGhsMultiTargetGenerator.h | 17 +- Source/cmGlobalBorlandMakefileGenerator.cxx | 13 +- Source/cmGlobalBorlandMakefileGenerator.h | 13 +- Source/cmGlobalCommonGenerator.cxx | 15 +- Source/cmGlobalCommonGenerator.h | 19 +- Source/cmGlobalGenerator.cxx | 393 +- Source/cmGlobalGenerator.h | 113 +- Source/cmGlobalGeneratorFactory.h | 39 +- Source/cmGlobalGhsMultiGenerator.cxx | 14 +- Source/cmGlobalGhsMultiGenerator.h | 19 +- Source/cmGlobalJOMMakefileGenerator.cxx | 13 +- Source/cmGlobalJOMMakefileGenerator.h | 13 +- Source/cmGlobalKdevelopGenerator.cxx | 72 +- Source/cmGlobalKdevelopGenerator.h | 34 +- Source/cmGlobalMSYSMakefileGenerator.cxx | 13 +- Source/cmGlobalMSYSMakefileGenerator.h | 13 +- Source/cmGlobalMinGWMakefileGenerator.cxx | 13 +- Source/cmGlobalMinGWMakefileGenerator.h | 13 +- Source/cmGlobalNMakeMakefileGenerator.cxx | 13 +- Source/cmGlobalNMakeMakefileGenerator.h | 13 +- Source/cmGlobalNinjaGenerator.cxx | 705 ++- Source/cmGlobalNinjaGenerator.h | 134 +- Source/cmGlobalUnixMakefileGenerator3.cxx | 72 +- Source/cmGlobalUnixMakefileGenerator3.h | 115 +- Source/cmGlobalVisualStudio10Generator.cxx | 58 +- Source/cmGlobalVisualStudio10Generator.h | 13 +- Source/cmGlobalVisualStudio11Generator.cxx | 24 +- Source/cmGlobalVisualStudio11Generator.h | 13 +- Source/cmGlobalVisualStudio12Generator.cxx | 24 +- Source/cmGlobalVisualStudio12Generator.h | 13 +- Source/cmGlobalVisualStudio14Generator.cxx | 24 +- Source/cmGlobalVisualStudio14Generator.h | 13 +- Source/cmGlobalVisualStudio15Generator.cxx | 142 + Source/cmGlobalVisualStudio15Generator.h | 37 + Source/cmGlobalVisualStudio71Generator.cxx | 14 +- Source/cmGlobalVisualStudio71Generator.h | 13 +- Source/cmGlobalVisualStudio7Generator.cxx | 50 +- Source/cmGlobalVisualStudio7Generator.h | 19 +- Source/cmGlobalVisualStudio8Generator.cxx | 25 +- Source/cmGlobalVisualStudio8Generator.h | 13 +- Source/cmGlobalVisualStudio9Generator.cxx | 24 +- Source/cmGlobalVisualStudio9Generator.h | 13 +- Source/cmGlobalVisualStudioGenerator.cxx | 20 +- Source/cmGlobalVisualStudioGenerator.h | 18 +- Source/cmGlobalWatcomWMakeGenerator.cxx | 17 +- Source/cmGlobalWatcomWMakeGenerator.h | 33 +- Source/cmGlobalXCodeGenerator.cxx | 221 +- Source/cmGlobalXCodeGenerator.h | 19 +- Source/cmGraphAdjacencyList.h | 15 +- Source/cmGraphVizWriter.cxx | 64 +- Source/cmGraphVizWriter.h | 25 +- Source/cmHexFileConverter.cxx | 28 +- Source/cmHexFileConverter.h | 15 +- Source/cmIDEFlagTable.h | 13 +- Source/cmIDEOptions.cxx | 13 +- Source/cmIDEOptions.h | 15 +- Source/cmIfCommand.cxx | 25 +- Source/cmIfCommand.h | 34 +- Source/cmIncludeCommand.cxx | 17 +- Source/cmIncludeCommand.h | 23 +- Source/cmIncludeDirectoryCommand.cxx | 15 +- Source/cmIncludeDirectoryCommand.h | 21 +- Source/cmIncludeExternalMSProjectCommand.cxx | 13 +- Source/cmIncludeExternalMSProjectCommand.h | 27 +- Source/cmIncludeRegularExpressionCommand.cxx | 15 +- Source/cmIncludeRegularExpressionCommand.h | 27 +- Source/cmInstallCommand.cxx | 186 +- Source/cmInstallCommand.h | 22 +- Source/cmInstallCommandArguments.cxx | 35 +- Source/cmInstallCommandArguments.h | 16 +- Source/cmInstallDirectoryGenerator.cxx | 33 +- Source/cmInstallDirectoryGenerator.h | 33 +- Source/cmInstallExportAndroidMKGenerator.cxx | 140 + Source/cmInstallExportAndroidMKGenerator.h | 37 + Source/cmInstallExportGenerator.cxx | 83 +- Source/cmInstallExportGenerator.h | 41 +- Source/cmInstallFilesCommand.cxx | 23 +- Source/cmInstallFilesCommand.h | 25 +- Source/cmInstallFilesGenerator.cxx | 27 +- Source/cmInstallFilesGenerator.h | 34 +- Source/cmInstallGenerator.cxx | 15 +- Source/cmInstallGenerator.h | 36 +- Source/cmInstallProgramsCommand.cxx | 23 +- Source/cmInstallProgramsCommand.h | 25 +- Source/cmInstallScriptGenerator.cxx | 18 +- Source/cmInstallScriptGenerator.h | 22 +- Source/cmInstallTargetGenerator.cxx | 44 +- Source/cmInstallTargetGenerator.h | 32 +- Source/cmInstallTargetsCommand.cxx | 30 +- Source/cmInstallTargetsCommand.h | 21 +- Source/cmInstallType.h | 13 +- Source/cmInstalledFile.cxx | 19 +- Source/cmInstalledFile.h | 22 +- Source/cmLinkDirectoriesCommand.cxx | 15 +- Source/cmLinkDirectoriesCommand.h | 21 +- Source/cmLinkItem.h | 18 +- Source/cmLinkLibrariesCommand.cxx | 15 +- Source/cmLinkLibrariesCommand.h | 21 +- Source/cmLinkedTree.h | 21 +- Source/cmListCommand.cxx | 13 +- Source/cmListCommand.h | 23 +- Source/cmListFileCache.cxx | 223 +- Source/cmListFileCache.h | 25 +- Source/cmListFileLexer.c | 13 +- Source/cmListFileLexer.h | 13 +- Source/cmListFileLexer.in.l | 13 +- Source/cmLoadCacheCommand.cxx | 15 +- Source/cmLoadCacheCommand.h | 21 +- Source/cmLoadCommandCommand.cxx | 39 +- Source/cmLoadCommandCommand.h | 21 +- Source/cmLocalCommonGenerator.cxx | 70 +- Source/cmLocalCommonGenerator.h | 34 +- Source/cmLocalGenerator.cxx | 285 +- Source/cmLocalGenerator.h | 72 +- Source/cmLocalGhsMultiGenerator.cxx | 13 +- Source/cmLocalGhsMultiGenerator.h | 13 +- Source/cmLocalNinjaGenerator.cxx | 82 +- Source/cmLocalNinjaGenerator.h | 54 +- Source/cmLocalUnixMakefileGenerator3.cxx | 267 +- Source/cmLocalUnixMakefileGenerator3.h | 89 +- Source/cmLocalVisualStudio10Generator.cxx | 15 +- Source/cmLocalVisualStudio10Generator.h | 13 +- Source/cmLocalVisualStudio7Generator.cxx | 59 +- Source/cmLocalVisualStudio7Generator.h | 13 +- Source/cmLocalVisualStudioGenerator.cxx | 30 +- Source/cmLocalVisualStudioGenerator.h | 20 +- Source/cmLocalXCodeGenerator.cxx | 14 +- Source/cmLocalXCodeGenerator.h | 13 +- Source/cmLocale.h | 17 +- Source/cmMachO.cxx | 13 +- Source/cmMachO.h | 13 +- Source/cmMacroCommand.cxx | 37 +- Source/cmMacroCommand.h | 31 +- Source/cmMakeDirectoryCommand.cxx | 13 +- Source/cmMakeDirectoryCommand.h | 23 +- Source/cmMakefile.cxx | 547 +- Source/cmMakefile.h | 135 +- .../cmMakefileExecutableTargetGenerator.cxx | 154 +- Source/cmMakefileExecutableTargetGenerator.h | 21 +- Source/cmMakefileLibraryTargetGenerator.cxx | 224 +- Source/cmMakefileLibraryTargetGenerator.h | 23 +- Source/cmMakefileTargetGenerator.cxx | 403 +- Source/cmMakefileTargetGenerator.h | 42 +- Source/cmMakefileUtilityTargetGenerator.cxx | 36 +- Source/cmMakefileUtilityTargetGenerator.h | 21 +- Source/cmMarkAsAdvancedCommand.cxx | 17 +- Source/cmMarkAsAdvancedCommand.h | 23 +- Source/cmMathCommand.cxx | 15 +- Source/cmMathCommand.h | 23 +- Source/cmMessageCommand.cxx | 33 +- Source/cmMessageCommand.h | 23 +- Source/cmMessenger.cxx | 203 + Source/cmMessenger.h | 39 + Source/cmNewLineStyle.cxx | 30 +- Source/cmNewLineStyle.h | 18 +- Source/cmNinjaNormalTargetGenerator.cxx | 120 +- Source/cmNinjaNormalTargetGenerator.h | 27 +- Source/cmNinjaTargetGenerator.cxx | 431 +- Source/cmNinjaTargetGenerator.h | 50 +- Source/cmNinjaTypes.h | 16 +- Source/cmNinjaUtilityTargetGenerator.cxx | 56 +- Source/cmNinjaUtilityTargetGenerator.h | 24 +- Source/cmOSXBundleGenerator.cxx | 39 +- Source/cmOSXBundleGenerator.h | 24 +- Source/cmObject.h | 15 +- Source/cmOptionCommand.cxx | 13 +- Source/cmOptionCommand.h | 23 +- Source/cmOrderDirectories.cxx | 27 +- Source/cmOrderDirectories.h | 26 +- Source/cmOutputConverter.cxx | 426 +- Source/cmOutputConverter.h | 100 +- Source/cmOutputRequiredFilesCommand.cxx | 42 +- Source/cmOutputRequiredFilesCommand.h | 21 +- Source/cmParseArgumentsCommand.cxx | 97 +- Source/cmParseArgumentsCommand.h | 24 +- Source/cmPathLabel.cxx | 14 +- Source/cmPathLabel.h | 15 +- Source/cmPolicies.cxx | 34 +- Source/cmPolicies.h | 22 +- Source/cmProcessTools.cxx | 28 +- Source/cmProcessTools.h | 27 +- Source/cmProjectCommand.cxx | 15 +- Source/cmProjectCommand.h | 21 +- Source/cmProperty.cxx | 17 +- Source/cmProperty.h | 17 +- Source/cmPropertyDefinition.cxx | 15 +- Source/cmPropertyDefinition.h | 17 +- Source/cmPropertyDefinitionMap.cxx | 23 +- Source/cmPropertyDefinitionMap.h | 19 +- Source/cmPropertyMap.cxx | 33 +- Source/cmPropertyMap.h | 21 +- Source/cmQTWrapCPPCommand.cxx | 15 +- Source/cmQTWrapCPPCommand.h | 21 +- Source/cmQTWrapUICommand.cxx | 17 +- Source/cmQTWrapUICommand.h | 21 +- Source/cmQtAutoGeneratorInitializer.cxx | 214 +- Source/cmQtAutoGeneratorInitializer.h | 22 +- Source/cmQtAutoGenerators.cxx | 199 +- Source/cmQtAutoGenerators.h | 24 +- Source/cmRST.cxx | 18 +- Source/cmRST.h | 20 +- Source/cmRemoveCommand.cxx | 15 +- Source/cmRemoveCommand.h | 23 +- Source/cmRemoveDefinitionsCommand.cxx | 15 +- Source/cmRemoveDefinitionsCommand.h | 21 +- Source/cmReturnCommand.cxx | 13 +- Source/cmReturnCommand.h | 23 +- Source/cmScriptGenerator.cxx | 25 +- Source/cmScriptGenerator.h | 19 +- Source/cmSearchPath.cxx | 26 +- Source/cmSearchPath.h | 21 +- Source/cmSeparateArgumentsCommand.cxx | 13 +- Source/cmSeparateArgumentsCommand.h | 23 +- Source/cmServer.cxx | 379 ++ Source/cmServer.h | 94 + Source/cmServerConnection.cxx | 377 ++ Source/cmServerConnection.h | 95 + Source/cmServerDictionary.h | 94 + Source/cmServerProtocol.cxx | 1077 ++++ Source/cmServerProtocol.h | 134 + Source/cmSetCommand.cxx | 28 +- Source/cmSetCommand.h | 23 +- Source/cmSetDirectoryPropertiesCommand.cxx | 18 +- Source/cmSetDirectoryPropertiesCommand.h | 29 +- Source/cmSetPropertyCommand.cxx | 23 +- Source/cmSetPropertyCommand.h | 23 +- Source/cmSetSourceFilesPropertiesCommand.cxx | 13 +- Source/cmSetSourceFilesPropertiesCommand.h | 27 +- Source/cmSetTargetPropertiesCommand.cxx | 13 +- Source/cmSetTargetPropertiesCommand.h | 21 +- Source/cmSetTestsPropertiesCommand.cxx | 15 +- Source/cmSetTestsPropertiesCommand.h | 21 +- Source/cmSiteNameCommand.cxx | 16 +- Source/cmSiteNameCommand.h | 23 +- Source/cmSourceFile.cxx | 29 +- Source/cmSourceFile.h | 25 +- Source/cmSourceFileLocation.cxx | 27 +- Source/cmSourceFileLocation.h | 17 +- Source/cmSourceGroup.cxx | 25 +- Source/cmSourceGroup.h | 21 +- Source/cmSourceGroupCommand.cxx | 17 +- Source/cmSourceGroupCommand.h | 21 +- Source/cmStandardIncludes.h | 97 +- Source/cmStandardLexer.h | 13 +- Source/cmState.cxx | 142 +- Source/cmState.h | 40 +- Source/cmStringCommand.cxx | 94 +- Source/cmStringCommand.h | 23 +- Source/cmSubdirCommand.cxx | 15 +- Source/cmSubdirCommand.h | 21 +- Source/cmSubdirDependsCommand.cxx | 13 +- Source/cmSubdirDependsCommand.h | 21 +- Source/cmSystemTools.cxx | 293 +- Source/cmSystemTools.h | 78 +- Source/cmTarget.cxx | 282 +- Source/cmTarget.h | 63 +- Source/cmTargetCompileDefinitionsCommand.cxx | 13 +- Source/cmTargetCompileDefinitionsCommand.h | 40 +- Source/cmTargetCompileFeaturesCommand.cxx | 13 +- Source/cmTargetCompileFeaturesCommand.h | 33 +- Source/cmTargetCompileOptionsCommand.cxx | 13 +- Source/cmTargetCompileOptionsCommand.h | 34 +- Source/cmTargetDepend.h | 15 +- Source/cmTargetExport.h | 15 +- Source/cmTargetIncludeDirectoriesCommand.cxx | 13 +- Source/cmTargetIncludeDirectoriesCommand.h | 46 +- Source/cmTargetLinkLibrariesCommand.cxx | 26 +- Source/cmTargetLinkLibrariesCommand.h | 21 +- Source/cmTargetLinkLibraryType.h | 13 + Source/cmTargetPropCommandBase.cxx | 14 +- Source/cmTargetPropCommandBase.h | 14 +- Source/cmTargetSourcesCommand.cxx | 13 +- Source/cmTargetSourcesCommand.h | 34 +- Source/cmTest.cxx | 19 +- Source/cmTest.h | 20 +- Source/cmTestGenerator.cxx | 26 +- Source/cmTestGenerator.h | 39 +- Source/cmTimestamp.cxx | 30 +- Source/cmTimestamp.h | 15 +- Source/cmTryCompileCommand.cxx | 13 +- Source/cmTryCompileCommand.h | 21 +- Source/cmTryRunCommand.cxx | 38 +- Source/cmTryRunCommand.h | 21 +- Source/cmTypeMacro.h | 31 + Source/cmUnsetCommand.cxx | 29 +- Source/cmUnsetCommand.h | 23 +- Source/cmUseMangledMesaCommand.cxx | 13 +- Source/cmUseMangledMesaCommand.h | 23 +- Source/cmUtilitySourceCommand.cxx | 17 +- Source/cmUtilitySourceCommand.h | 21 +- Source/cmUtils.hxx | 17 + Source/cmUuid.cxx | 26 +- Source/cmUuid.h | 18 +- ...VS14CLFlagTable.h => cmVS140CLFlagTable.h} | 2 +- Source/cmVS141CLFlagTable.h | 249 + Source/cmVS14LinkFlagTable.h | 17 +- Source/cmVariableRequiresCommand.cxx | 13 +- Source/cmVariableRequiresCommand.h | 21 +- Source/cmVariableWatch.cxx | 19 +- Source/cmVariableWatch.h | 30 +- Source/cmVariableWatchCommand.cxx | 15 +- Source/cmVariableWatchCommand.h | 27 +- Source/cmVersion.cxx | 15 +- Source/cmVersion.h | 15 +- Source/cmVersionConfig.h.in | 15 +- Source/cmVersionMacros.h | 13 +- Source/cmVisualStudio10TargetGenerator.cxx | 100 +- Source/cmVisualStudio10TargetGenerator.h | 15 +- Source/cmVisualStudioGeneratorOptions.cxx | 1 + Source/cmVisualStudioGeneratorOptions.h | 13 +- Source/cmVisualStudioSlnData.cxx | 13 +- Source/cmVisualStudioSlnData.h | 15 +- Source/cmVisualStudioSlnParser.cxx | 13 +- Source/cmVisualStudioSlnParser.h | 15 +- Source/cmVisualStudioWCEPlatformParser.cxx | 13 +- Source/cmVisualStudioWCEPlatformParser.h | 15 +- Source/cmWhileCommand.cxx | 23 +- Source/cmWhileCommand.h | 34 +- Source/cmWriteFileCommand.cxx | 13 +- Source/cmWriteFileCommand.h | 23 +- Source/cmXCode21Object.cxx | 13 +- Source/cmXCode21Object.h | 13 +- Source/cmXCodeObject.cxx | 29 +- Source/cmXCodeObject.h | 61 +- Source/cmXMLParser.cxx | 33 +- Source/cmXMLParser.h | 17 +- Source/cmXMLSafe.cxx | 15 +- Source/cmXMLSafe.h | 15 +- Source/cmXMLWriter.cxx | 19 +- Source/cmXMLWriter.h | 15 +- .../auto_ptr.hxx.in => cm_auto_ptr.hxx} | 183 +- Source/cm_get_date.c | 13 +- Source/cm_get_date.h | 13 +- Source/cm_sha2_mangle.h | 13 +- Source/cm_utf8.c | 13 +- Source/cm_utf8.h | 13 +- Source/cmake.cxx | 630 +-- Source/cmake.h | 101 +- Source/cmakemain.cxx | 71 +- Source/cmakexbuild.cxx | 13 +- Source/cmcldeps.cxx | 3 +- Source/cmcmd.cxx | 263 +- Source/cmcmd.h | 19 +- Source/cmparseMSBuildXML.py | 3 + Source/ctest.cxx | 38 +- Source/dir.dox | 7 + Source/dir.dox.in | 7 + Source/kwsys/CMakeLists.txt | 27 +- Source/kwsys/Configure.hxx.in | 7 +- Source/kwsys/ConsoleBuf.hxx.in | 348 ++ Source/kwsys/Directory.cxx | 31 +- Source/kwsys/FStream.hxx.in | 234 +- Source/kwsys/SystemInformation.cxx | 15 +- Source/kwsys/SystemTools.cxx | 408 +- Source/kwsys/SystemTools.hxx.in | 19 +- Source/kwsys/kwsysPlatformTestsCXX.cxx | 5 + Source/kwsys/testAutoPtr.cxx | 166 - Source/kwsys/testConsoleBuf.cxx | 719 +++ Source/kwsys/testConsoleBuf.hxx | 25 + Source/kwsys/testConsoleBufChild.cxx | 63 + Source/kwsys/testSystemTools.cxx | 55 +- Templates/TestDriver.cxx.in | 10 +- Templates/cygwin-package.sh.in | 103 - Tests/AliasTarget/CMakeLists.txt | 15 +- Tests/AliasTarget/commandgenerator.cpp | 3 +- Tests/AliasTarget/targetgenerator.cpp | 3 +- Tests/CFBundleTest/CMakeLists.txt | 1 - Tests/CMakeLib/CMakeLists.txt | 1 + .../CMakeLib/PseudoMemcheck/memtester.cxx.in | 32 +- Tests/CMakeLib/run_compile_commands.cxx | 39 +- Tests/CMakeLib/testFindPackageCommand.cxx | 67 + Tests/CMakeLib/testGeneratedFileStream.cxx | 20 +- Tests/CMakeLib/testRST.cxx | 22 +- Tests/CMakeLib/testSystemTools.cxx | 94 +- Tests/CMakeLib/testUTF8.cxx | 17 +- Tests/CMakeLib/testXMLParser.cxx | 2 +- Tests/CMakeLib/testXMLSafe.cxx | 23 +- Tests/CMakeLists.txt | 182 +- .../CheckCXXSymbolExists/CMakeLists.txt | 2 +- .../CheckStructHasMember/CMakeLists.txt | 2 +- .../CheckSymbolExists/CMakeLists.txt | 2 +- Tests/CMakeOnly/find_library/CMakeLists.txt | 7 + .../CMakeOnly/find_library/lib/32/libtest5.a | 0 .../find_library/lib/A/lib32/libtest3.a | 0 .../find_library/lib32/A/lib/libtest2.a | 0 .../find_library/lib32/A/lib32/libtest4.a | 0 .../CMakeOnly/find_library/lib32/A/libtest4.a | 0 Tests/CMakeOnly/find_library/lib32/libtest4.a | 0 .../CMakeTests/ImplicitLinkInfoTest.cmake.in | 6 + Tests/CMakeTests/ModuleNoticesTest.cmake.in | 25 +- .../String-TIMESTAMP-MonthWeekNames.cmake | 11 + Tests/CMakeTests/StringTest.cmake.in | 3 + Tests/CMakeTests/VersionTest.cmake.in | 14 + Tests/CMakeTests/WhileTest.cmake.in | 6 +- Tests/CPackComponents/Issue 7470.html | 4 +- ...lt-components-lintian-dpkgdeb-checks.cmake | 2 +- .../RunCPackVerifyResult.cmake | 2 +- Tests/CTestLimitDashJ/CMakeLists.txt | 2 +- Tests/CTestTestStopTime/GetDate.cmake | 4 +- Tests/CTestUpdateBZR.cmake.in | 2 +- Tests/CTestUpdateCVS.cmake.in | 2 +- Tests/CTestUpdateCommon.cmake | 12 +- Tests/CTestUpdateGIT.cmake.in | 2 +- Tests/CTestUpdateHG.cmake.in | 2 +- Tests/CTestUpdateP4.cmake.in | 8 +- Tests/CTestUpdateSVN.cmake.in | 2 +- Tests/CheckFortran.cmake | 17 +- Tests/Complex/CMakeLists.txt | 12 +- Tests/Complex/Executable/CMakeLists.txt | 4 +- Tests/Complex/Executable/complex.cxx | 200 +- Tests/Complex/Library/CMakeLists.txt | 2 +- Tests/Complex/VarTests.cmake | 80 +- Tests/ComplexOneConfig/CMakeLists.txt | 6 +- .../Executable/CMakeLists.txt | 4 +- Tests/ComplexOneConfig/Executable/complex.cxx | 194 +- Tests/ComplexOneConfig/Library/CMakeLists.txt | 2 +- Tests/ComplexOneConfig/VarTests.cmake | 80 +- Tests/CustomCommand/CMakeLists.txt | 6 +- .../CMakeLists.txt | 10 + .../Example/subdir/CMakeLists.txt | 2 + Tests/FindBZip2/CMakeLists.txt | 10 + Tests/FindBZip2/Test/CMakeLists.txt | 16 + Tests/FindBZip2/Test/main.c | 23 + Tests/FindICU/CMakeLists.txt | 10 + Tests/FindICU/Test/CMakeLists.txt | 14 + Tests/FindICU/Test/main.cpp | 24 + Tests/FindLibUV/CMakeLists.txt | 10 + Tests/FindLibUV/Test/CMakeLists.txt | 17 + Tests/FindLibUV/Test/main.c | 7 + .../components_checks/CMakeLists.txt | 23 + Tests/FindOpenCL/CMakeLists.txt | 10 + Tests/FindOpenCL/Test/CMakeLists.txt | 14 + Tests/FindOpenCL/Test/main.c | 17 + .../Baz 1.3/lib/cmake/Baz/BazConfig.cmake | 1 + .../lib/cmake/Baz/BazConfigVersion.cmake | 7 + .../Baz 2.0/share/Baz 2/BazConfig.cmake | 1 + .../share/Baz 2/BazConfigVersion.cmake | 7 + .../Baz 2.1/lib/Baz 2/cmake/BazConfig.cmake | 1 + .../lib/Baz 2/cmake/BazConfigVersion.cmake | 7 + Tests/FindPackageTest/CMakeLists.txt | 44 +- .../SortLib-3.1.1/SortLibConfig.cmake | 2 + .../SortLib-3.1.1/SortLibConfigVersion.cmake | 9 + .../SortLib-3.10.1/SortLibConfig.cmake | 2 + .../SortLib-3.10.1/SortLibConfigVersion.cmake | 9 + Tests/FindTIFF/Test/CMakeLists.txt | 14 +- Tests/FindVulkan/CMakeLists.txt | 10 + Tests/FindVulkan/Test/CMakeLists.txt | 15 + Tests/FindVulkan/Test/main.c | 29 + Tests/Fortran/CMakeLists.txt | 89 +- Tests/FortranModules/CMakeLists.txt | 111 + .../Executable/CMakeLists.txt | 0 .../Executable/main.f90 | 0 .../External/CMakeLists.txt | 1 - .../External/a.f90 | 0 .../Library/CMakeLists.txt | 0 .../{Fortran => FortranModules}/Library/a.f90 | 0 .../{Fortran => FortranModules}/Library/b.f90 | 0 .../Library/main.f90 | 0 .../Subdir/CMakeLists.txt | 0 .../Subdir/subdir.f90 | 0 .../FortranModules/Submodules/CMakeLists.txt | 1 + Tests/FortranModules/Submodules/main.f90 | 5 + Tests/FortranModules/Submodules/provide.f90 | 57 + .../in_interface/main.f90 | 0 .../in_interface/module.f90 | 0 .../include/test_preprocess.h | 0 Tests/FortranModules/non_pp_include.f90 | 3 + .../test_module_implementation.f90 | 0 .../test_module_interface.f90 | 0 .../test_module_main.f90 | 0 .../test_non_pp_include_main.f90 | 5 + .../test_preprocess.F90 | 0 .../test_preprocess_module.F90 | 0 .../test_use_in_comment_fixedform.f | 0 .../test_use_in_comment_freeform.f90 | 0 Tests/Framework/CMakeLists.txt | 5 + Tests/IncludeDirectories/CMakeLists.txt | 8 +- .../SystemIncludeDirectories/CMakeLists.txt | 15 +- Tests/Java/A.java | 10 +- Tests/Java/HelloWorld.java | 14 +- .../BuildExport/CMakeLists.txt | 10 + Tests/JavaExportImport/BuildExport/Foo.java | 11 + Tests/JavaExportImport/CMakeLists.txt | 104 + Tests/JavaExportImport/Import/CMakeLists.txt | 14 + Tests/JavaExportImport/Import/Import.java | 10 + Tests/JavaExportImport/InitialCache.cmake.in | 5 + Tests/JavaExportImport/InstallExport/Bar.java | 11 + .../InstallExport/CMakeLists.txt | 14 + Tests/JavaExportImport/main.c | 4 + Tests/MakeClean/CMakeLists.txt | 2 +- Tests/MathTest/CMakeLists.txt | 2 +- Tests/Module/ExternalData/CMakeLists.txt | 1 + .../Module/ExternalData/Data5/CMakeLists.txt | 22 + .../ExternalData/Data5/Data5Check.cmake | 4 + .../exportheader_test.cpp | 137 - .../libshared_and_static.cpp | 102 - .../libshared_and_static.h | 66 - .../libshared/libshared.cpp | 102 - .../libshared/libshared.h | 57 - .../libstatic/libstatic.cpp | 97 - .../libstatic/libstatic.h | 57 - Tests/Plugin/CMakeLists.txt | 2 +- Tests/Plugin/src/example_exe.cxx | 1 + Tests/Preprocess/CMakeLists.txt | 30 +- Tests/QtAutogen/CMakeLists.txt | 10 + Tests/QtAutogen/abc.cpp | 15 +- Tests/QtAutogen/abc.h | 15 +- Tests/QtAutogen/abc_p.h | 15 +- Tests/QtAutogen/bar.cpp | 15 +- Tests/QtAutogen/blub.cpp | 15 +- Tests/QtAutogen/blub.h | 15 +- Tests/QtAutogen/foo.cpp | 15 +- Tests/QtAutogen/foo.h | 15 +- Tests/QtAutogen/rcc_empty.cpp | 9 + Tests/QtAutogen/rcc_empty_resource.qrc | 4 + Tests/QtAutogen/sameName/CMakeLists.txt | 21 + Tests/QtAutogen/sameName/aaa/bbb/data.qrc | 6 + Tests/QtAutogen/sameName/aaa/bbb/item.cpp | 10 + Tests/QtAutogen/sameName/aaa/bbb/item.hpp | 18 + Tests/QtAutogen/sameName/aaa/data.qrc | 6 + Tests/QtAutogen/sameName/aaa/item.cpp | 8 + Tests/QtAutogen/sameName/aaa/item.hpp | 16 + Tests/QtAutogen/sameName/bbb/aaa/data.qrc | 6 + Tests/QtAutogen/sameName/bbb/aaa/item.cpp | 10 + Tests/QtAutogen/sameName/bbb/aaa/item.hpp | 18 + Tests/QtAutogen/sameName/bbb/data.qrc | 6 + Tests/QtAutogen/sameName/bbb/item.cpp | 8 + Tests/QtAutogen/sameName/bbb/item.hpp | 16 + Tests/QtAutogen/sameName/ccc/data.qrc | 6 + Tests/QtAutogen/sameName/ccc/item.cpp | 23 + Tests/QtAutogen/sameName/ccc/item.hpp | 16 + Tests/QtAutogen/sameName/data.qrc | 5 + Tests/QtAutogen/sameName/item.cpp | 5 + Tests/QtAutogen/sameName/item.hpp | 13 + Tests/QtAutogen/sameName/main.cpp | 16 + Tests/QtAutogen/sub/bar.h | 15 +- Tests/QtAutogen/xyz.cpp | 15 +- Tests/QtAutogen/xyz.h | 15 +- Tests/QtAutogen/yaf.cpp | 15 +- Tests/QtAutogen/yaf.h | 15 +- Tests/QtAutogen/yaf_p.h | 15 +- Tests/RunCMake/Android/BadSYSROOT-result.txt | 1 + Tests/RunCMake/Android/BadSYSROOT-stderr.txt | 20 + Tests/RunCMake/Android/BadSYSROOT.cmake | 0 Tests/RunCMake/Android/CMakeLists.txt | 3 + Tests/RunCMake/Android/RunCMakeTest.cmake | 218 + Tests/RunCMake/Android/android.c | 6 + Tests/RunCMake/Android/android.cxx | 48 + Tests/RunCMake/Android/android.h | 103 + Tests/RunCMake/Android/common.cmake | 62 + .../RunCMake/Android/ndk-arm64-v8a-stdout.txt | 2 + Tests/RunCMake/Android/ndk-arm64-v8a.cmake | 1 + .../Android/ndk-armeabi-arm-stdout.txt | 3 + Tests/RunCMake/Android/ndk-armeabi-arm.cmake | 1 + .../Android/ndk-armeabi-thumb-stdout.txt | 3 + .../RunCMake/Android/ndk-armeabi-thumb.cmake | 1 + .../Android/ndk-armeabi-v7a-neon-stdout.txt | 3 + .../Android/ndk-armeabi-v7a-neon.cmake | 1 + .../Android/ndk-armeabi-v7a-stdout.txt | 3 + Tests/RunCMake/Android/ndk-armeabi-v7a.cmake | 1 + Tests/RunCMake/Android/ndk-badabi-result.txt | 1 + Tests/RunCMake/Android/ndk-badabi-stderr.txt | 5 + Tests/RunCMake/Android/ndk-badabi.cmake | 0 Tests/RunCMake/Android/ndk-badarm-result.txt | 1 + Tests/RunCMake/Android/ndk-badarm-stderr.txt | 6 + Tests/RunCMake/Android/ndk-badarm.cmake | 0 Tests/RunCMake/Android/ndk-badneon-result.txt | 1 + Tests/RunCMake/Android/ndk-badneon-stderr.txt | 6 + Tests/RunCMake/Android/ndk-badneon.cmake | 0 Tests/RunCMake/Android/ndk-badstl-result.txt | 1 + Tests/RunCMake/Android/ndk-badstl-stderr.txt | 9 + Tests/RunCMake/Android/ndk-badstl.cmake | 1 + Tests/RunCMake/Android/ndk-badver-result.txt | 1 + Tests/RunCMake/Android/ndk-badver-stderr.txt | 12 + Tests/RunCMake/Android/ndk-badver.cmake | 1 + .../RunCMake/Android/ndk-badvernum-result.txt | 1 + .../RunCMake/Android/ndk-badvernum-stderr.txt | 13 + Tests/RunCMake/Android/ndk-badvernum.cmake | 1 + Tests/RunCMake/Android/ndk-mips-stdout.txt | 2 + Tests/RunCMake/Android/ndk-mips.cmake | 1 + Tests/RunCMake/Android/ndk-mips64-stdout.txt | 2 + Tests/RunCMake/Android/ndk-mips64.cmake | 1 + .../Android/ndk-sysroot-armeabi-stdout.txt | 1 + .../Android/ndk-sysroot-armeabi.cmake | 0 Tests/RunCMake/Android/ndk-x86-stdout.txt | 2 + Tests/RunCMake/Android/ndk-x86.cmake | 1 + Tests/RunCMake/Android/ndk-x86_64-stdout.txt | 2 + Tests/RunCMake/Android/ndk-x86_64.cmake | 1 + Tests/RunCMake/Android/standalone-stdout.txt | 1 + .../Android/standalone-sysroot-stdout.txt | 1 + .../RunCMake/Android/standalone-sysroot.cmake | 0 Tests/RunCMake/Android/standalone.cmake | 1 + .../RunCMake/AndroidMK/AndroidMK-check.cmake | 30 + Tests/RunCMake/AndroidMK/AndroidMK.cmake | 11 + Tests/RunCMake/AndroidMK/CMakeLists.txt | 3 + Tests/RunCMake/AndroidMK/RunCMakeTest.cmake | 2 + Tests/RunCMake/AndroidMK/bar.c | 3 + .../AndroidMK/expectedBuildAndroidMK.txt | 26 + .../AndroidMK/expectedInstallAndroidMK.txt | 28 + Tests/RunCMake/AndroidMK/foo.cxx | 3 + .../AndroidTestUtilities/CMakeLists.txt | 3 + .../AndroidTestUtilities/RunCMakeTest.cmake | 20 + .../AndroidTestUtilities/SetupTest1.cmake | 17 + .../SetupTest1Build-check.cmake | 5 + .../AndroidTestUtilities/SetupTest2.cmake | 30 + .../SetupTest2Build-check.cmake | 7 + .../AndroidTestUtilities/SetupTest3.cmake | 33 + .../SetupTest3Build-check.cmake | 6 + .../RunCMake/AndroidTestUtilities/check.cmake | 20 + .../RunCMake/AndroidTestUtilities/data/a.txt | 1 + .../AndroidTestUtilities/data/proto.proto | 1 + .../AndroidTestUtilities/data/subfolder/b.txt | 1 + .../data/subfolder/protobuffer.p | 1 + .../AndroidTestUtilities/libs/exampleLib.so | 1 + .../AndroidTestUtilities/libs/exampleLib.txt | 1 + Tests/RunCMake/AutoExportDll/AutoExport.cmake | 10 +- Tests/RunCMake/AutoExportDll/hello2.c | 8 + Tests/RunCMake/AutoExportDll/objlib.c | 4 + Tests/RunCMake/AutoExportDll/say.cxx | 10 + Tests/RunCMake/BuildDepends/check.cmake | 8 +- .../CMP0040/CMP0040-NEW-existing-target.cmake | 2 +- .../CMP0040/CMP0040-NEW-missing-target.cmake | 2 +- .../CMP0040/CMP0040-OLD-existing-target.cmake | 2 +- .../CMP0040/CMP0040-OLD-missing-target.cmake | 2 +- .../CMP0040/CMP0040-WARN-missing-target.cmake | 2 +- .../CMP0054/CMP0054-policy-while-scope.cmake | 4 +- Tests/RunCMake/CMP0065/WARN-ON-stderr.txt | 2 +- Tests/RunCMake/CMakeLists.txt | 40 +- Tests/RunCMake/CPack/CMakeLists.txt | 6 +- Tests/RunCMake/CPack/CPackTestHelpers.cmake | 55 +- Tests/RunCMake/CPack/DEB/Helpers.cmake | 10 +- .../DEB/LONG_FILENAMES-ExpectedFiles.cmake | 5 + .../DEB/LONG_FILENAMES-Prerequirements.cmake | 7 + .../DEB/LONG_FILENAMES-VerifyResult.cmake | 26 + .../CPack/DEB/LONG_FILENAMES-specifics.cmake | 3 + .../RunCMake/CPack/DEB/Prerequirements.cmake | 7 + Tests/RunCMake/CPack/DEBUGINFO.cmake | 34 + Tests/RunCMake/CPack/LONG_FILENAMES.cmake | 10 + Tests/RunCMake/CPack/PACKAGE_CHECKSUM.cmake | 4 + .../CPack/RPM/DEBUGINFO-ExpectedFiles.cmake | 14 + Tests/RunCMake/CPack/RPM/DEBUGINFO-stderr.txt | 3 + .../RPM/SOURCE_PACKAGE-ExpectedFiles.cmake | 5 + .../RPM/SOURCE_PACKAGE-VerifyResult.cmake | 63 + Tests/RunCMake/CPack/RunCMakeTest.cmake | 4 + Tests/RunCMake/CPack/SOURCE_PACKAGE.cmake | 9 + .../TGZ/PACKAGE_CHECKSUM-ExpectedFiles.cmake | 9 + .../TGZ/PACKAGE_CHECKSUM-VerifyResult.cmake | 14 + .../TGZ/PACKAGE_CHECKSUM-invalid-stderr.txt | 2 + Tests/RunCMake/CPack/VerifyResult.cmake | 12 +- Tests/RunCMake/CTest/BeforeProject-stderr.txt | 6 +- .../CommandLine/E_capabilities-arg-result.txt | 1 + .../CommandLine/E_capabilities-arg-stderr.txt | 1 + .../CommandLine/E_capabilities-stdout.txt | 1 + .../CommandLine/E_server-arg-result.txt | 1 + .../CommandLine/E_server-arg-stderr.txt | 1 + .../CommandLine/E_server-pipe-result.txt | 1 + .../CommandLine/E_server-pipe-stderr.txt | 1 + Tests/RunCMake/CommandLine/RunCMakeTest.cmake | 8 + .../CommandLine/trace-only-this-file.cmake | 1 + .../CommandLine/trace-source-stderr.txt | 1 + Tests/RunCMake/CommandLine/trace-source.cmake | 3 + .../Configure/ContinueAfterError-result.txt | 1 + .../Configure/ContinueAfterError-stderr.txt | 13 + .../Configure/ContinueAfterError-stdout.txt | 11 + .../Configure/ContinueAfterError.cmake | 19 + Tests/RunCMake/Configure/RunCMakeTest.cmake | 1 + .../CMAKE_CACHE_ARGS-check.cmake | 9 + .../ExternalProject/CMAKE_CACHE_ARGS.cmake | 4 +- .../CMAKE_CACHE_DEFAULT_ARGS-check.cmake | 9 + .../CMAKE_CACHE_DEFAULT_ARGS.cmake | 4 +- .../FindPkgConfig_CMAKE_APPBUNDLE_PATH.cmake | 11 +- .../FindPkgConfig_CMAKE_FRAMEWORK_PATH.cmake | 11 +- .../FindPkgConfig_NO_PKGCONFIG_PATH.cmake | 3 - .../FindPkgConfig_PKGCONFIG_PATH.cmake | 11 +- ...ONFIG_PATH_NO_CMAKE_ENVIRONMENT_PATH.cmake | 11 +- ...gConfig_PKGCONFIG_PATH_NO_CMAKE_PATH.cmake | 11 +- .../pc-bar/lib32/pkgconfig/.placeholder | 0 .../pc-foo/lib32/pkgconfig/.placeholder | 0 Tests/RunCMake/Framework/RunCMakeTest.cmake | 2 +- .../GenerateExportHeader/CMakeLists.txt | 3 + .../GenerateExportHeader/GEH-build-stderr.txt | 1 + .../GenerateExportHeader/GEH-failures.cmake | 67 + .../GEH-link-error-result.txt | 1 + .../GEH-link-error-stderr.txt | 1 + .../GenerateExportHeader/GEH.cmake} | 38 +- .../GenerateExportHeader/RunCMakeTest.cmake | 27 + .../c_identifier/CMakeLists.txt | 2 - .../c_identifier/c_identifier_class.cpp | 0 .../c_identifier/c_identifier_class.h | 0 .../c_identifier/main.cpp | 2 +- .../exportheader_test.cpp | 169 + .../lib_shared_and_static/CMakeLists.txt | 10 +- .../libshared_and_static.cpp | 121 + .../libshared_and_static.h | 83 + .../libshared/CMakeLists.txt | 5 - .../libshared/libshared.cpp | 117 + .../libshared/libshared.h | 82 + .../libstatic/CMakeLists.txt | 5 - .../libstatic/libstatic.cpp | 125 + .../libstatic/libstatic.h | 86 + .../nodeprecated/CMakeLists.txt | 6 +- .../nodeprecated/CMakeLists.txt.in | 2 +- .../nodeprecated/src/main.cpp | 2 +- .../nodeprecated/src/someclass.cpp | 0 .../nodeprecated/src/someclass.h | 0 .../reference/Empty/libshared_export.h | 0 .../reference/Empty/libstatic_export.h | 0 .../reference/MinGW/libshared_export.h | 0 .../reference/MinGW/libstatic_export.h | 0 .../reference/UNIX/libshared_export.h | 0 .../reference/UNIX/libstatic_export.h | 0 .../UNIX_DeprecatedOnly/libshared_export.h | 0 .../UNIX_DeprecatedOnly/libstatic_export.h | 0 .../reference/Win32-Clang/libshared_export.h | 0 .../reference/Win32-Clang/libstatic_export.h | 0 .../reference/Win32/libshared_export.h | 0 .../reference/Win32/libstatic_export.h | 0 .../reference/WinEmpty/libshared_export.h | 0 .../reference/WinEmpty/libstatic_export.h | 0 .../LINK_ONLY-not-linking-result.txt | 1 + .../LINK_ONLY-not-linking-stderr.txt | 8 + .../LINK_ONLY-not-linking.cmake | 1 + .../GeneratorExpression/RunCMakeTest.cmake | 1 + .../GeneratorPlatform/RunCMakeTest.cmake | 4 +- .../GeneratorToolset/RunCMakeTest.cmake | 4 +- .../LinkWhatYouUse/C-Build-stdout.txt | 2 + .../LinkWhatYouUse/C-launch-Build-stdout.txt | 2 + Tests/RunCMake/LinkWhatYouUse/C-launch.cmake | 3 + Tests/RunCMake/LinkWhatYouUse/C.cmake | 4 + Tests/RunCMake/LinkWhatYouUse/CMakeLists.txt | 3 + .../LinkWhatYouUse/CXX-Build-stdout.txt | 2 + .../CXX-launch-Build-stdout.txt | 2 + .../RunCMake/LinkWhatYouUse/CXX-launch.cmake | 3 + Tests/RunCMake/LinkWhatYouUse/CXX.cmake | 4 + .../LinkWhatYouUse/RunCMakeTest.cmake | 21 + Tests/RunCMake/LinkWhatYouUse/main.c | 4 + Tests/RunCMake/LinkWhatYouUse/main.cxx | 4 + .../CustomCommandDepfile-ERROR-result.txt | 1 + .../CustomCommandDepfile-ERROR-stderr.txt | 5 + .../Make/CustomCommandDepfile-ERROR.cmake | 8 + Tests/RunCMake/Make/RunCMakeTest.cmake | 2 + .../Ninja/CustomCommandDepfile-check.cmake | 5 + .../RunCMake/Ninja/CustomCommandDepfile.cmake | 11 + Tests/RunCMake/Ninja/RunCMakeTest.cmake | 8 + .../RunCMake/Ninja/SubDir-install-stdout.txt | 1 + Tests/RunCMake/Ninja/SubDir-test-stdout.txt | 1 + Tests/RunCMake/Ninja/SubDir.cmake | 5 + Tests/RunCMake/Ninja/SubDir/CMakeLists.txt | 4 + Tests/RunCMake/RunCMake.cmake | 6 +- .../RunCMake/Syntax/BOM-UTF-16-BE-stderr.txt | 6 +- .../RunCMake/Syntax/BOM-UTF-16-LE-stderr.txt | 6 +- .../RunCMake/Syntax/BOM-UTF-32-BE-stderr.txt | 6 +- .../RunCMake/Syntax/BOM-UTF-32-LE-stderr.txt | 6 +- .../Syntax/BracketComment4-stderr.txt | 11 +- .../Syntax/BracketNoSpace0-stderr.txt | 6 +- .../Syntax/BracketNoSpace1-stderr.txt | 6 +- .../Syntax/BracketNoSpace2-stderr.txt | 6 +- .../Syntax/BracketNoSpace3-stderr.txt | 6 +- .../Syntax/BracketNoSpace4-stderr.txt | 6 +- .../Syntax/BracketNoSpace5-stderr.txt | 6 +- Tests/RunCMake/Syntax/CommandEOF-result.txt | 1 + Tests/RunCMake/Syntax/CommandEOF-stderr.txt | 6 + Tests/RunCMake/Syntax/CommandEOF.cmake | 1 + .../RunCMake/Syntax/CommandError0-stderr.txt | 12 +- .../RunCMake/Syntax/CommandError1-stderr.txt | 11 +- .../RunCMake/Syntax/CommandError2-stderr.txt | 12 +- Tests/RunCMake/Syntax/ParenInENV-stderr.txt | 8 +- .../RunCMake/Syntax/ParenNoSpace1-stderr.txt | 18 +- Tests/RunCMake/Syntax/RunCMakeTest.cmake | 1 + .../RunCMake/Syntax/StringNoSpace-stderr.txt | 12 +- .../Syntax/UnterminatedBracket0-stderr.txt | 13 +- .../Syntax/UnterminatedBracket1-stderr.txt | 13 +- .../UnterminatedBracketComment-stderr.txt | 13 +- .../Syntax/UnterminatedCall1-stderr.txt | 11 +- .../Syntax/UnterminatedCall2-stderr.txt | 11 +- .../Syntax/UnterminatedString-stderr.txt | 13 +- .../ToolchainFile/FlagsInit-stdout.txt | 30 + .../ToolchainFile/FlagsInit-toolchain.cmake | 7 + Tests/RunCMake/ToolchainFile/FlagsInit.cmake | 7 + .../ToolchainFile/LinkFlagsInit-stdout.txt | 60 + .../LinkFlagsInit-toolchain.cmake | 5 + .../ToolchainFile/LinkFlagsInit.cmake | 7 + .../RunCMake/ToolchainFile/RunCMakeTest.cmake | 2 + .../RunCMake/XcodeProject/RunCMakeTest.cmake | 21 +- .../XcodeAttributeLocation-check.cmake | 7 + .../XcodeProject/XcodeAttributeLocation.cmake | 3 + .../XcodeBundles-install-check.cmake | 8 + .../RunCMake/XcodeProject/XcodeBundles.cmake | 40 + .../AppendNotOutput-stderr.txt | 5 +- .../add_custom_target/RunCMakeTest.cmake | 14 + .../add_custom_target/TargetOrder.cmake | 31 + .../add_subdirectory/ExcludeFromAll.cmake | 6 + .../ExcludeFromAll/CMakeLists.txt | 4 + .../add_subdirectory/ExcludeFromAll/bar.cpp | 1 + .../add_subdirectory/ExcludeFromAll/foo.cpp | 6 + .../add_subdirectory/ExcludeFromAll/foo.h | 1 + .../add_subdirectory/RunCMakeTest.cmake | 12 + Tests/RunCMake/add_subdirectory/main.cpp | 6 + .../cmake_parse_arguments/ArgvN.cmake | 38 + .../BadArgvN1-result.txt | 1 + .../BadArgvN1-stderr.txt | 5 + .../cmake_parse_arguments/BadArgvN1.cmake | 4 + .../BadArgvN2-result.txt | 1 + .../BadArgvN2-stderr.txt | 5 + .../cmake_parse_arguments/BadArgvN2.cmake | 4 + .../BadArgvN3-result.txt | 1 + .../BadArgvN3-stderr.txt | 4 + .../cmake_parse_arguments/BadArgvN3.cmake | 1 + .../BadArgvN4-result.txt | 1 + .../BadArgvN4-stderr.txt | 4 + .../cmake_parse_arguments/BadArgvN4.cmake | 3 + .../CornerCasesArgvN.cmake | 53 + .../cmake_parse_arguments/RunCMakeTest.cmake | 6 + .../cmake_parse_arguments/Utils.cmake | 1 + .../cmake_parse_arguments/test_utils.cmake | 44 +- Tests/RunCMake/continue/ContinueWhile.cmake | 2 +- .../ctest_cmake_error/CMakeLists.txt.in | 4 + .../CTestCaptureErrorNonZero-stderr.txt | 4 + .../CTestCaptureErrorZero-stderr.txt | 4 + .../CTestCaptureErrorZero-stdout.txt | 1 + .../ctest_cmake_error/CTestConfig.cmake.in | 1 + .../CoverageQuiet-stdout.txt | 1 + .../ctest_cmake_error/RunCMakeTest.cmake | 10 + .../RunCMake/ctest_cmake_error/test.cmake.in | 22 + .../RunCMake/ctest_fixtures/CMakeLists.txt.in | 81 + .../ctest_fixtures/CTestConfig.cmake.in | 1 + .../ctest_fixtures/RunCMakeTest.cmake | 36 + .../ctest_fixtures/cyclicCleanup-result.txt | 1 + .../ctest_fixtures/cyclicCleanup-stderr.txt | 3 + .../ctest_fixtures/cyclicCleanup-stdout.txt | 1 + .../ctest_fixtures/cyclicSetup-result.txt | 1 + .../ctest_fixtures/cyclicSetup-stderr.txt | 3 + .../ctest_fixtures/cyclicSetup-stdout.txt | 1 + Tests/RunCMake/ctest_fixtures/one-stdout.txt | 13 + .../ctest_fixtures/setupFoo-stdout.txt | 7 + Tests/RunCMake/ctest_fixtures/test.cmake.in | 16 + .../RunCMake/ctest_fixtures/three-stdout.txt | 17 + Tests/RunCMake/ctest_fixtures/two-stdout.txt | 11 + .../ctest_fixtures/wontRun-stdout.txt | 14 + .../DOWNLOAD-httpheader-not-set-result.txt | 1 + .../DOWNLOAD-httpheader-not-set-stderr.txt | 4 + .../file/DOWNLOAD-httpheader-not-set.cmake | 1 + .../file/DOWNLOAD-pass-not-set-result.txt | 1 + .../file/DOWNLOAD-pass-not-set-stderr.txt | 4 + .../RunCMake/file/DOWNLOAD-pass-not-set.cmake | 1 + .../file/DOWNLOAD-unused-argument-result.txt | 0 .../file/DOWNLOAD-unused-argument-stderr.txt | 5 + .../file/DOWNLOAD-unused-argument.cmake | 5 + .../file/DOWNLOAD-unused-argument.txt | 0 Tests/RunCMake/file/LOCK-lowercase.cmake | 11 + Tests/RunCMake/file/RunCMakeTest.cmake | 7 + .../file/UPLOAD-httpheader-not-set-result.txt | 1 + .../file/UPLOAD-httpheader-not-set-stderr.txt | 4 + .../file/UPLOAD-httpheader-not-set.cmake | 1 + .../file/UPLOAD-pass-not-set-result.txt | 1 + .../file/UPLOAD-pass-not-set-stderr.txt | 4 + Tests/RunCMake/file/UPLOAD-pass-not-set.cmake | 1 + .../file/UPLOAD-unused-argument-result.txt | 0 .../file/UPLOAD-unused-argument-stderr.txt | 5 + .../file/UPLOAD-unused-argument.cmake | 5 + .../RunCMake/file/UPLOAD-unused-argument.txt | 0 .../Foo.framework/Headers/Some/Dir/Header.h | 0 .../FrameworksWithSubdirs-stdout.txt | 1 + .../find_path/FrameworksWithSubdirs.cmake | 3 + Tests/RunCMake/find_path/RunCMakeTest.cmake | 4 + .../KnownComponents.cmake | 12 +- .../directory_properties-stderr.txt | 18 +- .../get_property/directory_properties.cmake | 15 + .../directory_properties/CMakeLists.txt | 6 + .../directory_properties/sub1/CMakeLists.txt | 0 .../directory_properties/sub2/CMakeLists.txt | 0 Tests/RunCMake/if/IsDirectoryLong.cmake | 2 +- .../check_utils.cmake | 6 +- .../DIRECTORY-MESSAGE_NEVER-check.cmake | 8 +- .../install/DIRECTORY-message-check.cmake | 12 +- .../DIRECTORY-message-lazy-check.cmake | 12 +- Tests/RunCMake/message/RunCMakeTest.cmake | 2 + .../message-internal-warning-stderr.txt | 13 + .../message/message-internal-warning.cmake | 5 + .../nomessage-internal-warning-stderr.txt | 0 .../message/nomessage-internal-warning.cmake | 5 + Tests/RunCMake/project/ExplicitRC.cmake | 1 + Tests/RunCMake/project/RunCMakeTest.cmake | 3 + Tests/RunCMake/try_compile/CMP0066-stderr.txt | 15 + Tests/RunCMake/try_compile/CMP0066-stdout.txt | 4 + Tests/RunCMake/try_compile/CMP0066.cmake | 58 + Tests/RunCMake/try_compile/RunCMakeTest.cmake | 1 + Tests/RunCMake/try_compile/src.c | 3 + Tests/Server/CMakeLists.txt | 26 + Tests/Server/buildsystem1/CMakeLists.txt | 22 + Tests/Server/buildsystem1/foo.cpp | 5 + Tests/Server/buildsystem1/main.cpp | 5 + .../Server/buildsystem1/subdir/CMakeLists.txt | 5 + Tests/Server/buildsystem1/subdir/empty.cpp | 5 + Tests/Server/cmakelib.py | 198 + Tests/Server/cmakelib.pyc | Bin 0 -> 7544 bytes Tests/Server/empty.cpp | 5 + Tests/Server/server-test.py | 119 + Tests/Server/tc_buildsystem1.json | 27 + Tests/Server/tc_globalSettings.json | 140 + Tests/Server/tc_handshake.json | 71 + Tests/SimpleInstall/CMakeLists.txt | 4 +- Tests/SimpleInstallS2/CMakeLists.txt | 4 +- Tests/SwiftOnly/CMakeLists.txt | 4 + Tests/TryCompile/CMakeLists.txt | 4 +- Tests/VSExternalInclude/CMakeLists.txt | 4 +- Tests/VSMASM/CMakeLists.txt | 2 +- Tests/VSNsightTegra/CMakeLists.txt | 2 +- Tests/VSWinStorePhone/CMakeLists.txt | 9 +- .../Direct3DApp1/Strings/en-US/Resources.resw | 123 + Utilities/CMakeLists.txt | 14 +- Utilities/Doxygen/CMakeLists.txt | 105 +- .../Doxygen/DeveloperReference/mainpage.dox | 8 + Utilities/Doxygen/authors.txt | 17 - Utilities/Doxygen/doc_makeall.sh.in | 248 - Utilities/Doxygen/doxyfile.in | 35 +- Utilities/Git/commit-msg | 13 +- Utilities/Git/pre-commit | 13 +- Utilities/Git/prepare-commit-msg | 13 +- Utilities/KWIML/Copyright.txt | 2 +- Utilities/KWIML/include/kwiml/abi.h | 6 +- Utilities/KWIML/include/kwiml/int.h | 2 +- Utilities/KWIML/src/version.h.in | 2 +- Utilities/KWStyle/CMakeLists.txt | 13 +- Utilities/KWStyle/Headers/CMakeHeader.h | 11 - Utilities/Release/Cygwin/CMakeLists.txt | 25 - Utilities/Release/Cygwin/README.cygwin.in | 42 - Utilities/Release/Cygwin/cygwin-package.sh.in | 90 - Utilities/Release/Cygwin/cygwin-setup.hint.in | 5 - Utilities/Release/README | 3 - Utilities/Release/create-cmake-release.cmake | 3 - Utilities/Release/cygwin_release.cmake | 32 - Utilities/Release/linux32_release.cmake | 25 - Utilities/Release/linux64_release.cmake | 31 +- Utilities/Release/osx_release.cmake | 7 +- Utilities/Release/release_cmake.cmake | 4 - Utilities/Release/upload_release.cmake | 2 +- Utilities/Release/win32_release.cmake | 7 +- Utilities/Release/win64_release.cmake | 7 +- Utilities/Scripts/BoostScanDeps.cmake | 16 +- Utilities/Scripts/clang-format.bash | 2 +- Utilities/Scripts/update-curl.bash | 2 +- Utilities/Scripts/update-kwiml.bash | 2 +- Utilities/Scripts/update-liblzma.bash | 30 + Utilities/Scripts/update-libuv.bash | 26 + Utilities/Scripts/update-third-party.bash | 8 +- Utilities/Scripts/update-vim-syntax.bash | 24 + Utilities/Sphinx/CMakeLists.txt | 35 +- Utilities/Sphinx/cmake.py | 14 +- Utilities/Sphinx/conf.py.in | 14 +- Utilities/cmThirdParty.h.in | 14 +- Utilities/cm_bzlib.h | 13 +- Utilities/cm_curl.h | 13 +- Utilities/cm_expat.h | 13 +- Utilities/cm_jsoncpp_reader.h | 13 +- Utilities/cm_jsoncpp_value.h | 13 +- Utilities/cm_jsoncpp_writer.h | 13 +- Utilities/cm_kwiml.h | 13 +- Utilities/cm_libarchive.h | 13 +- Utilities/cm_lzma.h | 13 +- Utilities/cm_uv.h | 14 + Utilities/cm_xmlrpc.h | 13 +- Utilities/cm_zlib.h | 13 +- Utilities/cmlibarchive/libarchive/xxhash.c | 5 +- Utilities/cmliblzma/CMakeLists.txt | 6 +- Utilities/cmliblzma/README-CMake.txt | 66 - Utilities/cmliblzma/liblzma/api/lzma/block.h | 3 + .../cmliblzma/liblzma/api/lzma/version.h | 2 +- .../cmliblzma/liblzma/check/crc32_fast.c | 2 +- Utilities/cmliblzma/liblzma/check/sha256.c | 2 +- .../liblzma/lzma/lzma_encoder_presets.c | 9 +- Utilities/cmlibuv/.gitattributes | 1 + Utilities/cmlibuv/CMakeLists.txt | 236 + Utilities/cmlibuv/LICENSE | 70 + Utilities/cmlibuv/include/android-ifaddrs.h | 54 + Utilities/cmlibuv/include/pthread-barrier.h | 66 + Utilities/cmlibuv/include/stdint-msvc2008.h | 247 + Utilities/cmlibuv/include/tree.h | 768 +++ Utilities/cmlibuv/include/uv-aix.h | 32 + Utilities/cmlibuv/include/uv-bsd.h | 34 + Utilities/cmlibuv/include/uv-darwin.h | 61 + Utilities/cmlibuv/include/uv-errno.h | 419 ++ Utilities/cmlibuv/include/uv-linux.h | 34 + Utilities/cmlibuv/include/uv-os390.h | 27 + Utilities/cmlibuv/include/uv-sunos.h | 44 + Utilities/cmlibuv/include/uv-threadpool.h | 37 + Utilities/cmlibuv/include/uv-unix.h | 371 ++ Utilities/cmlibuv/include/uv-version.h | 43 + Utilities/cmlibuv/include/uv-win.h | 660 +++ Utilities/cmlibuv/include/uv.h | 1499 ++++++ Utilities/cmlibuv/src/fs-poll.c | 256 + Utilities/cmlibuv/src/heap-inl.h | 245 + Utilities/cmlibuv/src/inet.c | 309 ++ Utilities/cmlibuv/src/queue.h | 108 + Utilities/cmlibuv/src/threadpool.c | 303 ++ Utilities/cmlibuv/src/unix/aix.c | 1154 ++++ Utilities/cmlibuv/src/unix/android-ifaddrs.c | 703 +++ Utilities/cmlibuv/src/unix/async.c | 290 + Utilities/cmlibuv/src/unix/atomic-ops.h | 88 + Utilities/cmlibuv/src/unix/core.c | 1238 +++++ Utilities/cmlibuv/src/unix/darwin-proctitle.c | 206 + Utilities/cmlibuv/src/unix/darwin.c | 335 ++ Utilities/cmlibuv/src/unix/dl.c | 80 + Utilities/cmlibuv/src/unix/freebsd.c | 460 ++ Utilities/cmlibuv/src/unix/fs.c | 1364 +++++ Utilities/cmlibuv/src/unix/fsevents.c | 904 ++++ Utilities/cmlibuv/src/unix/getaddrinfo.c | 202 + Utilities/cmlibuv/src/unix/getnameinfo.c | 120 + Utilities/cmlibuv/src/unix/internal.h | 322 ++ Utilities/cmlibuv/src/unix/kqueue.c | 463 ++ Utilities/cmlibuv/src/unix/linux-core.c | 985 ++++ Utilities/cmlibuv/src/unix/linux-inotify.c | 285 + Utilities/cmlibuv/src/unix/linux-syscalls.c | 471 ++ Utilities/cmlibuv/src/unix/linux-syscalls.h | 151 + Utilities/cmlibuv/src/unix/loop-watcher.c | 68 + Utilities/cmlibuv/src/unix/loop.c | 159 + Utilities/cmlibuv/src/unix/netbsd.c | 380 ++ Utilities/cmlibuv/src/unix/openbsd.c | 396 ++ Utilities/cmlibuv/src/unix/os390.c | 42 + Utilities/cmlibuv/src/unix/pipe.c | 295 + Utilities/cmlibuv/src/unix/poll.c | 130 + Utilities/cmlibuv/src/unix/process.c | 563 ++ Utilities/cmlibuv/src/unix/proctitle.c | 105 + Utilities/cmlibuv/src/unix/pthread-barrier.c | 120 + Utilities/cmlibuv/src/unix/pthread-fixes.c | 56 + Utilities/cmlibuv/src/unix/signal.c | 467 ++ Utilities/cmlibuv/src/unix/spinlock.h | 53 + Utilities/cmlibuv/src/unix/stream.c | 1638 ++++++ Utilities/cmlibuv/src/unix/sunos.c | 821 +++ Utilities/cmlibuv/src/unix/tcp.c | 395 ++ Utilities/cmlibuv/src/unix/thread.c | 605 +++ Utilities/cmlibuv/src/unix/timer.c | 172 + Utilities/cmlibuv/src/unix/tty.c | 333 ++ Utilities/cmlibuv/src/unix/udp.c | 895 ++++ Utilities/cmlibuv/src/uv-common.c | 654 +++ Utilities/cmlibuv/src/uv-common.h | 227 + Utilities/cmlibuv/src/version.c | 45 + Utilities/cmlibuv/src/win/async.c | 99 + Utilities/cmlibuv/src/win/atomicops-inl.h | 56 + Utilities/cmlibuv/src/win/core.c | 602 +++ Utilities/cmlibuv/src/win/detect-wakeup.c | 35 + Utilities/cmlibuv/src/win/dl.c | 118 + Utilities/cmlibuv/src/win/error.c | 170 + Utilities/cmlibuv/src/win/fs-event.c | 545 ++ Utilities/cmlibuv/src/win/fs.c | 2496 +++++++++ Utilities/cmlibuv/src/win/getaddrinfo.c | 385 ++ Utilities/cmlibuv/src/win/getnameinfo.c | 150 + Utilities/cmlibuv/src/win/handle-inl.h | 179 + Utilities/cmlibuv/src/win/handle.c | 154 + Utilities/cmlibuv/src/win/internal.h | 398 ++ Utilities/cmlibuv/src/win/loop-watcher.c | 122 + Utilities/cmlibuv/src/win/pipe.c | 2130 ++++++++ Utilities/cmlibuv/src/win/poll.c | 646 +++ Utilities/cmlibuv/src/win/process-stdio.c | 510 ++ Utilities/cmlibuv/src/win/process.c | 1247 +++++ Utilities/cmlibuv/src/win/req-inl.h | 224 + Utilities/cmlibuv/src/win/req.c | 25 + Utilities/cmlibuv/src/win/signal.c | 356 ++ Utilities/cmlibuv/src/win/snprintf.c | 42 + Utilities/cmlibuv/src/win/stream-inl.h | 56 + Utilities/cmlibuv/src/win/stream.c | 249 + Utilities/cmlibuv/src/win/tcp.c | 1510 ++++++ Utilities/cmlibuv/src/win/thread.c | 697 +++ Utilities/cmlibuv/src/win/timer.c | 195 + Utilities/cmlibuv/src/win/tty.c | 2257 ++++++++ Utilities/cmlibuv/src/win/udp.c | 928 ++++ Utilities/cmlibuv/src/win/util.c | 1389 +++++ Utilities/cmlibuv/src/win/winapi.c | 159 + Utilities/cmlibuv/src/win/winapi.h | 4757 +++++++++++++++++ Utilities/cmlibuv/src/win/winsock.c | 561 ++ Utilities/cmlibuv/src/win/winsock.h | 191 + bootstrap | 49 +- 2223 files changed, 88330 insertions(+), 28918 deletions(-) create mode 100644 .gitignore delete mode 100644 Auxiliary/cmake-help.vim delete mode 100644 Auxiliary/cmake-syntax.vim create mode 100644 Auxiliary/vim/cmake.vim.in create mode 100755 Auxiliary/vim/extract-upper-case.pl rename Auxiliary/{cmake-indent.vim => vim/indent/cmake.vim} (88%) create mode 100644 Auxiliary/vim/syntax/cmake.vim create mode 100644 Help/generator/Visual Studio 15.rst create mode 100644 Help/manual/cmake-server.7.rst create mode 100644 Help/module/AndroidTestUtilities.rst create mode 100644 Help/module/CPackProductBuild.rst create mode 100644 Help/module/FindICU.rst create mode 100644 Help/module/FindVulkan.rst create mode 100644 Help/policy/CMP0066.rst create mode 100644 Help/prop_dir/BINARY_DIR.rst create mode 100644 Help/prop_dir/BUILDSYSTEM_TARGETS.rst create mode 100644 Help/prop_dir/SOURCE_DIR.rst create mode 100644 Help/prop_dir/SUBDIRECTORIES.rst create mode 100644 Help/prop_gbl/FIND_LIBRARY_USE_LIB32_PATHS.rst create mode 100644 Help/prop_sf/VS_TOOL_OVERRIDE.rst create mode 100644 Help/prop_sf/XCODE_FILE_ATTRIBUTES.rst create mode 100644 Help/prop_test/FIXTURES_CLEANUP.rst create mode 100644 Help/prop_test/FIXTURES_REQUIRED.rst create mode 100644 Help/prop_test/FIXTURES_SETUP.rst create mode 100644 Help/prop_tgt/LINK_WHAT_YOU_USE.rst create mode 100644 Help/prop_tgt/VS_SDK_REFERENCES.rst create mode 100644 Help/release/3.7.rst create mode 100644 Help/variable/ANDROID.rst create mode 100644 Help/variable/CMAKE_ANDROID_ARCH_ABI.rst create mode 100644 Help/variable/CMAKE_ANDROID_ARM_MODE.rst create mode 100644 Help/variable/CMAKE_ANDROID_ARM_NEON.rst create mode 100644 Help/variable/CMAKE_ANDROID_NDK.rst create mode 100644 Help/variable/CMAKE_ANDROID_NDK_TOOLCHAIN_VERSION.rst create mode 100644 Help/variable/CMAKE_ANDROID_STANDALONE_TOOLCHAIN.rst create mode 100644 Help/variable/CMAKE_CODELITE_USE_TARGETS.rst create mode 100644 Help/variable/CMAKE_COMPILER_IS_GNUCC.rst create mode 100644 Help/variable/CMAKE_COMPILER_IS_GNUCXX.rst create mode 100644 Help/variable/CMAKE_COMPILER_IS_GNUG77.rst delete mode 100644 Help/variable/CMAKE_COMPILER_IS_GNULANG.rst create mode 100644 Help/variable/CMAKE_EXE_LINKER_FLAGS_CONFIG_INIT.rst create mode 100644 Help/variable/CMAKE_EXE_LINKER_FLAGS_INIT.rst create mode 100644 Help/variable/CMAKE_FIND_PACKAGE_SORT_DIRECTION.rst create mode 100644 Help/variable/CMAKE_FIND_PACKAGE_SORT_ORDER.rst create mode 100644 Help/variable/CMAKE_LANG_ANDROID_TOOLCHAIN_PREFIX.rst create mode 100644 Help/variable/CMAKE_LANG_ANDROID_TOOLCHAIN_SUFFIX.rst create mode 100644 Help/variable/CMAKE_LANG_FLAGS_DEBUG_INIT.rst create mode 100644 Help/variable/CMAKE_LANG_FLAGS_INIT.rst create mode 100644 Help/variable/CMAKE_LANG_FLAGS_MINSIZEREL_INIT.rst create mode 100644 Help/variable/CMAKE_LANG_FLAGS_RELEASE_INIT.rst create mode 100644 Help/variable/CMAKE_LANG_FLAGS_RELWITHDEBINFO_INIT.rst create mode 100644 Help/variable/CMAKE_LINK_WHAT_YOU_USE.rst create mode 100644 Help/variable/CMAKE_MODULE_LINKER_FLAGS_CONFIG_INIT.rst create mode 100644 Help/variable/CMAKE_MODULE_LINKER_FLAGS_INIT.rst create mode 100644 Help/variable/CMAKE_SHARED_LINKER_FLAGS_CONFIG_INIT.rst create mode 100644 Help/variable/CMAKE_SHARED_LINKER_FLAGS_INIT.rst create mode 100644 Help/variable/CMAKE_STATIC_LINKER_FLAGS_CONFIG_INIT.rst create mode 100644 Help/variable/CMAKE_STATIC_LINKER_FLAGS_INIT.rst create mode 100644 Help/variable/CMAKE_Swift_LANGUAGE_VERSION.rst create mode 100644 Help/variable/XCODE.rst create mode 100644 Licenses/LGPLv3.txt create mode 100644 Modules/AndroidTestUtilities.cmake create mode 100644 Modules/AndroidTestUtilities/PushToAndroidDevice.cmake create mode 100644 Modules/CPackProductBuild.cmake create mode 100644 Modules/Compiler/Intel.cmake create mode 100644 Modules/FindCUDA/select_compute_arch.cmake create mode 100644 Modules/FindICU.cmake create mode 100644 Modules/FindVulkan.cmake create mode 100644 Modules/Platform/AIX-Clang-C.cmake create mode 100644 Modules/Platform/AIX-Clang-CXX.cmake create mode 100644 Modules/Platform/Android-Clang-C.cmake create mode 100644 Modules/Platform/Android-Clang-CXX.cmake create mode 100644 Modules/Platform/Android-Clang.cmake create mode 100644 Modules/Platform/Android-Common.cmake create mode 100644 Modules/Platform/Android-Determine-C.cmake create mode 100644 Modules/Platform/Android-Determine-CXX.cmake create mode 100644 Modules/Platform/Android-Determine.cmake create mode 100644 Modules/Platform/Android-GNU-C.cmake create mode 100644 Modules/Platform/Android-GNU-CXX.cmake create mode 100644 Modules/Platform/Android-GNU.cmake create mode 100644 Modules/Platform/Android-Initialize.cmake create mode 100644 Modules/Platform/Android/Determine-Compiler-NDK.cmake create mode 100644 Modules/Platform/Android/Determine-Compiler-Standalone.cmake create mode 100644 Modules/Platform/Android/Determine-Compiler.cmake create mode 100644 Modules/Platform/Android/abi-arm64-v8a-Clang.cmake create mode 100644 Modules/Platform/Android/abi-arm64-v8a-GNU.cmake create mode 100644 Modules/Platform/Android/abi-armeabi-Clang.cmake create mode 100644 Modules/Platform/Android/abi-armeabi-GNU.cmake create mode 100644 Modules/Platform/Android/abi-armeabi-v6-Clang.cmake create mode 100644 Modules/Platform/Android/abi-armeabi-v6-GNU.cmake create mode 100644 Modules/Platform/Android/abi-armeabi-v7a-Clang.cmake create mode 100644 Modules/Platform/Android/abi-armeabi-v7a-GNU.cmake create mode 100644 Modules/Platform/Android/abi-common-Clang.cmake create mode 100644 Modules/Platform/Android/abi-common-GNU.cmake create mode 100644 Modules/Platform/Android/abi-common.cmake create mode 100644 Modules/Platform/Android/abi-mips-Clang.cmake create mode 100644 Modules/Platform/Android/abi-mips-GNU.cmake create mode 100644 Modules/Platform/Android/abi-mips64-Clang.cmake create mode 100644 Modules/Platform/Android/abi-mips64-GNU.cmake create mode 100644 Modules/Platform/Android/abi-x86-Clang.cmake create mode 100644 Modules/Platform/Android/abi-x86-GNU.cmake create mode 100644 Modules/Platform/Android/abi-x86_64-Clang.cmake create mode 100644 Modules/Platform/Android/abi-x86_64-GNU.cmake create mode 100644 Modules/Platform/Android/ndk-stl-c++.cmake create mode 100644 Modules/Platform/Android/ndk-stl-c++_shared.cmake create mode 100644 Modules/Platform/Android/ndk-stl-c++_static.cmake create mode 100644 Modules/Platform/Android/ndk-stl-gabi++.cmake create mode 100644 Modules/Platform/Android/ndk-stl-gabi++_shared.cmake create mode 100644 Modules/Platform/Android/ndk-stl-gabi++_static.cmake create mode 100644 Modules/Platform/Android/ndk-stl-gnustl.cmake create mode 100644 Modules/Platform/Android/ndk-stl-gnustl_shared.cmake create mode 100644 Modules/Platform/Android/ndk-stl-gnustl_static.cmake create mode 100644 Modules/Platform/Android/ndk-stl-none.cmake create mode 100644 Modules/Platform/Android/ndk-stl-stlport.cmake create mode 100644 Modules/Platform/Android/ndk-stl-stlport_shared.cmake create mode 100644 Modules/Platform/Android/ndk-stl-stlport_static.cmake create mode 100644 Modules/Platform/Android/ndk-stl-system.cmake rename Modules/Platform/{CYGWIN-CXX.cmake => CYGWIN-Determine-CXX.cmake} (100%) rename Modules/Platform/{Darwin-CXX.cmake => Darwin-Determine-CXX.cmake} (100%) rename Modules/Platform/{Linux-CXX.cmake => Linux-Determine-CXX.cmake} (100%) rename Modules/Platform/{Windows-CXX.cmake => Windows-Determine-CXX.cmake} (100%) create mode 100644 Modules/Platform/Windows-OpenWatcom-C.cmake create mode 100644 Modules/Platform/Windows-OpenWatcom-CXX.cmake rename Modules/Platform/{Windows-wcl386.cmake => Windows-OpenWatcom.cmake} (79%) create mode 100644 Modules/Platform/Windows-Watcom-C.cmake create mode 100644 Modules/Platform/Windows-Watcom-CXX.cmake create mode 100644 Modules/javaTargets.cmake.in delete mode 100644 Source/.cvsignore create mode 100644 Source/CPack/cmCPackPKGGenerator.cxx create mode 100644 Source/CPack/cmCPackPKGGenerator.h create mode 100644 Source/CPack/cmCPackProductBuildGenerator.cxx create mode 100644 Source/CPack/cmCPackProductBuildGenerator.h delete mode 100644 Source/CPack/cygwin.readme delete mode 100644 Source/Checks/cm_cxx11_unordered_map.cmake create mode 100644 Source/Checks/cm_cxx_auto_ptr.cxx create mode 100644 Source/Checks/cm_cxx_features.cmake create mode 100644 Source/Checks/cm_cxx_make_unique.cxx create mode 100644 Source/Checks/cm_cxx_nullptr.cxx create mode 100644 Source/Checks/cm_cxx_override.cxx create mode 100644 Source/Checks/cm_cxx_unique_ptr.cxx rename Source/Checks/{cm_cxx11_unordered_map.cpp => cm_cxx_unordered_map.cxx} (100%) create mode 100644 Source/Checks/cm_cxx_unordered_set.cxx create mode 100644 Source/Modules/FindLibUV.cmake create mode 100644 Source/QtDialog/CMakeSetup64.png create mode 100644 Source/QtIFW/CMake.DeveloperReference.HTML.qs.in create mode 100644 Source/cmBase32.cxx create mode 100644 Source/cmBase32.h create mode 100644 Source/cmCustomCommandLines.h create mode 100644 Source/cmDocumentationEntry.h create mode 100644 Source/cmExportBuildAndroidMKGenerator.cxx create mode 100644 Source/cmExportBuildAndroidMKGenerator.h create mode 100644 Source/cmExportInstallAndroidMKGenerator.cxx create mode 100644 Source/cmExportInstallAndroidMKGenerator.h create mode 100644 Source/cmFileMonitor.cxx create mode 100644 Source/cmFileMonitor.h create mode 100644 Source/cmFilePathUuid.cxx create mode 100644 Source/cmFilePathUuid.h create mode 100644 Source/cmGlobalVisualStudio15Generator.cxx create mode 100644 Source/cmGlobalVisualStudio15Generator.h create mode 100644 Source/cmInstallExportAndroidMKGenerator.cxx create mode 100644 Source/cmInstallExportAndroidMKGenerator.h create mode 100644 Source/cmMessenger.cxx create mode 100644 Source/cmMessenger.h create mode 100644 Source/cmServer.cxx create mode 100644 Source/cmServer.h create mode 100644 Source/cmServerConnection.cxx create mode 100644 Source/cmServerConnection.h create mode 100644 Source/cmServerDictionary.h create mode 100644 Source/cmServerProtocol.cxx create mode 100644 Source/cmServerProtocol.h create mode 100644 Source/cmTargetLinkLibraryType.h create mode 100644 Source/cmTypeMacro.h create mode 100644 Source/cmUtils.hxx rename Source/{cmVS14CLFlagTable.h => cmVS140CLFlagTable.h} (99%) create mode 100644 Source/cmVS141CLFlagTable.h rename Source/{kwsys/auto_ptr.hxx.in => cm_auto_ptr.hxx} (58%) create mode 100644 Source/dir.dox create mode 100644 Source/dir.dox.in create mode 100644 Source/kwsys/ConsoleBuf.hxx.in delete mode 100644 Source/kwsys/testAutoPtr.cxx create mode 100644 Source/kwsys/testConsoleBuf.cxx create mode 100644 Source/kwsys/testConsoleBuf.hxx create mode 100644 Source/kwsys/testConsoleBufChild.cxx delete mode 100755 Templates/cygwin-package.sh.in create mode 100644 Tests/CMakeLib/testFindPackageCommand.cxx rename Utilities/Release/Cygwin/cygwin-patch.diff.in => Tests/CMakeOnly/find_library/lib/32/libtest5.a (100%) create mode 100644 Tests/CMakeOnly/find_library/lib/A/lib32/libtest3.a create mode 100644 Tests/CMakeOnly/find_library/lib32/A/lib/libtest2.a create mode 100644 Tests/CMakeOnly/find_library/lib32/A/lib32/libtest4.a create mode 100644 Tests/CMakeOnly/find_library/lib32/A/libtest4.a create mode 100644 Tests/CMakeOnly/find_library/lib32/libtest4.a create mode 100644 Tests/CMakeTests/String-TIMESTAMP-MonthWeekNames.cmake create mode 100644 Tests/ExternalProjectSourceSubdir/CMakeLists.txt create mode 100644 Tests/ExternalProjectSourceSubdir/Example/subdir/CMakeLists.txt create mode 100644 Tests/FindBZip2/CMakeLists.txt create mode 100644 Tests/FindBZip2/Test/CMakeLists.txt create mode 100644 Tests/FindBZip2/Test/main.c create mode 100644 Tests/FindICU/CMakeLists.txt create mode 100644 Tests/FindICU/Test/CMakeLists.txt create mode 100644 Tests/FindICU/Test/main.cpp create mode 100644 Tests/FindLibUV/CMakeLists.txt create mode 100644 Tests/FindLibUV/Test/CMakeLists.txt create mode 100644 Tests/FindLibUV/Test/main.c create mode 100644 Tests/FindMatlab/components_checks/CMakeLists.txt create mode 100644 Tests/FindOpenCL/CMakeLists.txt create mode 100644 Tests/FindOpenCL/Test/CMakeLists.txt create mode 100644 Tests/FindOpenCL/Test/main.c create mode 100644 Tests/FindPackageTest/Baz 1.3/lib/cmake/Baz/BazConfig.cmake create mode 100644 Tests/FindPackageTest/Baz 1.3/lib/cmake/Baz/BazConfigVersion.cmake create mode 100644 Tests/FindPackageTest/Baz 2.0/share/Baz 2/BazConfig.cmake create mode 100644 Tests/FindPackageTest/Baz 2.0/share/Baz 2/BazConfigVersion.cmake create mode 100644 Tests/FindPackageTest/Baz 2.1/lib/Baz 2/cmake/BazConfig.cmake create mode 100644 Tests/FindPackageTest/Baz 2.1/lib/Baz 2/cmake/BazConfigVersion.cmake create mode 100644 Tests/FindPackageTest/SortLib-3.1.1/SortLibConfig.cmake create mode 100644 Tests/FindPackageTest/SortLib-3.1.1/SortLibConfigVersion.cmake create mode 100644 Tests/FindPackageTest/SortLib-3.10.1/SortLibConfig.cmake create mode 100644 Tests/FindPackageTest/SortLib-3.10.1/SortLibConfigVersion.cmake create mode 100644 Tests/FindVulkan/CMakeLists.txt create mode 100644 Tests/FindVulkan/Test/CMakeLists.txt create mode 100644 Tests/FindVulkan/Test/main.c create mode 100644 Tests/FortranModules/CMakeLists.txt rename Tests/{Fortran => FortranModules}/Executable/CMakeLists.txt (100%) rename Tests/{Fortran => FortranModules}/Executable/main.f90 (100%) rename Tests/{Fortran => FortranModules}/External/CMakeLists.txt (98%) rename Tests/{Fortran => FortranModules}/External/a.f90 (100%) rename Tests/{Fortran => FortranModules}/Library/CMakeLists.txt (100%) rename Tests/{Fortran => FortranModules}/Library/a.f90 (100%) rename Tests/{Fortran => FortranModules}/Library/b.f90 (100%) rename Tests/{Fortran => FortranModules}/Library/main.f90 (100%) rename Tests/{Fortran => FortranModules}/Subdir/CMakeLists.txt (100%) rename Tests/{Fortran => FortranModules}/Subdir/subdir.f90 (100%) create mode 100644 Tests/FortranModules/Submodules/CMakeLists.txt create mode 100644 Tests/FortranModules/Submodules/main.f90 create mode 100644 Tests/FortranModules/Submodules/provide.f90 rename Tests/{Fortran => FortranModules}/in_interface/main.f90 (100%) rename Tests/{Fortran => FortranModules}/in_interface/module.f90 (100%) rename Tests/{Fortran => FortranModules}/include/test_preprocess.h (100%) create mode 100644 Tests/FortranModules/non_pp_include.f90 rename Tests/{Fortran => FortranModules}/test_module_implementation.f90 (100%) rename Tests/{Fortran => FortranModules}/test_module_interface.f90 (100%) rename Tests/{Fortran => FortranModules}/test_module_main.f90 (100%) create mode 100644 Tests/FortranModules/test_non_pp_include_main.f90 rename Tests/{Fortran => FortranModules}/test_preprocess.F90 (100%) rename Tests/{Fortran => FortranModules}/test_preprocess_module.F90 (100%) rename Tests/{Fortran => FortranModules}/test_use_in_comment_fixedform.f (100%) rename Tests/{Fortran => FortranModules}/test_use_in_comment_freeform.f90 (100%) create mode 100644 Tests/JavaExportImport/BuildExport/CMakeLists.txt create mode 100644 Tests/JavaExportImport/BuildExport/Foo.java create mode 100644 Tests/JavaExportImport/CMakeLists.txt create mode 100644 Tests/JavaExportImport/Import/CMakeLists.txt create mode 100644 Tests/JavaExportImport/Import/Import.java create mode 100644 Tests/JavaExportImport/InitialCache.cmake.in create mode 100644 Tests/JavaExportImport/InstallExport/Bar.java create mode 100644 Tests/JavaExportImport/InstallExport/CMakeLists.txt create mode 100644 Tests/JavaExportImport/main.c create mode 100644 Tests/Module/ExternalData/Data5/CMakeLists.txt create mode 100644 Tests/Module/ExternalData/Data5/Data5Check.cmake delete mode 100644 Tests/Module/GenerateExportHeader/exportheader_test.cpp delete mode 100644 Tests/Module/GenerateExportHeader/lib_shared_and_static/libshared_and_static.cpp delete mode 100644 Tests/Module/GenerateExportHeader/lib_shared_and_static/libshared_and_static.h delete mode 100644 Tests/Module/GenerateExportHeader/libshared/libshared.cpp delete mode 100644 Tests/Module/GenerateExportHeader/libshared/libshared.h delete mode 100644 Tests/Module/GenerateExportHeader/libstatic/libstatic.cpp delete mode 100644 Tests/Module/GenerateExportHeader/libstatic/libstatic.h create mode 100644 Tests/QtAutogen/rcc_empty.cpp create mode 100644 Tests/QtAutogen/rcc_empty_resource.qrc create mode 100644 Tests/QtAutogen/sameName/CMakeLists.txt create mode 100644 Tests/QtAutogen/sameName/aaa/bbb/data.qrc create mode 100644 Tests/QtAutogen/sameName/aaa/bbb/item.cpp create mode 100644 Tests/QtAutogen/sameName/aaa/bbb/item.hpp create mode 100644 Tests/QtAutogen/sameName/aaa/data.qrc create mode 100644 Tests/QtAutogen/sameName/aaa/item.cpp create mode 100644 Tests/QtAutogen/sameName/aaa/item.hpp create mode 100644 Tests/QtAutogen/sameName/bbb/aaa/data.qrc create mode 100644 Tests/QtAutogen/sameName/bbb/aaa/item.cpp create mode 100644 Tests/QtAutogen/sameName/bbb/aaa/item.hpp create mode 100644 Tests/QtAutogen/sameName/bbb/data.qrc create mode 100644 Tests/QtAutogen/sameName/bbb/item.cpp create mode 100644 Tests/QtAutogen/sameName/bbb/item.hpp create mode 100644 Tests/QtAutogen/sameName/ccc/data.qrc create mode 100644 Tests/QtAutogen/sameName/ccc/item.cpp create mode 100644 Tests/QtAutogen/sameName/ccc/item.hpp create mode 100644 Tests/QtAutogen/sameName/data.qrc create mode 100644 Tests/QtAutogen/sameName/item.cpp create mode 100644 Tests/QtAutogen/sameName/item.hpp create mode 100644 Tests/QtAutogen/sameName/main.cpp create mode 100644 Tests/RunCMake/Android/BadSYSROOT-result.txt create mode 100644 Tests/RunCMake/Android/BadSYSROOT-stderr.txt create mode 100644 Tests/RunCMake/Android/BadSYSROOT.cmake create mode 100644 Tests/RunCMake/Android/CMakeLists.txt create mode 100644 Tests/RunCMake/Android/RunCMakeTest.cmake create mode 100644 Tests/RunCMake/Android/android.c create mode 100644 Tests/RunCMake/Android/android.cxx create mode 100644 Tests/RunCMake/Android/android.h create mode 100644 Tests/RunCMake/Android/common.cmake create mode 100644 Tests/RunCMake/Android/ndk-arm64-v8a-stdout.txt create mode 100644 Tests/RunCMake/Android/ndk-arm64-v8a.cmake create mode 100644 Tests/RunCMake/Android/ndk-armeabi-arm-stdout.txt create mode 100644 Tests/RunCMake/Android/ndk-armeabi-arm.cmake create mode 100644 Tests/RunCMake/Android/ndk-armeabi-thumb-stdout.txt create mode 100644 Tests/RunCMake/Android/ndk-armeabi-thumb.cmake create mode 100644 Tests/RunCMake/Android/ndk-armeabi-v7a-neon-stdout.txt create mode 100644 Tests/RunCMake/Android/ndk-armeabi-v7a-neon.cmake create mode 100644 Tests/RunCMake/Android/ndk-armeabi-v7a-stdout.txt create mode 100644 Tests/RunCMake/Android/ndk-armeabi-v7a.cmake create mode 100644 Tests/RunCMake/Android/ndk-badabi-result.txt create mode 100644 Tests/RunCMake/Android/ndk-badabi-stderr.txt create mode 100644 Tests/RunCMake/Android/ndk-badabi.cmake create mode 100644 Tests/RunCMake/Android/ndk-badarm-result.txt create mode 100644 Tests/RunCMake/Android/ndk-badarm-stderr.txt create mode 100644 Tests/RunCMake/Android/ndk-badarm.cmake create mode 100644 Tests/RunCMake/Android/ndk-badneon-result.txt create mode 100644 Tests/RunCMake/Android/ndk-badneon-stderr.txt create mode 100644 Tests/RunCMake/Android/ndk-badneon.cmake create mode 100644 Tests/RunCMake/Android/ndk-badstl-result.txt create mode 100644 Tests/RunCMake/Android/ndk-badstl-stderr.txt create mode 100644 Tests/RunCMake/Android/ndk-badstl.cmake create mode 100644 Tests/RunCMake/Android/ndk-badver-result.txt create mode 100644 Tests/RunCMake/Android/ndk-badver-stderr.txt create mode 100644 Tests/RunCMake/Android/ndk-badver.cmake create mode 100644 Tests/RunCMake/Android/ndk-badvernum-result.txt create mode 100644 Tests/RunCMake/Android/ndk-badvernum-stderr.txt create mode 100644 Tests/RunCMake/Android/ndk-badvernum.cmake create mode 100644 Tests/RunCMake/Android/ndk-mips-stdout.txt create mode 100644 Tests/RunCMake/Android/ndk-mips.cmake create mode 100644 Tests/RunCMake/Android/ndk-mips64-stdout.txt create mode 100644 Tests/RunCMake/Android/ndk-mips64.cmake create mode 100644 Tests/RunCMake/Android/ndk-sysroot-armeabi-stdout.txt create mode 100644 Tests/RunCMake/Android/ndk-sysroot-armeabi.cmake create mode 100644 Tests/RunCMake/Android/ndk-x86-stdout.txt create mode 100644 Tests/RunCMake/Android/ndk-x86.cmake create mode 100644 Tests/RunCMake/Android/ndk-x86_64-stdout.txt create mode 100644 Tests/RunCMake/Android/ndk-x86_64.cmake create mode 100644 Tests/RunCMake/Android/standalone-stdout.txt create mode 100644 Tests/RunCMake/Android/standalone-sysroot-stdout.txt create mode 100644 Tests/RunCMake/Android/standalone-sysroot.cmake create mode 100644 Tests/RunCMake/Android/standalone.cmake create mode 100644 Tests/RunCMake/AndroidMK/AndroidMK-check.cmake create mode 100644 Tests/RunCMake/AndroidMK/AndroidMK.cmake create mode 100644 Tests/RunCMake/AndroidMK/CMakeLists.txt create mode 100644 Tests/RunCMake/AndroidMK/RunCMakeTest.cmake create mode 100644 Tests/RunCMake/AndroidMK/bar.c create mode 100644 Tests/RunCMake/AndroidMK/expectedBuildAndroidMK.txt create mode 100644 Tests/RunCMake/AndroidMK/expectedInstallAndroidMK.txt create mode 100644 Tests/RunCMake/AndroidMK/foo.cxx create mode 100644 Tests/RunCMake/AndroidTestUtilities/CMakeLists.txt create mode 100644 Tests/RunCMake/AndroidTestUtilities/RunCMakeTest.cmake create mode 100644 Tests/RunCMake/AndroidTestUtilities/SetupTest1.cmake create mode 100644 Tests/RunCMake/AndroidTestUtilities/SetupTest1Build-check.cmake create mode 100644 Tests/RunCMake/AndroidTestUtilities/SetupTest2.cmake create mode 100644 Tests/RunCMake/AndroidTestUtilities/SetupTest2Build-check.cmake create mode 100644 Tests/RunCMake/AndroidTestUtilities/SetupTest3.cmake create mode 100644 Tests/RunCMake/AndroidTestUtilities/SetupTest3Build-check.cmake create mode 100644 Tests/RunCMake/AndroidTestUtilities/check.cmake create mode 100644 Tests/RunCMake/AndroidTestUtilities/data/a.txt create mode 100644 Tests/RunCMake/AndroidTestUtilities/data/proto.proto create mode 100644 Tests/RunCMake/AndroidTestUtilities/data/subfolder/b.txt create mode 100644 Tests/RunCMake/AndroidTestUtilities/data/subfolder/protobuffer.p create mode 100644 Tests/RunCMake/AndroidTestUtilities/libs/exampleLib.so create mode 100644 Tests/RunCMake/AndroidTestUtilities/libs/exampleLib.txt create mode 100644 Tests/RunCMake/AutoExportDll/hello2.c create mode 100644 Tests/RunCMake/AutoExportDll/objlib.c create mode 100644 Tests/RunCMake/CPack/DEB/LONG_FILENAMES-ExpectedFiles.cmake create mode 100644 Tests/RunCMake/CPack/DEB/LONG_FILENAMES-Prerequirements.cmake create mode 100644 Tests/RunCMake/CPack/DEB/LONG_FILENAMES-VerifyResult.cmake create mode 100644 Tests/RunCMake/CPack/DEB/LONG_FILENAMES-specifics.cmake create mode 100644 Tests/RunCMake/CPack/DEBUGINFO.cmake create mode 100644 Tests/RunCMake/CPack/LONG_FILENAMES.cmake create mode 100644 Tests/RunCMake/CPack/PACKAGE_CHECKSUM.cmake create mode 100644 Tests/RunCMake/CPack/RPM/DEBUGINFO-ExpectedFiles.cmake create mode 100644 Tests/RunCMake/CPack/RPM/DEBUGINFO-stderr.txt create mode 100644 Tests/RunCMake/CPack/RPM/SOURCE_PACKAGE-ExpectedFiles.cmake create mode 100644 Tests/RunCMake/CPack/RPM/SOURCE_PACKAGE-VerifyResult.cmake create mode 100644 Tests/RunCMake/CPack/SOURCE_PACKAGE.cmake create mode 100644 Tests/RunCMake/CPack/TGZ/PACKAGE_CHECKSUM-ExpectedFiles.cmake create mode 100644 Tests/RunCMake/CPack/TGZ/PACKAGE_CHECKSUM-VerifyResult.cmake create mode 100644 Tests/RunCMake/CPack/TGZ/PACKAGE_CHECKSUM-invalid-stderr.txt create mode 100644 Tests/RunCMake/CommandLine/E_capabilities-arg-result.txt create mode 100644 Tests/RunCMake/CommandLine/E_capabilities-arg-stderr.txt create mode 100644 Tests/RunCMake/CommandLine/E_capabilities-stdout.txt create mode 100644 Tests/RunCMake/CommandLine/E_server-arg-result.txt create mode 100644 Tests/RunCMake/CommandLine/E_server-arg-stderr.txt create mode 100644 Tests/RunCMake/CommandLine/E_server-pipe-result.txt create mode 100644 Tests/RunCMake/CommandLine/E_server-pipe-stderr.txt create mode 100644 Tests/RunCMake/CommandLine/trace-only-this-file.cmake create mode 100644 Tests/RunCMake/CommandLine/trace-source-stderr.txt create mode 100644 Tests/RunCMake/CommandLine/trace-source.cmake create mode 100644 Tests/RunCMake/Configure/ContinueAfterError-result.txt create mode 100644 Tests/RunCMake/Configure/ContinueAfterError-stderr.txt create mode 100644 Tests/RunCMake/Configure/ContinueAfterError-stdout.txt create mode 100644 Tests/RunCMake/Configure/ContinueAfterError.cmake create mode 100644 Tests/RunCMake/FindPkgConfig/pc-bar/lib32/pkgconfig/.placeholder create mode 100644 Tests/RunCMake/FindPkgConfig/pc-foo/lib32/pkgconfig/.placeholder create mode 100644 Tests/RunCMake/GenerateExportHeader/CMakeLists.txt create mode 100644 Tests/RunCMake/GenerateExportHeader/GEH-build-stderr.txt create mode 100644 Tests/RunCMake/GenerateExportHeader/GEH-failures.cmake create mode 100644 Tests/RunCMake/GenerateExportHeader/GEH-link-error-result.txt create mode 100644 Tests/RunCMake/GenerateExportHeader/GEH-link-error-stderr.txt rename Tests/{Module/GenerateExportHeader/CMakeLists.txt => RunCMake/GenerateExportHeader/GEH.cmake} (77%) create mode 100644 Tests/RunCMake/GenerateExportHeader/RunCMakeTest.cmake rename Tests/{Module => RunCMake}/GenerateExportHeader/c_identifier/CMakeLists.txt (92%) rename Tests/{Module => RunCMake}/GenerateExportHeader/c_identifier/c_identifier_class.cpp (100%) rename Tests/{Module => RunCMake}/GenerateExportHeader/c_identifier/c_identifier_class.h (100%) rename Tests/{Module => RunCMake}/GenerateExportHeader/c_identifier/main.cpp (73%) create mode 100644 Tests/RunCMake/GenerateExportHeader/exportheader_test.cpp rename Tests/{Module => RunCMake}/GenerateExportHeader/lib_shared_and_static/CMakeLists.txt (80%) create mode 100644 Tests/RunCMake/GenerateExportHeader/lib_shared_and_static/libshared_and_static.cpp create mode 100644 Tests/RunCMake/GenerateExportHeader/lib_shared_and_static/libshared_and_static.h rename Tests/{Module => RunCMake}/GenerateExportHeader/libshared/CMakeLists.txt (79%) create mode 100644 Tests/RunCMake/GenerateExportHeader/libshared/libshared.cpp create mode 100644 Tests/RunCMake/GenerateExportHeader/libshared/libshared.h rename Tests/{Module => RunCMake}/GenerateExportHeader/libstatic/CMakeLists.txt (83%) create mode 100644 Tests/RunCMake/GenerateExportHeader/libstatic/libstatic.cpp create mode 100644 Tests/RunCMake/GenerateExportHeader/libstatic/libstatic.h rename Tests/{Module => RunCMake}/GenerateExportHeader/nodeprecated/CMakeLists.txt (89%) rename Tests/{Module => RunCMake}/GenerateExportHeader/nodeprecated/CMakeLists.txt.in (89%) rename Tests/{Module => RunCMake}/GenerateExportHeader/nodeprecated/src/main.cpp (77%) rename Tests/{Module => RunCMake}/GenerateExportHeader/nodeprecated/src/someclass.cpp (100%) rename Tests/{Module => RunCMake}/GenerateExportHeader/nodeprecated/src/someclass.h (100%) rename Tests/{Module => RunCMake}/GenerateExportHeader/reference/Empty/libshared_export.h (100%) rename Tests/{Module => RunCMake}/GenerateExportHeader/reference/Empty/libstatic_export.h (100%) rename Tests/{Module => RunCMake}/GenerateExportHeader/reference/MinGW/libshared_export.h (100%) rename Tests/{Module => RunCMake}/GenerateExportHeader/reference/MinGW/libstatic_export.h (100%) rename Tests/{Module => RunCMake}/GenerateExportHeader/reference/UNIX/libshared_export.h (100%) rename Tests/{Module => RunCMake}/GenerateExportHeader/reference/UNIX/libstatic_export.h (100%) rename Tests/{Module => RunCMake}/GenerateExportHeader/reference/UNIX_DeprecatedOnly/libshared_export.h (100%) rename Tests/{Module => RunCMake}/GenerateExportHeader/reference/UNIX_DeprecatedOnly/libstatic_export.h (100%) rename Tests/{Module => RunCMake}/GenerateExportHeader/reference/Win32-Clang/libshared_export.h (100%) rename Tests/{Module => RunCMake}/GenerateExportHeader/reference/Win32-Clang/libstatic_export.h (100%) rename Tests/{Module => RunCMake}/GenerateExportHeader/reference/Win32/libshared_export.h (100%) rename Tests/{Module => RunCMake}/GenerateExportHeader/reference/Win32/libstatic_export.h (100%) rename Tests/{Module => RunCMake}/GenerateExportHeader/reference/WinEmpty/libshared_export.h (100%) rename Tests/{Module => RunCMake}/GenerateExportHeader/reference/WinEmpty/libstatic_export.h (100%) create mode 100644 Tests/RunCMake/GeneratorExpression/LINK_ONLY-not-linking-result.txt create mode 100644 Tests/RunCMake/GeneratorExpression/LINK_ONLY-not-linking-stderr.txt create mode 100644 Tests/RunCMake/GeneratorExpression/LINK_ONLY-not-linking.cmake create mode 100644 Tests/RunCMake/LinkWhatYouUse/C-Build-stdout.txt create mode 100644 Tests/RunCMake/LinkWhatYouUse/C-launch-Build-stdout.txt create mode 100644 Tests/RunCMake/LinkWhatYouUse/C-launch.cmake create mode 100644 Tests/RunCMake/LinkWhatYouUse/C.cmake create mode 100644 Tests/RunCMake/LinkWhatYouUse/CMakeLists.txt create mode 100644 Tests/RunCMake/LinkWhatYouUse/CXX-Build-stdout.txt create mode 100644 Tests/RunCMake/LinkWhatYouUse/CXX-launch-Build-stdout.txt create mode 100644 Tests/RunCMake/LinkWhatYouUse/CXX-launch.cmake create mode 100644 Tests/RunCMake/LinkWhatYouUse/CXX.cmake create mode 100644 Tests/RunCMake/LinkWhatYouUse/RunCMakeTest.cmake create mode 100644 Tests/RunCMake/LinkWhatYouUse/main.c create mode 100644 Tests/RunCMake/LinkWhatYouUse/main.cxx create mode 100644 Tests/RunCMake/Make/CustomCommandDepfile-ERROR-result.txt create mode 100644 Tests/RunCMake/Make/CustomCommandDepfile-ERROR-stderr.txt create mode 100644 Tests/RunCMake/Make/CustomCommandDepfile-ERROR.cmake create mode 100644 Tests/RunCMake/Ninja/CustomCommandDepfile-check.cmake create mode 100644 Tests/RunCMake/Ninja/CustomCommandDepfile.cmake create mode 100644 Tests/RunCMake/Ninja/SubDir-install-stdout.txt create mode 100644 Tests/RunCMake/Ninja/SubDir-test-stdout.txt create mode 100644 Tests/RunCMake/Syntax/CommandEOF-result.txt create mode 100644 Tests/RunCMake/Syntax/CommandEOF-stderr.txt create mode 100644 Tests/RunCMake/Syntax/CommandEOF.cmake create mode 100644 Tests/RunCMake/ToolchainFile/FlagsInit-stdout.txt create mode 100644 Tests/RunCMake/ToolchainFile/FlagsInit-toolchain.cmake create mode 100644 Tests/RunCMake/ToolchainFile/FlagsInit.cmake create mode 100644 Tests/RunCMake/ToolchainFile/LinkFlagsInit-stdout.txt create mode 100644 Tests/RunCMake/ToolchainFile/LinkFlagsInit-toolchain.cmake create mode 100644 Tests/RunCMake/ToolchainFile/LinkFlagsInit.cmake create mode 100644 Tests/RunCMake/XcodeProject/XcodeAttributeLocation-check.cmake create mode 100644 Tests/RunCMake/XcodeProject/XcodeAttributeLocation.cmake create mode 100644 Tests/RunCMake/XcodeProject/XcodeBundles-install-check.cmake create mode 100644 Tests/RunCMake/add_custom_target/TargetOrder.cmake create mode 100644 Tests/RunCMake/add_subdirectory/ExcludeFromAll.cmake create mode 100644 Tests/RunCMake/add_subdirectory/ExcludeFromAll/CMakeLists.txt create mode 100644 Tests/RunCMake/add_subdirectory/ExcludeFromAll/bar.cpp create mode 100644 Tests/RunCMake/add_subdirectory/ExcludeFromAll/foo.cpp create mode 100644 Tests/RunCMake/add_subdirectory/ExcludeFromAll/foo.h create mode 100644 Tests/RunCMake/add_subdirectory/main.cpp create mode 100644 Tests/RunCMake/cmake_parse_arguments/ArgvN.cmake create mode 100644 Tests/RunCMake/cmake_parse_arguments/BadArgvN1-result.txt create mode 100644 Tests/RunCMake/cmake_parse_arguments/BadArgvN1-stderr.txt create mode 100644 Tests/RunCMake/cmake_parse_arguments/BadArgvN1.cmake create mode 100644 Tests/RunCMake/cmake_parse_arguments/BadArgvN2-result.txt create mode 100644 Tests/RunCMake/cmake_parse_arguments/BadArgvN2-stderr.txt create mode 100644 Tests/RunCMake/cmake_parse_arguments/BadArgvN2.cmake create mode 100644 Tests/RunCMake/cmake_parse_arguments/BadArgvN3-result.txt create mode 100644 Tests/RunCMake/cmake_parse_arguments/BadArgvN3-stderr.txt create mode 100644 Tests/RunCMake/cmake_parse_arguments/BadArgvN3.cmake create mode 100644 Tests/RunCMake/cmake_parse_arguments/BadArgvN4-result.txt create mode 100644 Tests/RunCMake/cmake_parse_arguments/BadArgvN4-stderr.txt create mode 100644 Tests/RunCMake/cmake_parse_arguments/BadArgvN4.cmake create mode 100644 Tests/RunCMake/cmake_parse_arguments/CornerCasesArgvN.cmake create mode 100644 Tests/RunCMake/ctest_cmake_error/CMakeLists.txt.in create mode 100644 Tests/RunCMake/ctest_cmake_error/CTestCaptureErrorNonZero-stderr.txt create mode 100644 Tests/RunCMake/ctest_cmake_error/CTestCaptureErrorZero-stderr.txt create mode 100644 Tests/RunCMake/ctest_cmake_error/CTestCaptureErrorZero-stdout.txt create mode 100644 Tests/RunCMake/ctest_cmake_error/CTestConfig.cmake.in create mode 100644 Tests/RunCMake/ctest_cmake_error/CoverageQuiet-stdout.txt create mode 100644 Tests/RunCMake/ctest_cmake_error/RunCMakeTest.cmake create mode 100644 Tests/RunCMake/ctest_cmake_error/test.cmake.in create mode 100644 Tests/RunCMake/ctest_fixtures/CMakeLists.txt.in create mode 100644 Tests/RunCMake/ctest_fixtures/CTestConfig.cmake.in create mode 100644 Tests/RunCMake/ctest_fixtures/RunCMakeTest.cmake create mode 100644 Tests/RunCMake/ctest_fixtures/cyclicCleanup-result.txt create mode 100644 Tests/RunCMake/ctest_fixtures/cyclicCleanup-stderr.txt create mode 100644 Tests/RunCMake/ctest_fixtures/cyclicCleanup-stdout.txt create mode 100644 Tests/RunCMake/ctest_fixtures/cyclicSetup-result.txt create mode 100644 Tests/RunCMake/ctest_fixtures/cyclicSetup-stderr.txt create mode 100644 Tests/RunCMake/ctest_fixtures/cyclicSetup-stdout.txt create mode 100644 Tests/RunCMake/ctest_fixtures/one-stdout.txt create mode 100644 Tests/RunCMake/ctest_fixtures/setupFoo-stdout.txt create mode 100644 Tests/RunCMake/ctest_fixtures/test.cmake.in create mode 100644 Tests/RunCMake/ctest_fixtures/three-stdout.txt create mode 100644 Tests/RunCMake/ctest_fixtures/two-stdout.txt create mode 100644 Tests/RunCMake/ctest_fixtures/wontRun-stdout.txt create mode 100644 Tests/RunCMake/file/DOWNLOAD-httpheader-not-set-result.txt create mode 100644 Tests/RunCMake/file/DOWNLOAD-httpheader-not-set-stderr.txt create mode 100644 Tests/RunCMake/file/DOWNLOAD-httpheader-not-set.cmake create mode 100644 Tests/RunCMake/file/DOWNLOAD-pass-not-set-result.txt create mode 100644 Tests/RunCMake/file/DOWNLOAD-pass-not-set-stderr.txt create mode 100644 Tests/RunCMake/file/DOWNLOAD-pass-not-set.cmake create mode 100644 Tests/RunCMake/file/DOWNLOAD-unused-argument-result.txt create mode 100644 Tests/RunCMake/file/DOWNLOAD-unused-argument-stderr.txt create mode 100644 Tests/RunCMake/file/DOWNLOAD-unused-argument.cmake create mode 100644 Tests/RunCMake/file/DOWNLOAD-unused-argument.txt create mode 100644 Tests/RunCMake/file/LOCK-lowercase.cmake create mode 100644 Tests/RunCMake/file/UPLOAD-httpheader-not-set-result.txt create mode 100644 Tests/RunCMake/file/UPLOAD-httpheader-not-set-stderr.txt create mode 100644 Tests/RunCMake/file/UPLOAD-httpheader-not-set.cmake create mode 100644 Tests/RunCMake/file/UPLOAD-pass-not-set-result.txt create mode 100644 Tests/RunCMake/file/UPLOAD-pass-not-set-stderr.txt create mode 100644 Tests/RunCMake/file/UPLOAD-pass-not-set.cmake create mode 100644 Tests/RunCMake/file/UPLOAD-unused-argument-result.txt create mode 100644 Tests/RunCMake/file/UPLOAD-unused-argument-stderr.txt create mode 100644 Tests/RunCMake/file/UPLOAD-unused-argument.cmake create mode 100644 Tests/RunCMake/file/UPLOAD-unused-argument.txt create mode 100644 Tests/RunCMake/find_path/Frameworks/Foo.framework/Headers/Some/Dir/Header.h create mode 100644 Tests/RunCMake/find_path/FrameworksWithSubdirs-stdout.txt create mode 100644 Tests/RunCMake/find_path/FrameworksWithSubdirs.cmake create mode 100644 Tests/RunCMake/get_property/directory_properties/CMakeLists.txt create mode 100644 Tests/RunCMake/get_property/directory_properties/sub1/CMakeLists.txt create mode 100644 Tests/RunCMake/get_property/directory_properties/sub2/CMakeLists.txt create mode 100644 Tests/RunCMake/message/message-internal-warning-stderr.txt create mode 100644 Tests/RunCMake/message/message-internal-warning.cmake create mode 100644 Tests/RunCMake/message/nomessage-internal-warning-stderr.txt create mode 100644 Tests/RunCMake/message/nomessage-internal-warning.cmake create mode 100644 Tests/RunCMake/project/ExplicitRC.cmake create mode 100644 Tests/RunCMake/try_compile/CMP0066-stderr.txt create mode 100644 Tests/RunCMake/try_compile/CMP0066-stdout.txt create mode 100644 Tests/RunCMake/try_compile/CMP0066.cmake create mode 100644 Tests/Server/CMakeLists.txt create mode 100644 Tests/Server/buildsystem1/CMakeLists.txt create mode 100644 Tests/Server/buildsystem1/foo.cpp create mode 100644 Tests/Server/buildsystem1/main.cpp create mode 100644 Tests/Server/buildsystem1/subdir/CMakeLists.txt create mode 100644 Tests/Server/buildsystem1/subdir/empty.cpp create mode 100644 Tests/Server/cmakelib.py create mode 100644 Tests/Server/cmakelib.pyc create mode 100644 Tests/Server/empty.cpp create mode 100644 Tests/Server/server-test.py create mode 100644 Tests/Server/tc_buildsystem1.json create mode 100644 Tests/Server/tc_globalSettings.json create mode 100644 Tests/Server/tc_handshake.json create mode 100644 Tests/VSWinStorePhone/Direct3DApp1/Strings/en-US/Resources.resw create mode 100644 Utilities/Doxygen/DeveloperReference/mainpage.dox delete mode 100644 Utilities/Doxygen/authors.txt delete mode 100755 Utilities/Doxygen/doc_makeall.sh.in delete mode 100644 Utilities/KWStyle/Headers/CMakeHeader.h delete mode 100644 Utilities/Release/Cygwin/CMakeLists.txt delete mode 100644 Utilities/Release/Cygwin/README.cygwin.in delete mode 100755 Utilities/Release/Cygwin/cygwin-package.sh.in delete mode 100644 Utilities/Release/Cygwin/cygwin-setup.hint.in delete mode 100644 Utilities/Release/cygwin_release.cmake delete mode 100644 Utilities/Release/linux32_release.cmake create mode 100755 Utilities/Scripts/update-liblzma.bash create mode 100755 Utilities/Scripts/update-libuv.bash create mode 100755 Utilities/Scripts/update-vim-syntax.bash create mode 100644 Utilities/cm_uv.h delete mode 100644 Utilities/cmliblzma/README-CMake.txt create mode 100644 Utilities/cmlibuv/.gitattributes create mode 100644 Utilities/cmlibuv/CMakeLists.txt create mode 100644 Utilities/cmlibuv/LICENSE create mode 100644 Utilities/cmlibuv/include/android-ifaddrs.h create mode 100644 Utilities/cmlibuv/include/pthread-barrier.h create mode 100644 Utilities/cmlibuv/include/stdint-msvc2008.h create mode 100644 Utilities/cmlibuv/include/tree.h create mode 100644 Utilities/cmlibuv/include/uv-aix.h create mode 100644 Utilities/cmlibuv/include/uv-bsd.h create mode 100644 Utilities/cmlibuv/include/uv-darwin.h create mode 100644 Utilities/cmlibuv/include/uv-errno.h create mode 100644 Utilities/cmlibuv/include/uv-linux.h create mode 100644 Utilities/cmlibuv/include/uv-os390.h create mode 100644 Utilities/cmlibuv/include/uv-sunos.h create mode 100644 Utilities/cmlibuv/include/uv-threadpool.h create mode 100644 Utilities/cmlibuv/include/uv-unix.h create mode 100644 Utilities/cmlibuv/include/uv-version.h create mode 100644 Utilities/cmlibuv/include/uv-win.h create mode 100644 Utilities/cmlibuv/include/uv.h create mode 100644 Utilities/cmlibuv/src/fs-poll.c create mode 100644 Utilities/cmlibuv/src/heap-inl.h create mode 100644 Utilities/cmlibuv/src/inet.c create mode 100644 Utilities/cmlibuv/src/queue.h create mode 100644 Utilities/cmlibuv/src/threadpool.c create mode 100644 Utilities/cmlibuv/src/unix/aix.c create mode 100644 Utilities/cmlibuv/src/unix/android-ifaddrs.c create mode 100644 Utilities/cmlibuv/src/unix/async.c create mode 100644 Utilities/cmlibuv/src/unix/atomic-ops.h create mode 100644 Utilities/cmlibuv/src/unix/core.c create mode 100644 Utilities/cmlibuv/src/unix/darwin-proctitle.c create mode 100644 Utilities/cmlibuv/src/unix/darwin.c create mode 100644 Utilities/cmlibuv/src/unix/dl.c create mode 100644 Utilities/cmlibuv/src/unix/freebsd.c create mode 100644 Utilities/cmlibuv/src/unix/fs.c create mode 100644 Utilities/cmlibuv/src/unix/fsevents.c create mode 100644 Utilities/cmlibuv/src/unix/getaddrinfo.c create mode 100644 Utilities/cmlibuv/src/unix/getnameinfo.c create mode 100644 Utilities/cmlibuv/src/unix/internal.h create mode 100644 Utilities/cmlibuv/src/unix/kqueue.c create mode 100644 Utilities/cmlibuv/src/unix/linux-core.c create mode 100644 Utilities/cmlibuv/src/unix/linux-inotify.c create mode 100644 Utilities/cmlibuv/src/unix/linux-syscalls.c create mode 100644 Utilities/cmlibuv/src/unix/linux-syscalls.h create mode 100644 Utilities/cmlibuv/src/unix/loop-watcher.c create mode 100644 Utilities/cmlibuv/src/unix/loop.c create mode 100644 Utilities/cmlibuv/src/unix/netbsd.c create mode 100644 Utilities/cmlibuv/src/unix/openbsd.c create mode 100644 Utilities/cmlibuv/src/unix/os390.c create mode 100644 Utilities/cmlibuv/src/unix/pipe.c create mode 100644 Utilities/cmlibuv/src/unix/poll.c create mode 100644 Utilities/cmlibuv/src/unix/process.c create mode 100644 Utilities/cmlibuv/src/unix/proctitle.c create mode 100644 Utilities/cmlibuv/src/unix/pthread-barrier.c create mode 100644 Utilities/cmlibuv/src/unix/pthread-fixes.c create mode 100644 Utilities/cmlibuv/src/unix/signal.c create mode 100644 Utilities/cmlibuv/src/unix/spinlock.h create mode 100644 Utilities/cmlibuv/src/unix/stream.c create mode 100644 Utilities/cmlibuv/src/unix/sunos.c create mode 100644 Utilities/cmlibuv/src/unix/tcp.c create mode 100644 Utilities/cmlibuv/src/unix/thread.c create mode 100644 Utilities/cmlibuv/src/unix/timer.c create mode 100644 Utilities/cmlibuv/src/unix/tty.c create mode 100644 Utilities/cmlibuv/src/unix/udp.c create mode 100644 Utilities/cmlibuv/src/uv-common.c create mode 100644 Utilities/cmlibuv/src/uv-common.h create mode 100644 Utilities/cmlibuv/src/version.c create mode 100644 Utilities/cmlibuv/src/win/async.c create mode 100644 Utilities/cmlibuv/src/win/atomicops-inl.h create mode 100644 Utilities/cmlibuv/src/win/core.c create mode 100644 Utilities/cmlibuv/src/win/detect-wakeup.c create mode 100644 Utilities/cmlibuv/src/win/dl.c create mode 100644 Utilities/cmlibuv/src/win/error.c create mode 100644 Utilities/cmlibuv/src/win/fs-event.c create mode 100644 Utilities/cmlibuv/src/win/fs.c create mode 100644 Utilities/cmlibuv/src/win/getaddrinfo.c create mode 100644 Utilities/cmlibuv/src/win/getnameinfo.c create mode 100644 Utilities/cmlibuv/src/win/handle-inl.h create mode 100644 Utilities/cmlibuv/src/win/handle.c create mode 100644 Utilities/cmlibuv/src/win/internal.h create mode 100644 Utilities/cmlibuv/src/win/loop-watcher.c create mode 100644 Utilities/cmlibuv/src/win/pipe.c create mode 100644 Utilities/cmlibuv/src/win/poll.c create mode 100644 Utilities/cmlibuv/src/win/process-stdio.c create mode 100644 Utilities/cmlibuv/src/win/process.c create mode 100644 Utilities/cmlibuv/src/win/req-inl.h create mode 100644 Utilities/cmlibuv/src/win/req.c create mode 100644 Utilities/cmlibuv/src/win/signal.c create mode 100644 Utilities/cmlibuv/src/win/snprintf.c create mode 100644 Utilities/cmlibuv/src/win/stream-inl.h create mode 100644 Utilities/cmlibuv/src/win/stream.c create mode 100644 Utilities/cmlibuv/src/win/tcp.c create mode 100644 Utilities/cmlibuv/src/win/thread.c create mode 100644 Utilities/cmlibuv/src/win/timer.c create mode 100644 Utilities/cmlibuv/src/win/tty.c create mode 100644 Utilities/cmlibuv/src/win/udp.c create mode 100644 Utilities/cmlibuv/src/win/util.c create mode 100644 Utilities/cmlibuv/src/win/winapi.c create mode 100644 Utilities/cmlibuv/src/win/winapi.h create mode 100644 Utilities/cmlibuv/src/win/winsock.c create mode 100644 Utilities/cmlibuv/src/win/winsock.h diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000..5d1732d17 --- /dev/null +++ b/.gitignore @@ -0,0 +1,7 @@ +# Exclude MacOS Finder files. +.DS_Store + +*.user* + +*.pyc +Testing diff --git a/.hooks-config.bash b/.hooks-config.bash index 97152f651..ea9342a53 100644 --- a/.hooks-config.bash +++ b/.hooks-config.bash @@ -1,14 +1,5 @@ -#============================================================================= -# CMake - Cross Platform Makefile Generator -# Copyright 2000-2011 Kitware, Inc., Insight Software Consortium -# -# 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. -#============================================================================= +# Distributed under the OSI-approved BSD 3-Clause License. See accompanying +# file Copyright.txt or https://cmake.org/licensing for details. # Loaded by .git/hooks/(pre-commit|commit-msg|prepare-commit-msg) # during git commit after local hooks have been installed. diff --git a/Auxiliary/CMakeLists.txt b/Auxiliary/CMakeLists.txt index c003b28e7..8eb74b7ac 100644 --- a/Auxiliary/CMakeLists.txt +++ b/Auxiliary/CMakeLists.txt @@ -1,4 +1,4 @@ -install(FILES cmake-help.vim cmake-indent.vim cmake-syntax.vim DESTINATION ${CMAKE_DATA_DIR}/editors/vim) +install(DIRECTORY vim/indent vim/syntax DESTINATION ${CMAKE_DATA_DIR}/editors/vim) install(FILES cmake-mode.el DESTINATION ${CMAKE_DATA_DIR}/editors/emacs) install(FILES cmake.m4 DESTINATION share/aclocal) add_subdirectory (bash-completion) diff --git a/Auxiliary/bash-completion/cmake b/Auxiliary/bash-completion/cmake index 60611296e..0a862fa07 100644 --- a/Auxiliary/bash-completion/cmake +++ b/Auxiliary/bash-completion/cmake @@ -102,7 +102,7 @@ _cmake() ;; -E) COMPREPLY=( $( compgen -W "$( cmake -E help |& sed -n \ - '/^ /{s|^ \([^ ]\{1,\}\) .*$|\1|;p}' 2>/dev/null )" \ + '/^ [^ ]/{s|^ \([^ ]\{1,\}\) .*$|\1|;p}' 2>/dev/null )" \ -- "$cur" ) ) return ;; diff --git a/Auxiliary/cmake-help.vim b/Auxiliary/cmake-help.vim deleted file mode 100644 index 17cfa838e..000000000 --- a/Auxiliary/cmake-help.vim +++ /dev/null @@ -1,21 +0,0 @@ -nmap ,hc :call OpenCmakeHelp() - -function! OpenCmakeHelp() - let s = getline( '.' ) - let i = col( '.' ) - 1 - while i > 0 && strpart( s, i, 1 ) =~ '[A-Za-z0-9_]' - let i = i - 1 - endwhile - while i < col('$') && strpart( s, i, 1 ) !~ '[A-Za-z0-9_]' - let i = i + 1 - endwhile - let start = match( s, '[A-Za-z0-9_]\+', i ) - let end = matchend( s, '[A-Za-z0-9_]\+', i ) - let ident = strpart( s, start, end - start ) - execute "vertical new" - execute "%!cmake --help-command ".ident - set nomodified - set readonly -endfunction - -autocmd BufRead,BufNewFile *.cmake,CMakeLists.txt,*.cmake.in nmap :call OpenCmakeHelp() diff --git a/Auxiliary/cmake-mode.el b/Auxiliary/cmake-mode.el index 20def8be2..a1b43c5b6 100644 --- a/Auxiliary/cmake-mode.el +++ b/Auxiliary/cmake-mode.el @@ -1,16 +1,7 @@ ;;; cmake-mode.el --- major-mode for editing CMake sources -;============================================================================= -; CMake - Cross Platform Makefile Generator -; Copyright 2000-2009 Kitware, Inc., Insight Software Consortium -; -; 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. -;============================================================================= +; Distributed under the OSI-approved BSD 3-Clause License. See accompanying +; file Copyright.txt or https://cmake.org/licensing for details. ;------------------------------------------------------------------------------ @@ -113,6 +104,14 @@ set the path with these commands: ;------------------------------------------------------------------------------ +;; +;; Indentation increment. +;; +(defcustom cmake-tab-width 2 + "Number of columns to indent cmake blocks" + :type 'integer + :group 'cmake) + ;; ;; Line indentation function. ;; @@ -225,13 +224,6 @@ the indentation. Otherwise it retains the same position on the line" ;; (defvar cmake-mode-hook nil) -;; -;; Indentation increment. -;; -(defcustom cmake-tab-width 2 - "Number of columns to indent cmake blocks" - :type 'integer) - ;------------------------------------------------------------------------------ ;; For compatibility with Emacs < 24 @@ -270,7 +262,7 @@ optional argument topic will be appended to the argument list." (save-selected-window (select-window (display-buffer buffer 'not-this-window)) (cmake-mode) - (toggle-read-only t)) + (read-only-mode 1)) ) ) diff --git a/Auxiliary/cmake-syntax.vim b/Auxiliary/cmake-syntax.vim deleted file mode 100644 index 624a8c4f3..000000000 --- a/Auxiliary/cmake-syntax.vim +++ /dev/null @@ -1,89 +0,0 @@ -" ============================================================================= -" -" Program: CMake - Cross-Platform Makefile Generator -" Module: $RCSfile$ -" Language: VIM -" Date: $Date$ -" Version: $Revision$ -" -" ============================================================================= - -" Vim syntax file -" Language: CMake -" Author: Andy Cedilnik -" Maintainer: Karthik Krishnan -" Last Change: $Date$ -" Version: $Revision$ -" -" Licence: The CMake license applies to this file. See -" https://cmake.org/licensing -" This implies that distribution with Vim is allowed - -" For version 5.x: Clear all syntax items -" For version 6.x: Quit when a syntax file was already loaded -if version < 600 - syntax clear -elseif exists("b:current_syntax") - finish -endif - -syn case ignore -syn match cmakeEscaped /\(\\\\\|\\"\|\\n\|\\t\)/ contained -syn region cmakeComment start="#" end="$" contains=cmakeTodo -syn region cmakeRegistry start=/\[/ end=/]/ - \ contained oneline contains=CONTAINED,cmakeTodo,cmakeEscaped -syn region cmakeVariableValue start=/\${/ end=/}/ - \ contained oneline contains=CONTAINED,cmakeTodo -syn region cmakeEnvironment start=/\$ENV{/ end=/}/ - \ contained oneline contains=CONTAINED,cmakeTodo -syn region cmakeString start=/"/ end=/"/ - \ contains=CONTAINED,cmakeTodo,cmakeOperators -syn region cmakeArguments start=/(/ end=/)/ - \ contains=ALLBUT,cmakeArguments,cmakeTodo -syn keyword cmakeSystemVariables - \ WIN32 UNIX APPLE CYGWIN BORLAND MINGW MSVC MSVC_IDE MSVC60 MSVC70 MSVC71 MSVC80 MSVC90 -syn keyword cmakeOperators - \ ABSOLUTE AND BOOL CACHE COMMAND DEFINED DOC EQUAL EXISTS EXT FALSE GREATER INTERNAL LESS MATCHES NAME NAMES NAME_WE NOT OFF ON OR PATH PATHS PROGRAM STREQUAL STRGREATER STRING STRLESS TRUE - \ contained -syn keyword cmakeDeprecated ABSTRACT_FILES BUILD_NAME SOURCE_FILES SOURCE_FILES_REMOVE VTK_MAKE_INSTANTIATOR VTK_WRAP_JAVA VTK_WRAP_PYTHON VTK_WRAP_TCL WRAP_EXCLUDE_FILES - \ nextgroup=cmakeArguments - -" The keywords are generated as: cmake --help-command-list | tr "\n" " " | tr "[:lower:]" "[:upper:]" -syn keyword cmakeStatement - \ ADD_COMPILE_OPTIONS ADD_CUSTOM_COMMAND ADD_CUSTOM_TARGET ADD_DEFINITIONS ADD_DEPENDENCIES ADD_EXECUTABLE ADD_LIBRARY ADD_SUBDIRECTORY ADD_TEST AUX_SOURCE_DIRECTORY BREAK BUILD_COMMAND BUILD_NAME CMAKE_HOST_SYSTEM_INFORMATION CMAKE_MINIMUM_REQUIRED CMAKE_POLICY CONFIGURE_FILE CREATE_TEST_SOURCELIST CTEST_BUILD CTEST_CONFIGURE CTEST_COVERAGE CTEST_EMPTY_BINARY_DIRECTORY CTEST_MEMCHECK CTEST_READ_CUSTOM_FILES CTEST_RUN_SCRIPT CTEST_SLEEP CTEST_START CTEST_SUBMIT CTEST_TEST CTEST_UPDATE CTEST_UPLOAD DEFINE_PROPERTY ELSE ELSEIF ENABLE_LANGUAGE ENABLE_TESTING ENDFOREACH ENDFUNCTION ENDIF ENDMACRO ENDWHILE EXEC_PROGRAM EXECUTE_PROCESS EXPORT EXPORT_LIBRARY_DEPENDENCIES FILE FIND_FILE FIND_LIBRARY FIND_PACKAGE FIND_PATH FIND_PROGRAM FLTK_WRAP_UI FOREACH FUNCTION GET_CMAKE_PROPERTY GET_DIRECTORY_PROPERTY GET_FILENAME_COMPONENT GET_PROPERTY GET_SOURCE_FILE_PROPERTY GET_TARGET_PROPERTY GET_TEST_PROPERTY IF INCLUDE INCLUDE_DIRECTORIES INCLUDE_EXTERNAL_MSPROJECT INCLUDE_REGULAR_EXPRESSION INSTALL INSTALL_FILES INSTALL_PROGRAMS INSTALL_TARGETS LINK_DIRECTORIES LINK_LIBRARIES LIST LOAD_CACHE LOAD_COMMAND MACRO MAKE_DIRECTORY MARK_AS_ADVANCED MATH MESSAGE OPTION OUTPUT_REQUIRED_FILES PROJECT QT_WRAP_CPP QT_WRAP_UI REMOVE REMOVE_DEFINITIONS RETURN SEPARATE_ARGUMENTS SET SET_DIRECTORY_PROPERTIES SET_PROPERTY SET_SOURCE_FILES_PROPERTIES SET_TARGET_PROPERTIES SET_TESTS_PROPERTIES SITE_NAME SOURCE_GROUP STRING SUBDIR_DEPENDS SUBDIRS TARGET_COMPILE_DEFINITIONS TARGET_COMPILE_FEATURES TARGET_COMPILE_OPTIONS TARGET_INCLUDE_DIRECTORIES TARGET_LINK_LIBRARIES TARGET_SOURCES TRY_COMPILE TRY_RUN UNSET USE_MANGLED_MESA UTILITY_SOURCE VARIABLE_REQUIRES VARIABLE_WATCH WHILE WRITE_FILE - \ nextgroup=cmakeArguments -syn keyword cmakeTodo - \ TODO FIXME XXX - \ contained - -" Define the default highlighting. -" For version 5.7 and earlier: only when not done already -" For version 5.8 and later: only when an item doesn't have highlighting yet -if version >= 508 || !exists("did_cmake_syntax_inits") - if version < 508 - let did_cmake_syntax_inits = 1 - command -nargs=+ HiLink hi link - else - command -nargs=+ HiLink hi def link - endif - - HiLink cmakeStatement Statement - HiLink cmakeComment Comment - HiLink cmakeString String - HiLink cmakeVariableValue Type - HiLink cmakeRegistry Underlined - HiLink cmakeArguments Identifier - HiLink cmakeArgument Constant - HiLink cmakeEnvironment Special - HiLink cmakeOperators Operator - HiLink cmakeMacro PreProc - HiLink cmakeError Error - HiLink cmakeTodo TODO - HiLink cmakeEscaped Special - - delcommand HiLink -endif - -let b:current_syntax = "cmake" - -"EOF" diff --git a/Auxiliary/cmake.m4 b/Auxiliary/cmake.m4 index a374a3bfb..3ef4c1617 100644 --- a/Auxiliary/cmake.m4 +++ b/Auxiliary/cmake.m4 @@ -1,14 +1,5 @@ -dnl ============================================================================ -dnl CMake - Cross Platform Makefile Generator -dnl Copyright 2011 Matthias Kretz, kretz@kde.org -dnl -dnl Distributed under the OSI-approved BSD License (the "License"); -dnl see accompanying file Copyright.txt for details. -dnl -dnl This software is distributed WITHOUT ANY WARRANTY; without even the -dnl implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. -dnl See the License for more information. -dnl ============================================================================ +dnl Distributed under the OSI-approved BSD 3-Clause License. See accompanying +dnl file Copyright.txt or https://cmake.org/licensing for details. AC_DEFUN([CMAKE_FIND_BINARY], [AC_ARG_VAR([CMAKE_BINARY], [path to the cmake binary])dnl diff --git a/Auxiliary/vim/cmake.vim.in b/Auxiliary/vim/cmake.vim.in new file mode 100644 index 000000000..89ece6618 --- /dev/null +++ b/Auxiliary/vim/cmake.vim.in @@ -0,0 +1,91 @@ +" vim: set nowrap: +" Vim syntax file +" Language: CMake +" Author: Andy Cedilnik , Nicholas Hutchinson , Patrick Boettcher +" Maintainer: Karthik Krishnan +" Last Change: $Date$ +" Version: $Revision$ +" +" Licence: The CMake license applies to this file. See +" https://cmake.org/licensing +" This implies that distribution with Vim is allowed + +if exists("b:current_syntax") + finish +endif + +syn match cmakeEscaped /\(\\\\\|\\"\|\\n\|\\t\)/ contained +syn region cmakeComment start="#" end="$" contains=cmakeTodo,@Spell +syn region cmakeLuaComment start="\[\z(=*\)\[" end="\]\z1\]" contains=cmakeTodo,@Spell +syn region cmakeGeneratorExpression start=/$/ + \ contained oneline contains=CONTAINED,cmakeTodo,cmakeVariable,cmakeProperty,cmakeGeneratorExpressions +syn region cmakeRegistry start=/\[/ end=/]/ + \ contained oneline contains=CONTAINED,cmakeTodo,cmakeEscaped +syn region cmakeVariableValue start=/\${/ end=/}/ + \ contained oneline contains=CONTAINED,cmakeTodo,cmakeVariable +syn region cmakeEnvironment start=/\$ENV{/ end=/}/ + \ contained oneline contains=CONTAINED,cmakeTodo +syn region cmakeString start=/"/ end=/"/ + \ contains=CONTAINED,cmakeTodo +syn region cmakeArguments start=/(/ end=/)/ + \ contains=ALLBUT,cmakeArguments,cmakeTodo + +syn case match +syn keyword cmakeProperty + \ ABSTRACT ADDITIONAL_MAKE_CLEAN_FILES ADVANCED ALIASED_TARGET ALLOW_DUPLICATE_CUSTOM_TARGETS ANDROID_ANT_ADDITIONAL_OPTIONS ANDROID_API ANDROID_API_MIN ANDROID_ARCH ANDROID_ASSETS_DIRECTORIES ANDROID_GUI ANDROID_JAR_DEPENDENCIES ANDROID_JAR_DIRECTORIES ANDROID_JAVA_SOURCE_DIR ANDROID_NATIVE_LIB_DEPENDENCIES ANDROID_NATIVE_LIB_DIRECTORIES ANDROID_PROCESS_MAX ANDROID_PROGUARD ANDROID_PROGUARD_CONFIG_PATH ANDROID_SECURE_PROPS_PATH ANDROID_SKIP_ANT_STEP ANDROID_STL_TYPE ARCHIVE_OUTPUT_DIRECTORY ARCHIVE_OUTPUT_DIRECTORY_DEBUG ARCHIVE_OUTPUT_DIRECTORY_RELEASE ARCHIVE_OUTPUT_NAME ARCHIVE_OUTPUT_NAME_DEBUG ARCHIVE_OUTPUT_NAME_RELEASE ATTACHED_FILES ATTACHED_FILES_ON_FAIL AUTOGEN_TARGETS_FOLDER AUTOGEN_TARGET_DEPENDS AUTOMOC AUTOMOC_MOC_OPTIONS AUTOMOC_TARGETS_FOLDER AUTORCC AUTORCC_OPTIONS AUTOUIC AUTOUIC_OPTIONS BINARY_DIR BUILD_WITH_INSTALL_RPATH BUNDLE BUNDLE_EXTENSION CACHE_VARIABLES CLEAN_NO_CUSTOM CMAKE_CONFIGURE_DEPENDS CMAKE_CXX_KNOWN_FEATURES CMAKE_C_KNOWN_FEATURES COMPATIBLE_INTERFACE_BOOL COMPATIBLE_INTERFACE_NUMBER_MAX COMPATIBLE_INTERFACE_NUMBER_MIN COMPATIBLE_INTERFACE_STRING COMPILE_DEFINITIONS COMPILE_DEFINITIONS_DEBUG COMPILE_DEFINITIONS_RELEASE COMPILE_FEATURES COMPILE_FLAGS COMPILE_OPTIONS COMPILE_PDB_NAME COMPILE_PDB_NAME_DEBUG COMPILE_PDB_NAME_RELEASE COMPILE_PDB_OUTPUT_DIRECTORY COMPILE_PDB_OUTPUT_DIRECTORY_DEBUG COMPILE_PDB_OUTPUT_DIRECTORY_RELEASE COST CPACK_DESKTOP_SHORTCUTS CPACK_NEVER_OVERWRITE CPACK_PERMANENT CPACK_STARTUP_SHORTCUTS CPACK_START_MENU_SHORTCUTS CPACK_WIX_ACL CROSSCOMPILING_EMULATOR CXX_EXTENSIONS CXX_STANDARD CXX_STANDARD_REQUIRED C_EXTENSIONS C_STANDARD C_STANDARD_REQUIRED DEBUG_CONFIGURATIONS DEBUG_POSTFIX DEFINE_SYMBOL DEFINITIONS DEPENDS DISABLED_FEATURES ECLIPSE_EXTRA_NATURES ENABLED_FEATURES ENABLED_LANGUAGES ENABLE_EXPORTS ENVIRONMENT EXCLUDE_FROM_ALL EXCLUDE_FROM_DEFAULT_BUILD EXCLUDE_FROM_DEFAULT_BUILD_DEBUG EXCLUDE_FROM_DEFAULT_BUILD_RELEASE EXPORT_NAME EXTERNAL_OBJECT EchoString FAIL_REGULAR_EXPRESSION FIND_LIBRARY_USE_LIB64_PATHS FIND_LIBRARY_USE_OPENBSD_VERSIONING FOLDER FRAMEWORK FRAMEWORK_VERSION Fortran_FORMAT Fortran_MODULE_DIRECTORY GENERATED GENERATOR_FILE_NAME GLOBAL_DEPENDS_DEBUG_MODE GLOBAL_DEPENDS_NO_CYCLES GNUtoMS HAS_CXX HEADER_FILE_ONLY HELPSTRING IMPLICIT_DEPENDS_INCLUDE_TRANSFORM IMPORTED IMPORTED_CONFIGURATIONS IMPORTED_IMPLIB IMPORTED_IMPLIB_DEBUG IMPORTED_IMPLIB_RELEASE IMPORTED_LINK_DEPENDENT_LIBRARIES IMPORTED_LINK_DEPENDENT_LIBRARIES_DEBUG IMPORTED_LINK_DEPENDENT_LIBRARIES_RELEASE IMPORTED_LINK_INTERFACE_LANGUAGES IMPORTED_LINK_INTERFACE_LANGUAGES_DEBUG IMPORTED_LINK_INTERFACE_LANGUAGES_RELEASE IMPORTED_LINK_INTERFACE_LIBRARIES IMPORTED_LINK_INTERFACE_LIBRARIES_DEBUG IMPORTED_LINK_INTERFACE_LIBRARIES_RELEASE IMPORTED_LINK_INTERFACE_MULTIPLICITY IMPORTED_LINK_INTERFACE_MULTIPLICITY_DEBUG IMPORTED_LINK_INTERFACE_MULTIPLICITY_RELEASE IMPORTED_LOCATION IMPORTED_LOCATION_DEBUG IMPORTED_LOCATION_RELEASE IMPORTED_NO_SONAME IMPORTED_NO_SONAME_DEBUG IMPORTED_NO_SONAME_RELEASE IMPORTED_SONAME IMPORTED_SONAME_DEBUG IMPORTED_SONAME_RELEASE IMPORT_PREFIX IMPORT_SUFFIX INCLUDE_DIRECTORIES INCLUDE_REGULAR_EXPRESSION INSTALL_NAME_DIR INSTALL_RPATH INSTALL_RPATH_USE_LINK_PATH INTERFACE_AUTOUIC_OPTIONS INTERFACE_COMPILE_DEFINITIONS INTERFACE_COMPILE_FEATURES INTERFACE_COMPILE_OPTIONS INTERFACE_INCLUDE_DIRECTORIES INTERFACE_LINK_LIBRARIES INTERFACE_POSITION_INDEPENDENT_CODE INTERFACE_SOURCES INTERFACE_SYSTEM_INCLUDE_DIRECTORIES INTERPROCEDURAL_OPTIMIZATION INTERPROCEDURAL_OPTIMIZATION_DEBUG INTERPROCEDURAL_OPTIMIZATION_RELEASE IN_TRY_COMPILE JOB_POOLS JOB_POOL_COMPILE JOB_POOL_LINK KEEP_EXTENSION LABELS LANGUAGE LIBRARY_OUTPUT_DIRECTORY LIBRARY_OUTPUT_DIRECTORY_DEBUG LIBRARY_OUTPUT_DIRECTORY_RELEASE LIBRARY_OUTPUT_NAME LIBRARY_OUTPUT_NAME_DEBUG LIBRARY_OUTPUT_NAME_RELEASE LINKER_LANGUAGE LINK_DEPENDS LINK_DEPENDS_NO_SHARED LINK_DIRECTORIES LINK_FLAGS LINK_FLAGS_DEBUG LINK_FLAGS_RELEASE LINK_INTERFACE_LIBRARIES LINK_INTERFACE_LIBRARIES_DEBUG LINK_INTERFACE_LIBRARIES_RELEASE LINK_INTERFACE_MULTIPLICITY LINK_INTERFACE_MULTIPLICITY_DEBUG LINK_INTERFACE_MULTIPLICITY_RELEASE LINK_LIBRARIES LINK_SEARCH_END_STATIC LINK_SEARCH_START_STATIC LISTFILE_STACK LOCATION LOCATION_DEBUG LOCATION_RELEASE MACOSX_BUNDLE MACOSX_BUNDLE_INFO_PLIST MACOSX_FRAMEWORK_INFO_PLIST MACOSX_PACKAGE_LOCATION MACOSX_RPATH MACROS MAP_IMPORTED_CONFIG_DEBUG MAP_IMPORTED_CONFIG_RELEASE MEASUREMENT MODIFIED NAME NO_SONAME NO_SYSTEM_FROM_IMPORTED OBJECT_DEPENDS OBJECT_OUTPUTS OSX_ARCHITECTURES OSX_ARCHITECTURES_DEBUG OSX_ARCHITECTURES_RELEASE OUTPUT_NAME OUTPUT_NAME_DEBUG OUTPUT_NAME_RELEASE PACKAGES_FOUND PACKAGES_NOT_FOUND PARENT_DIRECTORY PASS_REGULAR_EXPRESSION PDB_NAME PDB_NAME_DEBUG PDB_NAME_RELEASE PDB_OUTPUT_DIRECTORY PDB_OUTPUT_DIRECTORY_DEBUG PDB_OUTPUT_DIRECTORY_RELEASE POSITION_INDEPENDENT_CODE POST_INSTALL_SCRIPT PREDEFINED_TARGETS_FOLDER PREFIX PRE_INSTALL_SCRIPT PRIVATE_HEADER PROCESSORS PROJECT_LABEL PUBLIC_HEADER REPORT_UNDEFINED_PROPERTIES REQUIRED_FILES RESOURCE RESOURCE_LOCK RULE_LAUNCH_COMPILE RULE_LAUNCH_CUSTOM RULE_LAUNCH_LINK RULE_MESSAGES RUNTIME_OUTPUT_DIRECTORY RUNTIME_OUTPUT_DIRECTORY_DEBUG RUNTIME_OUTPUT_DIRECTORY_RELEASE RUNTIME_OUTPUT_NAME RUNTIME_OUTPUT_NAME_DEBUG RUNTIME_OUTPUT_NAME_RELEASE RUN_SERIAL SKIP_BUILD_RPATH SKIP_RETURN_CODE SOURCES SOURCE_DIR SOVERSION STATIC_LIBRARY_FLAGS STATIC_LIBRARY_FLAGS_DEBUG STATIC_LIBRARY_FLAGS_RELEASE STRINGS SUFFIX SYMBOLIC TARGET_ARCHIVES_MAY_BE_SHARED_LIBS TARGET_MESSAGES TARGET_SUPPORTS_SHARED_LIBS TEST_INCLUDE_FILE TIMEOUT TYPE USE_FOLDERS VALUE VARIABLES VERSION VISIBILITY_INLINES_HIDDEN VS_DEPLOYMENT_CONTENT VS_DEPLOYMENT_LOCATION VS_DESKTOP_EXTENSIONS_VERSION VS_DOTNET_REFERENCES VS_DOTNET_TARGET_FRAMEWORK_VERSION VS_GLOBAL_KEYWORD VS_GLOBAL_PROJECT_TYPES VS_GLOBAL_ROOTNAMESPACE VS_IOT_EXTENSIONS_VERSION VS_IOT_STARTUP_TASK VS_KEYWORD VS_MOBILE_EXTENSIONS_VERSION VS_SCC_AUXPATH VS_SCC_LOCALPATH VS_SCC_PROJECTNAME VS_SCC_PROVIDER VS_SHADER_ENTRYPOINT VS_SHADER_FLAGS VS_SHADER_MODEL VS_SHADER_TYPE VS_WINDOWS_TARGET_PLATFORM_MIN_VERSION VS_WINRT_COMPONENT VS_WINRT_EXTENSIONS VS_WINRT_REFERENCES VS_XAML_TYPE WILL_FAIL WIN32_EXECUTABLE WINDOWS_EXPORT_ALL_SYMBOLS WORKING_DIRECTORY WRAP_EXCLUDE XCODE_EXPLICIT_FILE_TYPE XCODE_LAST_KNOWN_FILE_TYPE XCTEST + \ contained + +syn keyword cmakeVariable +@VARIABLE_LIST@ + \ contained + +syn keyword cmakeModule +@MODULES@ + \ contained + +@KEYWORDS@ + +syn keyword cmakeGeneratorExpressions +@GENERATOR_EXPRESSIONS@ + \ contained + +syn case ignore +syn keyword cmakeCommand +@COMMAND_LIST@ + \ nextgroup=cmakeArguments +syn keyword cmakeCommandConditional +@CONDITIONALS@ + \ nextgroup=cmakeArguments +syn keyword cmakeCommandRepeat +@LOOPS@ + \ nextgroup=cmakeArguments +syn keyword cmakeCommandDeprecated +@DEPRECATED@ + \ nextgroup=cmakeArguments +syn case match + +syn keyword cmakeTodo + \ TODO FIXME XXX + \ contained + +hi def link cmakeCommand Function +hi def link cmakeCommandConditional Conditional +hi def link cmakeCommandDeprecated WarningMsg +hi def link cmakeCommandRepeat Repeat +hi def link cmakeComment Comment +hi def link cmakeEnvironment Special +hi def link cmakeEscaped Special +hi def link cmakeGeneratorExpression WarningMsg +hi def link cmakeGeneratorExpressions ModeMsg +hi def link cmakeLuaComment Comment +hi def link cmakeModule Include +hi def link cmakeProperty Constant +hi def link cmakeRegistry Underlined +hi def link cmakeString String +hi def link cmakeTodo TODO +hi def link cmakeVariable Identifier +hi def link cmakeVariableValue Type + +@KEYWORDS_HIGHLIGHT@ + +let b:current_syntax = "cmake" diff --git a/Auxiliary/vim/extract-upper-case.pl b/Auxiliary/vim/extract-upper-case.pl new file mode 100755 index 000000000..e945d5211 --- /dev/null +++ b/Auxiliary/vim/extract-upper-case.pl @@ -0,0 +1,141 @@ +#!/usr/bin/env perl + +use strict; +use warnings; + +my @variables; +my @commands; +my @properties; +my @modules; +my %keywords; # command => keyword-list + +# unwanted upper-cases +my %unwanted = map { $_ => 1 } qw(VS CXX IDE NOTFOUND NO_ DFOO DBAR); + # cannot remove ALL - exists for add_custom_command + +# control-statements +my %conditional = map { $_ => 1 } qw(if else elseif endif); +my %loop = map { $_ => 1 } qw(foreach while endforeach endwhile); + +# decrecated +my %deprecated = map { $_ => 1 } qw(build_name exec_program export_library_dependencies install_files install_programs install_targets link_libraries make_directory output_required_files remove subdir_depends subdirs use_mangled_mesa utility_source variable_requires write_file); + +# add some (popular) modules +push @modules, "ExternalProject"; + +# variables +open(CMAKE, "cmake --help-variable-list|") or die "could not run cmake"; +while () { + chomp; + push @variables, $_; +} +close(CMAKE); + +# transform all variables in a hash - to be able to use exists later on +my %variables = map { $_ => 1 } @variables; + +# commands +open(CMAKE, "cmake --help-command-list|"); +while (my $cmd = ) { + chomp $cmd; + + push @commands, $cmd; +} +close(CMAKE); + +# now generate a keyword-list per command +foreach my $cmd (@commands) { + my @word = extract_upper("cmake --help-command $cmd|"); + + next if scalar @word == 0; + + $keywords{$cmd} = [ sort keys %{ { map { $_ => 1 } @word } } ]; +} + +# and now for modules +foreach my $mod (@modules) { + my @word = extract_upper("cmake --help-module $mod|"); + + next if scalar @word == 0; + + $keywords{$mod} = [ sort keys %{ { map { $_ => 1 } @word } } ]; +} + +# and now for generator-expressions +my @generator_expr = extract_upper("cmake --help-manual cmake-generator-expressions |"); + +# properties +open(CMAKE, "cmake --help-property-list|"); +while () { + chomp; + push @properties, $_; +} +close(CMAKE); + +# generate cmake.vim +open(IN, "syntax/cmake.vim") or die "could not write to syntax/cmake.vim"; + +my @keyword_hi; + +while() +{ + if (m/\@([A-Z0-9_]+)\@/) { # match for @SOMETHING@ + if ($1 eq "COMMAND_LIST") { + # do not include "special" commands in this list + my @tmp = grep { ! exists $conditional{$_} and + ! exists $loop{$_} and + ! exists $deprecated{$_} } @commands; + print OUT " " x 12 , "\\ ", join(" ", @tmp), "\n"; + } elsif ($1 eq "VARIABLE_LIST") { + print OUT " " x 12 , "\\ ", join(" ", @variables), "\n"; + } elsif ($1 eq "MODULES") { + print OUT " " x 12 , "\\ ", join("\n", @modules), "\n"; + } elsif ($1 eq "GENERATOR_EXPRESSIONS") { + print OUT " " x 12 , "\\ ", join(" ", @generator_expr), "\n"; + } elsif ($1 eq "CONDITIONALS") { + print OUT " " x 12 , "\\ ", join(" ", sort keys %conditional), "\n"; + } elsif ($1 eq "LOOPS") { + print OUT " " x 12 , "\\ ", join(" ", sort keys %loop), "\n"; + } elsif ($1 eq "DEPRECATED") { + print OUT " " x 12 , "\\ ", join(" ", sort keys %deprecated), "\n"; + } elsif ($1 eq "KEYWORDS") { + foreach my $k (sort keys %keywords) { + print OUT "syn keyword cmakeKW$k\n"; + print OUT " " x 12, "\\ ", join(" ", @{$keywords{$k}}), "\n"; + print OUT " " x 12, "\\ contained\n"; + print OUT "\n"; + push @keyword_hi, "hi def link cmakeKW$k ModeMsg"; + } + } elsif ($1 eq "KEYWORDS_HIGHLIGHT") { + print OUT join("\n", @keyword_hi), "\n"; + } else { + print "ERROR do not know how to replace $1\n"; + } + } else { + print OUT $_; + } +} +close(IN); +close(OUT); + +sub extract_upper +{ + my $input = shift; + my @word; + + open(KW, $input); + while () { + + foreach my $w (m/\b([A-Z_]{2,})\b/g) { + next + if exists $variables{$w} or # skip if it is a variable + exists $unwanted{$w}; # skip if not wanted + + push @word, $w; + } + } + close(KW); + + return @word; +} diff --git a/Auxiliary/cmake-indent.vim b/Auxiliary/vim/indent/cmake.vim similarity index 88% rename from Auxiliary/cmake-indent.vim rename to Auxiliary/vim/indent/cmake.vim index fa088e4dd..76aff64a6 100644 --- a/Auxiliary/cmake-indent.vim +++ b/Auxiliary/vim/indent/cmake.vim @@ -1,13 +1,3 @@ -" ============================================================================= -" -" Program: CMake - Cross-Platform Makefile Generator -" Module: $RCSfile$ -" Language: VIM -" Date: $Date$ -" Version: $Revision$ -" -" ============================================================================= - " Vim indent file " Language: CMake (ft=cmake) " Author: Andy Cedilnik diff --git a/Auxiliary/vim/syntax/cmake.vim b/Auxiliary/vim/syntax/cmake.vim new file mode 100644 index 000000000..11b0fcb4a --- /dev/null +++ b/Auxiliary/vim/syntax/cmake.vim @@ -0,0 +1,554 @@ +" vim: set nowrap: +" Vim syntax file +" Language: CMake +" Author: Andy Cedilnik , Nicholas Hutchinson , Patrick Boettcher +" Maintainer: Karthik Krishnan +" Last Change: $Date$ +" Version: $Revision$ +" +" Licence: The CMake license applies to this file. See +" https://cmake.org/licensing +" This implies that distribution with Vim is allowed + +if exists("b:current_syntax") + finish +endif + +syn match cmakeEscaped /\(\\\\\|\\"\|\\n\|\\t\)/ contained +syn region cmakeComment start="#" end="$" contains=cmakeTodo,@Spell +syn region cmakeLuaComment start="\[\z(=*\)\[" end="\]\z1\]" contains=cmakeTodo,@Spell +syn region cmakeGeneratorExpression start=/$/ + \ contained oneline contains=CONTAINED,cmakeTodo,cmakeVariable,cmakeProperty,cmakeGeneratorExpressions +syn region cmakeRegistry start=/\[/ end=/]/ + \ contained oneline contains=CONTAINED,cmakeTodo,cmakeEscaped +syn region cmakeVariableValue start=/\${/ end=/}/ + \ contained oneline contains=CONTAINED,cmakeTodo,cmakeVariable +syn region cmakeEnvironment start=/\$ENV{/ end=/}/ + \ contained oneline contains=CONTAINED,cmakeTodo +syn region cmakeString start=/"/ end=/"/ + \ contains=CONTAINED,cmakeTodo +syn region cmakeArguments start=/(/ end=/)/ + \ contains=ALLBUT,cmakeArguments,cmakeTodo + +syn case match +syn keyword cmakeProperty + \ ABSTRACT ADDITIONAL_MAKE_CLEAN_FILES ADVANCED ALIASED_TARGET ALLOW_DUPLICATE_CUSTOM_TARGETS ANDROID_ANT_ADDITIONAL_OPTIONS ANDROID_API ANDROID_API_MIN ANDROID_ARCH ANDROID_ASSETS_DIRECTORIES ANDROID_GUI ANDROID_JAR_DEPENDENCIES ANDROID_JAR_DIRECTORIES ANDROID_JAVA_SOURCE_DIR ANDROID_NATIVE_LIB_DEPENDENCIES ANDROID_NATIVE_LIB_DIRECTORIES ANDROID_PROCESS_MAX ANDROID_PROGUARD ANDROID_PROGUARD_CONFIG_PATH ANDROID_SECURE_PROPS_PATH ANDROID_SKIP_ANT_STEP ANDROID_STL_TYPE ARCHIVE_OUTPUT_DIRECTORY ARCHIVE_OUTPUT_DIRECTORY_DEBUG ARCHIVE_OUTPUT_DIRECTORY_RELEASE ARCHIVE_OUTPUT_NAME ARCHIVE_OUTPUT_NAME_DEBUG ARCHIVE_OUTPUT_NAME_RELEASE ATTACHED_FILES ATTACHED_FILES_ON_FAIL AUTOGEN_TARGETS_FOLDER AUTOGEN_TARGET_DEPENDS AUTOMOC AUTOMOC_MOC_OPTIONS AUTOMOC_TARGETS_FOLDER AUTORCC AUTORCC_OPTIONS AUTOUIC AUTOUIC_OPTIONS BINARY_DIR BUILD_WITH_INSTALL_RPATH BUNDLE BUNDLE_EXTENSION CACHE_VARIABLES CLEAN_NO_CUSTOM CMAKE_CONFIGURE_DEPENDS CMAKE_CXX_KNOWN_FEATURES CMAKE_C_KNOWN_FEATURES COMPATIBLE_INTERFACE_BOOL COMPATIBLE_INTERFACE_NUMBER_MAX COMPATIBLE_INTERFACE_NUMBER_MIN COMPATIBLE_INTERFACE_STRING COMPILE_DEFINITIONS COMPILE_DEFINITIONS_DEBUG COMPILE_DEFINITIONS_RELEASE COMPILE_FEATURES COMPILE_FLAGS COMPILE_OPTIONS COMPILE_PDB_NAME COMPILE_PDB_NAME_DEBUG COMPILE_PDB_NAME_RELEASE COMPILE_PDB_OUTPUT_DIRECTORY COMPILE_PDB_OUTPUT_DIRECTORY_DEBUG COMPILE_PDB_OUTPUT_DIRECTORY_RELEASE COST CPACK_DESKTOP_SHORTCUTS CPACK_NEVER_OVERWRITE CPACK_PERMANENT CPACK_STARTUP_SHORTCUTS CPACK_START_MENU_SHORTCUTS CPACK_WIX_ACL CROSSCOMPILING_EMULATOR CXX_EXTENSIONS CXX_STANDARD CXX_STANDARD_REQUIRED C_EXTENSIONS C_STANDARD C_STANDARD_REQUIRED DEBUG_CONFIGURATIONS DEBUG_POSTFIX DEFINE_SYMBOL DEFINITIONS DEPENDS DISABLED_FEATURES ECLIPSE_EXTRA_NATURES ENABLED_FEATURES ENABLED_LANGUAGES ENABLE_EXPORTS ENVIRONMENT EXCLUDE_FROM_ALL EXCLUDE_FROM_DEFAULT_BUILD EXCLUDE_FROM_DEFAULT_BUILD_DEBUG EXCLUDE_FROM_DEFAULT_BUILD_RELEASE EXPORT_NAME EXTERNAL_OBJECT EchoString FAIL_REGULAR_EXPRESSION FIND_LIBRARY_USE_LIB64_PATHS FIND_LIBRARY_USE_OPENBSD_VERSIONING FOLDER FRAMEWORK FRAMEWORK_VERSION Fortran_FORMAT Fortran_MODULE_DIRECTORY GENERATED GENERATOR_FILE_NAME GLOBAL_DEPENDS_DEBUG_MODE GLOBAL_DEPENDS_NO_CYCLES GNUtoMS HAS_CXX HEADER_FILE_ONLY HELPSTRING IMPLICIT_DEPENDS_INCLUDE_TRANSFORM IMPORTED IMPORTED_CONFIGURATIONS IMPORTED_IMPLIB IMPORTED_IMPLIB_DEBUG IMPORTED_IMPLIB_RELEASE IMPORTED_LINK_DEPENDENT_LIBRARIES IMPORTED_LINK_DEPENDENT_LIBRARIES_DEBUG IMPORTED_LINK_DEPENDENT_LIBRARIES_RELEASE IMPORTED_LINK_INTERFACE_LANGUAGES IMPORTED_LINK_INTERFACE_LANGUAGES_DEBUG IMPORTED_LINK_INTERFACE_LANGUAGES_RELEASE IMPORTED_LINK_INTERFACE_LIBRARIES IMPORTED_LINK_INTERFACE_LIBRARIES_DEBUG IMPORTED_LINK_INTERFACE_LIBRARIES_RELEASE IMPORTED_LINK_INTERFACE_MULTIPLICITY IMPORTED_LINK_INTERFACE_MULTIPLICITY_DEBUG IMPORTED_LINK_INTERFACE_MULTIPLICITY_RELEASE IMPORTED_LOCATION IMPORTED_LOCATION_DEBUG IMPORTED_LOCATION_RELEASE IMPORTED_NO_SONAME IMPORTED_NO_SONAME_DEBUG IMPORTED_NO_SONAME_RELEASE IMPORTED_SONAME IMPORTED_SONAME_DEBUG IMPORTED_SONAME_RELEASE IMPORT_PREFIX IMPORT_SUFFIX INCLUDE_DIRECTORIES INCLUDE_REGULAR_EXPRESSION INSTALL_NAME_DIR INSTALL_RPATH INSTALL_RPATH_USE_LINK_PATH INTERFACE_AUTOUIC_OPTIONS INTERFACE_COMPILE_DEFINITIONS INTERFACE_COMPILE_FEATURES INTERFACE_COMPILE_OPTIONS INTERFACE_INCLUDE_DIRECTORIES INTERFACE_LINK_LIBRARIES INTERFACE_POSITION_INDEPENDENT_CODE INTERFACE_SOURCES INTERFACE_SYSTEM_INCLUDE_DIRECTORIES INTERPROCEDURAL_OPTIMIZATION INTERPROCEDURAL_OPTIMIZATION_DEBUG INTERPROCEDURAL_OPTIMIZATION_RELEASE IN_TRY_COMPILE JOB_POOLS JOB_POOL_COMPILE JOB_POOL_LINK KEEP_EXTENSION LABELS LANGUAGE LIBRARY_OUTPUT_DIRECTORY LIBRARY_OUTPUT_DIRECTORY_DEBUG LIBRARY_OUTPUT_DIRECTORY_RELEASE LIBRARY_OUTPUT_NAME LIBRARY_OUTPUT_NAME_DEBUG LIBRARY_OUTPUT_NAME_RELEASE LINKER_LANGUAGE LINK_DEPENDS LINK_DEPENDS_NO_SHARED LINK_DIRECTORIES LINK_FLAGS LINK_FLAGS_DEBUG LINK_FLAGS_RELEASE LINK_INTERFACE_LIBRARIES LINK_INTERFACE_LIBRARIES_DEBUG LINK_INTERFACE_LIBRARIES_RELEASE LINK_INTERFACE_MULTIPLICITY LINK_INTERFACE_MULTIPLICITY_DEBUG LINK_INTERFACE_MULTIPLICITY_RELEASE LINK_LIBRARIES LINK_SEARCH_END_STATIC LINK_SEARCH_START_STATIC LISTFILE_STACK LOCATION LOCATION_DEBUG LOCATION_RELEASE MACOSX_BUNDLE MACOSX_BUNDLE_INFO_PLIST MACOSX_FRAMEWORK_INFO_PLIST MACOSX_PACKAGE_LOCATION MACOSX_RPATH MACROS MAP_IMPORTED_CONFIG_DEBUG MAP_IMPORTED_CONFIG_RELEASE MEASUREMENT MODIFIED NAME NO_SONAME NO_SYSTEM_FROM_IMPORTED OBJECT_DEPENDS OBJECT_OUTPUTS OSX_ARCHITECTURES OSX_ARCHITECTURES_DEBUG OSX_ARCHITECTURES_RELEASE OUTPUT_NAME OUTPUT_NAME_DEBUG OUTPUT_NAME_RELEASE PACKAGES_FOUND PACKAGES_NOT_FOUND PARENT_DIRECTORY PASS_REGULAR_EXPRESSION PDB_NAME PDB_NAME_DEBUG PDB_NAME_RELEASE PDB_OUTPUT_DIRECTORY PDB_OUTPUT_DIRECTORY_DEBUG PDB_OUTPUT_DIRECTORY_RELEASE POSITION_INDEPENDENT_CODE POST_INSTALL_SCRIPT PREDEFINED_TARGETS_FOLDER PREFIX PRE_INSTALL_SCRIPT PRIVATE_HEADER PROCESSORS PROJECT_LABEL PUBLIC_HEADER REPORT_UNDEFINED_PROPERTIES REQUIRED_FILES RESOURCE RESOURCE_LOCK RULE_LAUNCH_COMPILE RULE_LAUNCH_CUSTOM RULE_LAUNCH_LINK RULE_MESSAGES RUNTIME_OUTPUT_DIRECTORY RUNTIME_OUTPUT_DIRECTORY_DEBUG RUNTIME_OUTPUT_DIRECTORY_RELEASE RUNTIME_OUTPUT_NAME RUNTIME_OUTPUT_NAME_DEBUG RUNTIME_OUTPUT_NAME_RELEASE RUN_SERIAL SKIP_BUILD_RPATH SKIP_RETURN_CODE SOURCES SOURCE_DIR SOVERSION STATIC_LIBRARY_FLAGS STATIC_LIBRARY_FLAGS_DEBUG STATIC_LIBRARY_FLAGS_RELEASE STRINGS SUFFIX SYMBOLIC TARGET_ARCHIVES_MAY_BE_SHARED_LIBS TARGET_MESSAGES TARGET_SUPPORTS_SHARED_LIBS TEST_INCLUDE_FILE TIMEOUT TYPE USE_FOLDERS VALUE VARIABLES VERSION VISIBILITY_INLINES_HIDDEN VS_DEPLOYMENT_CONTENT VS_DEPLOYMENT_LOCATION VS_DESKTOP_EXTENSIONS_VERSION VS_DOTNET_REFERENCES VS_DOTNET_TARGET_FRAMEWORK_VERSION VS_GLOBAL_KEYWORD VS_GLOBAL_PROJECT_TYPES VS_GLOBAL_ROOTNAMESPACE VS_IOT_EXTENSIONS_VERSION VS_IOT_STARTUP_TASK VS_KEYWORD VS_MOBILE_EXTENSIONS_VERSION VS_SCC_AUXPATH VS_SCC_LOCALPATH VS_SCC_PROJECTNAME VS_SCC_PROVIDER VS_SHADER_ENTRYPOINT VS_SHADER_FLAGS VS_SHADER_MODEL VS_SHADER_TYPE VS_WINDOWS_TARGET_PLATFORM_MIN_VERSION VS_WINRT_COMPONENT VS_WINRT_EXTENSIONS VS_WINRT_REFERENCES VS_XAML_TYPE WILL_FAIL WIN32_EXECUTABLE WINDOWS_EXPORT_ALL_SYMBOLS WORKING_DIRECTORY WRAP_EXCLUDE XCODE_EXPLICIT_FILE_TYPE XCODE_LAST_KNOWN_FILE_TYPE XCTEST + \ contained + +syn keyword cmakeVariable + \ _BINARY_DIR _SOURCE_DIR _VERSION _VERSION_MAJOR _VERSION_MINOR _VERSION_PATCH _VERSION_TWEAK APPLE BORLAND BUILD_SHARED_LIBS CMAKE__POSTFIX CMAKE__ARCHIVE_APPEND CMAKE__ARCHIVE_CREATE CMAKE__ARCHIVE_FINISH CMAKE__COMPILER CMAKE__COMPILER_ABI CMAKE__COMPILER_EXTERNAL_TOOLCHAIN CMAKE__COMPILER_ID CMAKE__COMPILER_LAUNCHER CMAKE__COMPILER_LOADED CMAKE__COMPILER_TARGET CMAKE__COMPILER_VERSION CMAKE__COMPILE_OBJECT CMAKE__CREATE_SHARED_LIBRARY CMAKE__CREATE_SHARED_MODULE CMAKE__CREATE_STATIC_LIBRARY CMAKE__FLAGS CMAKE__FLAGS_DEBUG CMAKE__FLAGS_MINSIZEREL CMAKE__FLAGS_RELEASE CMAKE__FLAGS_RELWITHDEBINFO CMAKE__GHS_KERNEL_FLAGS_DEBUG CMAKE__GHS_KERNEL_FLAGS_MINSIZEREL CMAKE__GHS_KERNEL_FLAGS_RELEASE CMAKE__GHS_KERNEL_FLAGS_RELWITHDEBINFO CMAKE__IGNORE_EXTENSIONS CMAKE__IMPLICIT_INCLUDE_DIRECTORIES CMAKE__IMPLICIT_LINK_DIRECTORIES CMAKE__IMPLICIT_LINK_FRAMEWORK_DIRECTORIES CMAKE__IMPLICIT_LINK_LIBRARIES CMAKE__INCLUDE_WHAT_YOU_USE CMAKE__LIBRARY_ARCHITECTURE CMAKE__LINKER_PREFERENCE CMAKE__LINKER_PREFERENCE_PROPAGATES CMAKE__LINK_EXECUTABLE CMAKE__OUTPUT_EXTENSION CMAKE__PLATFORM_ID CMAKE__SIMULATE_ID CMAKE__SIMULATE_VERSION CMAKE__SIZEOF_DATA_PTR CMAKE__SOURCE_FILE_EXTENSIONS CMAKE__VISIBILITY_PRESET CMAKE_ABSOLUTE_DESTINATION_FILES CMAKE_ANDROID_ANT_ADDITIONAL_OPTIONS CMAKE_ANDROID_API CMAKE_ANDROID_API_MIN CMAKE_ANDROID_ARCH CMAKE_ANDROID_ASSETS_DIRECTORIES CMAKE_ANDROID_GUI CMAKE_ANDROID_JAR_DEPENDENCIES CMAKE_ANDROID_JAR_DIRECTORIES CMAKE_ANDROID_JAVA_SOURCE_DIR CMAKE_ANDROID_NATIVE_LIB_DEPENDENCIES CMAKE_ANDROID_NATIVE_LIB_DIRECTORIES CMAKE_ANDROID_PROCESS_MAX CMAKE_ANDROID_PROGUARD CMAKE_ANDROID_PROGUARD_CONFIG_PATH CMAKE_ANDROID_SECURE_PROPS_PATH CMAKE_ANDROID_SKIP_ANT_STEP CMAKE_ANDROID_STL_TYPE CMAKE_APPBUNDLE_PATH CMAKE_AR CMAKE_ARCHIVE_OUTPUT_DIRECTORY CMAKE_ARCHIVE_OUTPUT_DIRECTORY_ CMAKE_ARGC CMAKE_ARGV0 CMAKE_AUTOMOC CMAKE_AUTOMOC_MOC_OPTIONS CMAKE_AUTOMOC_RELAXED_MODE CMAKE_AUTORCC CMAKE_AUTORCC_OPTIONS CMAKE_AUTOUIC CMAKE_AUTOUIC_OPTIONS CMAKE_BACKWARDS_COMPATIBILITY CMAKE_BINARY_DIR CMAKE_BUILD_TOOL CMAKE_BUILD_TYPE CMAKE_BUILD_WITH_INSTALL_RPATH CMAKE_CACHEFILE_DIR CMAKE_CACHE_MAJOR_VERSION CMAKE_CACHE_MINOR_VERSION CMAKE_CACHE_PATCH_VERSION CMAKE_CFG_INTDIR CMAKE_CL_64 CMAKE_COLOR_MAKEFILE CMAKE_COMMAND CMAKE_COMPILER_2005 CMAKE_COMPILER_IS_GNU CMAKE_COMPILE_PDB_OUTPUT_DIRECTORY CMAKE_COMPILE_PDB_OUTPUT_DIRECTORY_ CMAKE_CONFIGURATION_TYPES CMAKE_CROSSCOMPILING CMAKE_CROSSCOMPILING_EMULATOR CMAKE_CTEST_COMMAND CMAKE_CURRENT_BINARY_DIR CMAKE_CURRENT_LIST_DIR CMAKE_CURRENT_LIST_FILE CMAKE_CURRENT_LIST_LINE CMAKE_CURRENT_SOURCE_DIR CMAKE_CXX_COMPILE_FEATURES CMAKE_CXX_EXTENSIONS CMAKE_CXX_STANDARD CMAKE_CXX_STANDARD_REQUIRED CMAKE_C_COMPILE_FEATURES CMAKE_C_EXTENSIONS CMAKE_C_STANDARD CMAKE_C_STANDARD_REQUIRED CMAKE_DEBUG_POSTFIX CMAKE_DEBUG_TARGET_PROPERTIES CMAKE_DISABLE_FIND_PACKAGE_ CMAKE_DL_LIBS CMAKE_EDIT_COMMAND CMAKE_ENABLE_EXPORTS CMAKE_ERROR_DEPRECATED CMAKE_ERROR_ON_ABSOLUTE_INSTALL_DESTINATION CMAKE_EXECUTABLE_SUFFIX CMAKE_EXE_LINKER_FLAGS CMAKE_EXE_LINKER_FLAGS_ CMAKE_EXPORT_COMPILE_COMMANDS CMAKE_EXPORT_NO_PACKAGE_REGISTRY CMAKE_EXTRA_GENERATOR CMAKE_EXTRA_SHARED_LIBRARY_SUFFIXES CMAKE_FIND_APPBUNDLE CMAKE_FIND_FRAMEWORK CMAKE_FIND_LIBRARY_PREFIXES CMAKE_FIND_LIBRARY_SUFFIXES CMAKE_FIND_NO_INSTALL_PREFIX CMAKE_FIND_PACKAGE_NAME CMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY CMAKE_FIND_PACKAGE_NO_SYSTEM_PACKAGE_REGISTRY CMAKE_FIND_PACKAGE_WARN_NO_MODULE CMAKE_FIND_ROOT_PATH CMAKE_FIND_ROOT_PATH_MODE_INCLUDE CMAKE_FIND_ROOT_PATH_MODE_LIBRARY CMAKE_FIND_ROOT_PATH_MODE_PACKAGE CMAKE_FIND_ROOT_PATH_MODE_PROGRAM CMAKE_FRAMEWORK_PATH CMAKE_Fortran_FORMAT CMAKE_Fortran_MODDIR_DEFAULT CMAKE_Fortran_MODDIR_FLAG CMAKE_Fortran_MODOUT_FLAG CMAKE_Fortran_MODULE_DIRECTORY CMAKE_GENERATOR CMAKE_GENERATOR_PLATFORM CMAKE_GENERATOR_TOOLSET CMAKE_GNUtoMS CMAKE_HOME_DIRECTORY CMAKE_HOST_APPLE CMAKE_HOST_SYSTEM CMAKE_HOST_SYSTEM_NAME CMAKE_HOST_SYSTEM_PROCESSOR CMAKE_HOST_SYSTEM_VERSION CMAKE_HOST_UNIX CMAKE_HOST_WIN32 CMAKE_IGNORE_PATH CMAKE_IMPORT_LIBRARY_PREFIX CMAKE_IMPORT_LIBRARY_SUFFIX CMAKE_INCLUDE_CURRENT_DIR CMAKE_INCLUDE_CURRENT_DIR_IN_INTERFACE CMAKE_INCLUDE_DIRECTORIES_BEFORE CMAKE_INCLUDE_DIRECTORIES_PROJECT_BEFORE CMAKE_INCLUDE_PATH CMAKE_INSTALL_DEFAULT_COMPONENT_NAME CMAKE_INSTALL_MESSAGE CMAKE_INSTALL_NAME_DIR CMAKE_INSTALL_PREFIX CMAKE_INSTALL_RPATH CMAKE_INSTALL_RPATH_USE_LINK_PATH CMAKE_INTERNAL_PLATFORM_ABI CMAKE_IOS_INSTALL_COMBINED CMAKE_JOB_POOL_COMPILE CMAKE_JOB_POOL_LINK CMAKE_LIBRARY_ARCHITECTURE CMAKE_LIBRARY_ARCHITECTURE_REGEX CMAKE_LIBRARY_OUTPUT_DIRECTORY CMAKE_LIBRARY_OUTPUT_DIRECTORY_ CMAKE_LIBRARY_PATH CMAKE_LIBRARY_PATH_FLAG CMAKE_LINK_DEF_FILE_FLAG CMAKE_LINK_DEPENDS_NO_SHARED CMAKE_LINK_INTERFACE_LIBRARIES CMAKE_LINK_LIBRARY_FILE_FLAG CMAKE_LINK_LIBRARY_FLAG CMAKE_LINK_LIBRARY_SUFFIX CMAKE_LINK_SEARCH_END_STATIC CMAKE_LINK_SEARCH_START_STATIC CMAKE_MACOSX_BUNDLE CMAKE_MACOSX_RPATH CMAKE_MAJOR_VERSION CMAKE_MAKE_PROGRAM CMAKE_MAP_IMPORTED_CONFIG_ CMAKE_MATCH_COUNT CMAKE_MFC_FLAG CMAKE_MINIMUM_REQUIRED_VERSION CMAKE_MINOR_VERSION CMAKE_MODULE_LINKER_FLAGS CMAKE_MODULE_LINKER_FLAGS_ CMAKE_MODULE_PATH CMAKE_NOT_USING_CONFIG_FLAGS CMAKE_NO_BUILTIN_CHRPATH CMAKE_NO_SYSTEM_FROM_IMPORTED CMAKE_OBJECT_PATH_MAX CMAKE_OSX_ARCHITECTURES CMAKE_OSX_DEPLOYMENT_TARGET CMAKE_OSX_SYSROOT CMAKE_PARENT_LIST_FILE CMAKE_PATCH_VERSION CMAKE_PDB_OUTPUT_DIRECTORY CMAKE_PDB_OUTPUT_DIRECTORY_ CMAKE_POLICY_DEFAULT_CMP CMAKE_POLICY_WARNING_CMP CMAKE_POSITION_INDEPENDENT_CODE CMAKE_PREFIX_PATH CMAKE_PROGRAM_PATH CMAKE_PROJECT__INCLUDE CMAKE_PROJECT_NAME CMAKE_RANLIB CMAKE_ROOT CMAKE_RUNTIME_OUTPUT_DIRECTORY CMAKE_RUNTIME_OUTPUT_DIRECTORY_ CMAKE_SCRIPT_MODE_FILE CMAKE_SHARED_LIBRARY_PREFIX CMAKE_SHARED_LIBRARY_SUFFIX CMAKE_SHARED_LINKER_FLAGS CMAKE_SHARED_LINKER_FLAGS_ CMAKE_SHARED_MODULE_PREFIX CMAKE_SHARED_MODULE_SUFFIX CMAKE_SIZEOF_VOID_P CMAKE_SKIP_BUILD_RPATH CMAKE_SKIP_INSTALL_ALL_DEPENDENCY CMAKE_SKIP_INSTALL_RPATH CMAKE_SKIP_INSTALL_RULES CMAKE_SKIP_RPATH CMAKE_SOURCE_DIR CMAKE_STAGING_PREFIX CMAKE_STANDARD_LIBRARIES CMAKE_STATIC_LIBRARY_PREFIX CMAKE_STATIC_LIBRARY_SUFFIX CMAKE_STATIC_LINKER_FLAGS CMAKE_STATIC_LINKER_FLAGS_ CMAKE_SYSROOT CMAKE_SYSTEM CMAKE_SYSTEM_APPBUNDLE_PATH CMAKE_SYSTEM_FRAMEWORK_PATH CMAKE_SYSTEM_IGNORE_PATH CMAKE_SYSTEM_INCLUDE_PATH CMAKE_SYSTEM_LIBRARY_PATH CMAKE_SYSTEM_NAME CMAKE_SYSTEM_PREFIX_PATH CMAKE_SYSTEM_PROCESSOR CMAKE_SYSTEM_PROGRAM_PATH CMAKE_SYSTEM_VERSION CMAKE_TOOLCHAIN_FILE CMAKE_TRY_COMPILE_CONFIGURATION CMAKE_TWEAK_VERSION CMAKE_USER_MAKE_RULES_OVERRIDE CMAKE_USER_MAKE_RULES_OVERRIDE_ CMAKE_USE_RELATIVE_PATHS CMAKE_VERBOSE_MAKEFILE CMAKE_VERSION CMAKE_VISIBILITY_INLINES_HIDDEN CMAKE_VS_DEVENV_COMMAND CMAKE_VS_INCLUDE_INSTALL_TO_DEFAULT_BUILD CMAKE_VS_INTEL_Fortran_PROJECT_VERSION CMAKE_VS_MSBUILD_COMMAND CMAKE_VS_MSDEV_COMMAND CMAKE_VS_NsightTegra_VERSION CMAKE_VS_PLATFORM_NAME CMAKE_VS_PLATFORM_TOOLSET CMAKE_VS_WINDOWS_TARGET_PLATFORM_VERSION CMAKE_WARN_DEPRECATED CMAKE_WARN_ON_ABSOLUTE_INSTALL_DESTINATION CMAKE_WIN32_EXECUTABLE CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS CMAKE_XCODE_ATTRIBUTE_ CMAKE_XCODE_PLATFORM_TOOLSET CPACK_ABSOLUTE_DESTINATION_FILES CPACK_COMPONENT_INCLUDE_TOPLEVEL_DIRECTORY CPACK_ERROR_ON_ABSOLUTE_INSTALL_DESTINATION CPACK_INCLUDE_TOPLEVEL_DIRECTORY CPACK_INSTALL_SCRIPT CPACK_PACKAGING_INSTALL_PREFIX CPACK_SET_DESTDIR CPACK_WARN_ON_ABSOLUTE_INSTALL_DESTINATION CTEST_BINARY_DIRECTORY CTEST_BUILD_COMMAND CTEST_BUILD_NAME CTEST_BZR_COMMAND CTEST_BZR_UPDATE_OPTIONS CTEST_CHANGE_ID CTEST_CHECKOUT_COMMAND CTEST_CONFIGURATION_TYPE CTEST_CONFIGURE_COMMAND CTEST_COVERAGE_COMMAND CTEST_COVERAGE_EXTRA_FLAGS CTEST_CURL_OPTIONS CTEST_CUSTOM_COVERAGE_EXCLUDE CTEST_CUSTOM_ERROR_EXCEPTION CTEST_CUSTOM_ERROR_MATCH CTEST_CUSTOM_ERROR_POST_CONTEXT CTEST_CUSTOM_ERROR_PRE_CONTEXT CTEST_CUSTOM_MAXIMUM_FAILED_TEST_OUTPUT_SIZE CTEST_CUSTOM_MAXIMUM_NUMBER_OF_ERRORS CTEST_CUSTOM_MAXIMUM_NUMBER_OF_WARNINGS CTEST_CUSTOM_MAXIMUM_PASSED_TEST_OUTPUT_SIZE CTEST_CUSTOM_MEMCHECK_IGNORE CTEST_CUSTOM_POST_MEMCHECK CTEST_CUSTOM_POST_TEST CTEST_CUSTOM_PRE_MEMCHECK CTEST_CUSTOM_PRE_TEST CTEST_CUSTOM_TEST_IGNORE CTEST_CUSTOM_WARNING_EXCEPTION CTEST_CUSTOM_WARNING_MATCH CTEST_CVS_CHECKOUT CTEST_CVS_COMMAND CTEST_CVS_UPDATE_OPTIONS CTEST_DROP_LOCATION CTEST_DROP_METHOD CTEST_DROP_SITE CTEST_DROP_SITE_CDASH CTEST_DROP_SITE_PASSWORD CTEST_DROP_SITE_USER CTEST_EXTRA_COVERAGE_GLOB CTEST_GIT_COMMAND CTEST_GIT_UPDATE_CUSTOM CTEST_GIT_UPDATE_OPTIONS CTEST_HG_COMMAND CTEST_HG_UPDATE_OPTIONS CTEST_MEMORYCHECK_COMMAND CTEST_MEMORYCHECK_COMMAND_OPTIONS CTEST_MEMORYCHECK_SANITIZER_OPTIONS CTEST_MEMORYCHECK_SUPPRESSIONS_FILE CTEST_MEMORYCHECK_TYPE CTEST_NIGHTLY_START_TIME CTEST_P4_CLIENT CTEST_P4_COMMAND CTEST_P4_OPTIONS CTEST_P4_UPDATE_OPTIONS CTEST_SCP_COMMAND CTEST_SITE CTEST_SOURCE_DIRECTORY CTEST_SVN_COMMAND CTEST_SVN_OPTIONS CTEST_SVN_UPDATE_OPTIONS CTEST_TEST_LOAD CTEST_TEST_TIMEOUT CTEST_TRIGGER_SITE CTEST_UPDATE_COMMAND CTEST_UPDATE_OPTIONS CTEST_UPDATE_VERSION_ONLY CTEST_USE_LAUNCHERS CYGWIN ENV EXECUTABLE_OUTPUT_PATH GHS-MULTI LIBRARY_OUTPUT_PATH MINGW MSVC MSVC10 MSVC11 MSVC12 MSVC14 MSVC60 MSVC70 MSVC71 MSVC80 MSVC90 MSVC_IDE MSVC_VERSION PROJECT_BINARY_DIR PROJECT_NAME PROJECT_SOURCE_DIR PROJECT_VERSION PROJECT_VERSION_MAJOR PROJECT_VERSION_MINOR PROJECT_VERSION_PATCH PROJECT_VERSION_TWEAK UNIX WIN32 WINCE WINDOWS_PHONE WINDOWS_STORE XCODE_VERSION + \ contained + +syn keyword cmakeModule + \ ExternalProject + \ contained + +syn keyword cmakeKWExternalProject + \ ALGO ALWAYS BINARY_DIR BUILD_ALWAYS BUILD_BYPRODUCTS BUILD_COMMAND BUILD_IN_SOURCE BYPRODUCTS CMAKE_ARGS CMAKE_CACHE_ARGS CMAKE_CACHE_DEFAULT_ARGS COMMAND COMMENT CONFIGURE_COMMAND CVS CVSROOT CVS_ CVS_MODULE CVS_REPOSITORY CVS_TAG DEPENDEES DEPENDERS DEPENDS DIRECTORY DOWNLOAD_COMMAND DOWNLOAD_DIR DOWNLOAD_NAME DOWNLOAD_NO_PROGRESS EP_BASE EP_INDEPENDENT_STEP_TARGETS EP_PREFIX EP_STEP_TARGETS EP_UPDATE_DISCONNECTED EXCLUDE_FROM_ALL EXCLUDE_FROM_MAIN FORCE GIT_REMOTE_NAME GIT_REPOSITORY GIT_SUBMODULES GIT_TAG HG_REPOSITORY HG_TAG INDEPENDENT INDEPENDENT_STEP_TARGETS INSTALL_COMMAND INSTALL_DIR JOB_POOLS LIST_SEPARATOR LOG LOG_BUILD LOG_CONFIGURE LOG_DOWNLOAD LOG_INSTALL LOG_TEST LOG_UPDATE NO_DEPENDS PATCH_COMMAND PREFIX PROPERTY SOURCE_DIR STAMP_DIR STEP_TARGETS SVN_ SVN_PASSWORD SVN_REPOSITORY SVN_REVISION SVN_TRUST_CERT SVN_USERNAME TEST_AFTER_INSTALL TEST_BEFORE_INSTALL TEST_COMMAND TEST_EXCLUDE_FROM_MAIN TIMEOUT TLS_CAINFO TLS_VERIFY TMP_DIR UPDATE_COMMAND UPDATE_DISCONNECTED URL URL_HASH HTTP_USERNAME HTTP_PASSWORD HTTP_HEADER USES_TERMINAL USES_TERMINAL_BUILD USES_TERMINAL_CONFIGURE USES_TERMINAL_DOWNLOAD USES_TERMINAL_INSTALL USES_TERMINAL_TEST USES_TERMINAL_UPDATE WORKING_DIRECTORY _COMMAND _DIR + \ contained + +syn keyword cmakeKWadd_compile_options + \ COMPILE_OPTIONS + \ contained + +syn keyword cmakeKWadd_custom_command + \ APPEND ARGS BYPRODUCTS COMMAND COMMENT DEPENDS GENERATE GENERATED IMPLICIT_DEPENDS MAIN_DEPENDENCY NOT OUTPUT POST_BUILD PRE_BUILD PRE_LINK SYMBOLIC TARGET TARGET_FILE USES_TERMINAL VERBATIM WORKING_DIRECTORY + \ contained + +syn keyword cmakeKWadd_custom_target + \ ALL BYPRODUCTS COMMAND COMMENT DEPENDS GENERATE GENERATED SOURCES USES_TERMINAL VERBATIM WORKING_DIRECTORY + \ contained + +syn keyword cmakeKWadd_definitions + \ COMPILE_DEFINITIONS + \ contained + +syn keyword cmakeKWadd_dependencies + \ DEPENDS OBJECT_DEPENDS + \ contained + +syn keyword cmakeKWadd_executable + \ ALIAS CONFIG EXCLUDE_FROM_ALL GLOBAL IMPORTED IMPORTED_ IMPORTED_LOCATION IMPORTED_LOCATION_ MACOSX_BUNDLE OUTPUT_NAME RUNTIME_OUTPUT_DIRECTORY TARGET + \ contained + +syn keyword cmakeKWadd_library + \ ALIAS ARCHIVE_OUTPUT_DIRECTORY CLI CONFIG DLL EXCLUDE_FROM_ALL FRAMEWORK GLOBAL IMPORTED IMPORTED_ IMPORTED_LOCATION IMPORTED_LOCATION_ INTERFACE INTERFACE_ LIBRARY_OUTPUT_DIRECTORY MODULE OBJECT ON OS OUTPUT_NAME POSITION_INDEPENDENT_CODE POST_BUILD PRE_BUILD PRE_LINK RUNTIME_OUTPUT_DIRECTORY SHARED STATIC TARGET TARGET_OBJECTS UNKNOWN + \ contained + +syn keyword cmakeKWadd_subdirectory + \ ALL EXCLUDE_FROM_ALL + \ contained + +syn keyword cmakeKWadd_test + \ BUILD_TESTING COMMAND CONFIGURATION CONFIGURATIONS FAIL_REGULAR_EXPRESSION NAME ON PASS_REGULAR_EXPRESSION TARGET_FILE WILL_FAIL WORKING_DIRECTORY + \ contained + +syn keyword cmakeKWbuild_command + \ CONFIGURATION NEW TARGET + \ contained + +syn keyword cmakeKWbuild_name + \ CMAKE_CXX_COMPILER + \ contained + +syn keyword cmakeKWcmake_host_system_information + \ AVAILABLE_PHYSICAL_MEMORY AVAILABLE_VIRTUAL_MEMORY FQDN HOSTNAME NUMBER_OF_LOGICAL_CORES NUMBER_OF_PHYSICAL_CORES QUERY RESULT TOTAL_PHYSICAL_MEMORY TOTAL_VIRTUAL_MEMORY + \ contained + +syn keyword cmakeKWcmake_minimum_required + \ FATAL_ERROR VERSION + \ contained + +syn keyword cmakeKWcmake_parse_arguments + \ ARGN CONFIGURATIONS DESTINATION FALSE FAST FILES MY_INSTALL MY_INSTALL_CONFIGURATIONS MY_INSTALL_DESTINATION MY_INSTALL_FAST MY_INSTALL_OPTIONAL MY_INSTALL_RENAME MY_INSTALL_TARGETS MY_INSTALL_UNPARSED_ARGUMENTS OPTIONAL RENAME TARGETS TRUE _UNPARSED_ARGUMENTS + \ contained + +syn keyword cmakeKWcmake_policy + \ CMAKE_POLICY_DEFAULT_CMP CMP GET NEW NNNN NO_POLICY_SCOPE OLD POP PUSH SET VERSION + \ contained + +syn keyword cmakeKWconfigure_file + \ COPYONLY CRLF DOS ESCAPE_QUOTES FOO_ENABLE FOO_STRING LF NEWLINE_STYLE ON ONLY VAR + \ contained + +syn keyword cmakeKWcreate_test_sourcelist + \ CMAKE_TESTDRIVER_AFTER_TESTMAIN CMAKE_TESTDRIVER_BEFORE_TESTMAIN EXTRA_INCLUDE FUNCTION + \ contained + +syn keyword cmakeKWctest_build + \ ALL_BUILD APPEND BUILD CONFIGURATION CTEST_BUILD_CONFIGURATION CTEST_BUILD_FLAGS CTEST_BUILD_TARGET CTEST_PROJECT_NAME FLAGS NUMBER_ERRORS NUMBER_WARNINGS QUIET RETURN_VALUE TARGET + \ contained + +syn keyword cmakeKWctest_configure + \ APPEND BUILD OPTIONS QUIET RETURN_VALUE SOURCE + \ contained + +syn keyword cmakeKWctest_coverage + \ APPEND BUILD LABELS QUIET RETURN_VALUE + \ contained + +syn keyword cmakeKWctest_memcheck + \ APPEND BUILD END EXCLUDE EXCLUDE_LABEL INCLUDE INCLUDE_LABEL OFF ON PARALLEL_LEVEL QUIET RETURN_VALUE SCHEDULE_RANDOM START STOP_TIME STRIDE TEST_LOAD + \ contained + +syn keyword cmakeKWctest_run_script + \ NEW_PROCESS RETURN_VALUE + \ contained + +syn keyword cmakeKWctest_start + \ APPEND QUIET TAG TRACK + \ contained + +syn keyword cmakeKWctest_submit + \ API CDASH_UPLOAD CDASH_UPLOAD_TYPE CTEST_EXTRA_SUBMIT_FILES CTEST_NOTES_FILES FILES PARTS QUIET RETRY_COUNT RETRY_DELAY RETURN_VALUE + \ contained + +syn keyword cmakeKWctest_test + \ APPEND BUILD CPU END EXCLUDE EXCLUDE_LABEL INCLUDE INCLUDE_LABEL OFF ON PARALLEL_LEVEL QUIET RETURN_VALUE SCHEDULE_RANDOM START STOP_TIME STRIDE TEST_LOAD + \ contained + +syn keyword cmakeKWctest_update + \ QUIET RETURN_VALUE SOURCE + \ contained + +syn keyword cmakeKWctest_upload + \ FILES QUIET + \ contained + +syn keyword cmakeKWdefine_property + \ BRIEF_DOCS CACHED_VARIABLE DIRECTORY FULL_DOCS GLOBAL INHERITED PROPERTY SOURCE TARGET TEST VARIABLE + \ contained + +syn keyword cmakeKWenable_language + \ OPTIONAL + \ contained + +syn keyword cmakeKWexec_program + \ ARGS OUTPUT_VARIABLE RETURN_VALUE + \ contained + +syn keyword cmakeKWexecute_process + \ COMMAND ERROR_ ERROR_FILE ERROR_QUIET ERROR_STRIP_TRAILING_WHITESPACE ERROR_VARIABLE INPUT_ INPUT_FILE OUTPUT_ OUTPUT_FILE OUTPUT_QUIET OUTPUT_STRIP_TRAILING_WHITESPACE OUTPUT_VARIABLE RESULT_VARIABLE TIMEOUT VERBATIM WORKING_DIRECTORY + \ contained + +syn keyword cmakeKWexport + \ APPEND CONFIG EXPORT EXPORT_LINK_INTERFACE_LIBRARIES FILE IMPORTED IMPORTED_ LINK_INTERFACE_LIBRARIES NAMESPACE NEW PACKAGE TARGETS + \ contained + +syn keyword cmakeKWexport_library_dependencies + \ APPEND EXPORT INCLUDE LINK_INTERFACE_LIBRARIES SET + \ contained + +syn keyword cmakeKWfile + \ ALGO APPEND ASCII CMAKE_TLS_CAINFO CMAKE_TLS_VERIFY CONDITION CONFIG CONTENT COPY CR DESTINATION DIRECTORY DIRECTORY_PERMISSIONS DOWNLOAD ENCODING EXCLUDE EXPECTED_HASH FILE FILES_MATCHING FILE_PERMISSIONS FOLLOW_SYMLINKS FUNCTION GENERATE GLOB GLOB_RECURSE GUARD HEX INACTIVITY_TIMEOUT INPUT INSTALL LENGTH_MAXIMUM LENGTH_MINIMUM LF LIMIT LIMIT_COUNT LIMIT_INPUT LIMIT_OUTPUT LIST_DIRECTORIES LOCK LOG MAKE_DIRECTORY NEW NEWLINE_CONSUME NO_HEX_CONVERSION NO_SOURCE_PERMISSIONS OFF OFFSET OLD ON OUTPUT PATH PATTERN PERMISSIONS PROCESS READ REGEX RELATIVE RELATIVE_PATH RELEASE REMOVE REMOVE_RECURSE RENAME RESULT_VARIABLE SHOW_PROGRESS SORT SSL STATUS STRINGS TIMEOUT TIMESTAMP TLS TLS_CAINFO TLS_VERIFY TO_CMAKE_PATH TO_NATIVE_PATH UPLOAD USE_SOURCE_PERMISSIONS UTC UTF WRITE + \ contained + +syn keyword cmakeKWfind_file + \ CMAKE_FIND_ROOT_PATH_BOTH DOC DVAR HINTS INCLUDE NAMES NO_CMAKE_ENVIRONMENT_PATH NO_CMAKE_FIND_ROOT_PATH NO_CMAKE_PATH NO_CMAKE_SYSTEM_PATH NO_DEFAULT_PATH NO_SYSTEM_ENVIRONMENT_PATH ONLY_CMAKE_FIND_ROOT_PATH OS PATH PATHS PATH_SUFFIXES VAR + \ contained + +syn keyword cmakeKWfind_library + \ CMAKE_FIND_ROOT_PATH_BOTH DOC DVAR HINTS LIB NAMES NAMES_PER_DIR NO_CMAKE_ENVIRONMENT_PATH NO_CMAKE_FIND_ROOT_PATH NO_CMAKE_PATH NO_CMAKE_SYSTEM_PATH NO_DEFAULT_PATH NO_SYSTEM_ENVIRONMENT_PATH ONLY_CMAKE_FIND_ROOT_PATH OS PATH PATHS PATH_SUFFIXES VAR + \ contained + +syn keyword cmakeKWfind_package + \ CMAKE_DISABLE_FIND_PACKAGE_ CMAKE_FIND_ROOT_PATH_BOTH COMPONENTS CONFIG CONFIGS DVAR EXACT HINTS MODULE NAMES NO_CMAKE_BUILDS_PATH NO_CMAKE_ENVIRONMENT_PATH NO_CMAKE_FIND_ROOT_PATH NO_CMAKE_PACKAGE_REGISTRY NO_CMAKE_PATH NO_CMAKE_SYSTEM_PACKAGE_REGISTRY NO_CMAKE_SYSTEM_PATH NO_DEFAULT_PATH NO_MODULE NO_POLICY_SCOPE NO_SYSTEM_ENVIRONMENT_PATH ONLY_CMAKE_FIND_ROOT_PATH OPTIONAL_COMPONENTS OS PACKAGE_FIND_NAME PACKAGE_FIND_VERSION PACKAGE_FIND_VERSION_COUNT PACKAGE_FIND_VERSION_MAJOR PACKAGE_FIND_VERSION_MINOR PACKAGE_FIND_VERSION_PATCH PACKAGE_FIND_VERSION_TWEAK PACKAGE_VERSION PACKAGE_VERSION_COMPATIBLE PACKAGE_VERSION_EXACT PACKAGE_VERSION_UNSUITABLE PATH PATHS PATH_SUFFIXES QUIET REQUIRED TRUE _CONFIG _CONSIDERED_CONFIGS _CONSIDERED_VERSIONS _DIR _FIND_COMPONENTS _FIND_QUIETLY _FIND_REQUIRED _FIND_REQUIRED_ _FIND_VERSION _FIND_VERSION_COUNT _FIND_VERSION_EXACT _FIND_VERSION_MAJOR _FIND_VERSION_MINOR _FIND_VERSION_PATCH _FIND_VERSION_TWEAK _FOUND _VERSION _VERSION_COUNT _VERSION_MAJOR _VERSION_MINOR _VERSION_PATCH _VERSION_TWEAK + \ contained + +syn keyword cmakeKWfind_path + \ CMAKE_FIND_ROOT_PATH_BOTH DOC DVAR HINTS INCLUDE NAMES NO_CMAKE_ENVIRONMENT_PATH NO_CMAKE_FIND_ROOT_PATH NO_CMAKE_PATH NO_CMAKE_SYSTEM_PATH NO_DEFAULT_PATH NO_SYSTEM_ENVIRONMENT_PATH ONLY_CMAKE_FIND_ROOT_PATH OS PATH PATHS PATH_SUFFIXES VAR + \ contained + +syn keyword cmakeKWfind_program + \ CMAKE_FIND_ROOT_PATH_BOTH DOC DVAR HINTS NAMES NAMES_PER_DIR NO_CMAKE_ENVIRONMENT_PATH NO_CMAKE_FIND_ROOT_PATH NO_CMAKE_PATH NO_CMAKE_SYSTEM_PATH NO_DEFAULT_PATH NO_SYSTEM_ENVIRONMENT_PATH ONLY_CMAKE_FIND_ROOT_PATH OS PATH PATHS PATH_SUFFIXES VAR + \ contained + +syn keyword cmakeKWfltk_wrap_ui + \ FLTK + \ contained + +syn keyword cmakeKWforeach + \ ARGS IN ITEMS LISTS RANGE + \ contained + +syn keyword cmakeKWfunction + \ ARGC ARGN ARGS ARGV PARENT_SCOPE + \ contained + +syn keyword cmakeKWget_cmake_property + \ VAR + \ contained + +syn keyword cmakeKWget_directory_property + \ DEFINITION DIRECTORY + \ contained + +syn keyword cmakeKWget_filename_component + \ ABSOLUTE ARG_VAR BASE_DIR CACHE COMP DIRECTORY EXT NAME NAME_WE PATH PROGRAM PROGRAM_ARGS REALPATH VAR + \ contained + +syn keyword cmakeKWget_property + \ BRIEF_DOCS CACHE DEFINED DIRECTORY FULL_DOCS GLOBAL INSTALL PROPERTY SET SOURCE TARGET TEST VARIABLE + \ contained + +syn keyword cmakeKWget_source_file_property + \ LOCATION VAR + \ contained + +syn keyword cmakeKWget_target_property + \ VAR + \ contained + +syn keyword cmakeKWget_test_property + \ VAR + \ contained + +syn keyword cmakeKWif + \ AND ARGS CMP COMMAND DEFINED EQUAL EXISTS FALSE GREATER IGNORE IN_LIST IS_ABSOLUTE IS_DIRECTORY IS_NEWER_THAN IS_SYMLINK LESS MATCHES NNNN NO NOT OFF ON OR POLICY STREQUAL STRGREATER STRLESS TARGET TEST THEN TRUE VERSION_EQUAL VERSION_GREATER VERSION_LESS YES + \ contained + +syn keyword cmakeKWinclude + \ NO_POLICY_SCOPE OPTIONAL RESULT_VARIABLE VAR + \ contained + +syn keyword cmakeKWinclude_directories + \ AFTER BEFORE INCLUDE_DIRECTORIES ON SYSTEM + \ contained + +syn keyword cmakeKWinclude_external_msproject + \ GUID PLATFORM TYPE WIX + \ contained + +syn keyword cmakeKWinstall + \ ARCHIVE BUNDLE CODE COMPONENT CONFIG CONFIGURATIONS CVS DESTDIR DESTINATION DIRECTORY DIRECTORY_PERMISSIONS DLL EXCLUDE EXCLUDE_FROM_ALL EXPORT EXPORT_LINK_INTERFACE_LIBRARIES FILE FILES FILES_MATCHING FILE_PERMISSIONS FRAMEWORK GROUP_EXECUTE GROUP_READ GROUP_WRITE IMPORTED_ INCLUDES INSTALL_PREFIX INTERFACE_INCLUDE_DIRECTORIES LIBRARY LINK_INTERFACE_LIBRARIES MACOSX_BUNDLE MESSAGE MESSAGE_NEVER NAMELINK_ONLY NAMELINK_SKIP NAMESPACE NEW OPTIONAL OS OWNER_EXECUTE OWNER_READ OWNER_WRITE PATTERN PERMISSIONS POST_INSTALL_SCRIPT PRE_INSTALL_SCRIPT PRIVATE_HEADER PROGRAMS PUBLIC_HEADER REGEX RENAME RESOURCE RUNTIME SCRIPT SETGID SETUID SOVERSION TARGETS TRUE USE_SOURCE_PERMISSIONS VERSION WORLD_EXECUTE WORLD_READ WORLD_WRITE + \ contained + +syn keyword cmakeKWinstall_files + \ FILES GLOB + \ contained + +syn keyword cmakeKWinstall_programs + \ FILES GLOB PROGRAMS TARGETS + \ contained + +syn keyword cmakeKWinstall_targets + \ DLL RUNTIME_DIRECTORY TARGETS + \ contained + +syn keyword cmakeKWlist + \ APPEND CACHE FIND GET INSERT INTERNAL LENGTH LIST NOTES PARENT_SCOPE REMOVE_AT REMOVE_DUPLICATES REMOVE_ITEM REVERSE SORT + \ contained + +syn keyword cmakeKWload_cache + \ EXCLUDE INCLUDE_INTERNALS READ_WITH_PREFIX + \ contained + +syn keyword cmakeKWload_command + \ CMAKE_LOADED_COMMAND_ COMMAND_NAME + \ contained + +syn keyword cmakeKWmacro + \ ARGC ARGN ARGS ARGV DEFINED GREATER IN LISTS NOT _BAR _FOO + \ contained + +syn keyword cmakeKWmake_directory + \ MAKE_DIRECTORY + \ contained + +syn keyword cmakeKWmark_as_advanced + \ CLEAR FORCE VAR + \ contained + +syn keyword cmakeKWmath + \ EXPR + \ contained + +syn keyword cmakeKWmessage + \ AUTHOR_WARNING DEPRECATION FATAL_ERROR GUI SEND_ERROR STATUS WARNING + \ contained + +syn keyword cmakeKWoption + \ OFF ON + \ contained + +syn keyword cmakeKWproject + \ CMAKE_PROJECT_ LANGUAGES NAME NEW NONE PROJECT VERSION _BINARY_DIR _INCLUDE _SOURCE_DIR _VERSION _VERSION_MAJOR _VERSION_MINOR _VERSION_PATCH _VERSION_TWEAK + \ contained + +syn keyword cmakeKWremove + \ REMOVE_ITEM VALUE VAR + \ contained + +syn keyword cmakeKWseparate_arguments + \ MSDN UNIX_COMMAND VARIABLE WINDOWS WINDOWS_COMMAND _COMMAND + \ contained + +syn keyword cmakeKWset + \ BOOL CACHE FILEPATH FORCE INTERNAL OFF ON PARENT_SCOPE PATH STRING STRINGS + \ contained + +syn keyword cmakeKWset_directory_properties + \ PROPERTIES + \ contained + +syn keyword cmakeKWset_property + \ APPEND APPEND_STRING CACHE DIRECTORY GLOBAL INSTALL PROPERTY SOURCE TARGET TEST WIX + \ contained + +syn keyword cmakeKWset_source_files_properties + \ PROPERTIES + \ contained + +syn keyword cmakeKWset_target_properties + \ PROPERTIES + \ contained + +syn keyword cmakeKWset_tests_properties + \ PROPERTIES + \ contained + +syn keyword cmakeKWsource_group + \ FILES REGULAR_EXPRESSION + \ contained + +syn keyword cmakeKWstring + \ ALPHABET APPEND ASCII CMAKE_MATCH_ COMPARE CONCAT CONFIGURE EQUAL ESCAPE_QUOTES FIND GENEX_STRIP GREATER GUID LENGTH LESS MAKE_C_IDENTIFIER MATCH MATCHALL MATCHES NAME NAMESPACE NOTEQUAL ONLY RANDOM RANDOM_SEED REGEX REPLACE REVERSE STRIP SUBSTRING SZ TIMESTAMP TOLOWER TOUPPER TYPE UPPER UTC UUID + \ contained + +syn keyword cmakeKWsubdirs + \ EXCLUDE_FROM_ALL PREORDER + \ contained + +syn keyword cmakeKWtarget_compile_definitions + \ COMPILE_DEFINITIONS INTERFACE INTERFACE_COMPILE_DEFINITIONS PRIVATE PUBLIC + \ contained + +syn keyword cmakeKWtarget_compile_features + \ COMPILE_FEATURES IMPORTED INTERFACE INTERFACE_COMPILE_FEATURES PRIVATE PUBLIC + \ contained + +syn keyword cmakeKWtarget_compile_options + \ BEFORE COMPILE_OPTIONS IMPORTED INTERFACE INTERFACE_COMPILE_OPTIONS PRIVATE PUBLIC + \ contained + +syn keyword cmakeKWtarget_include_directories + \ BEFORE BUILD_INTERFACE IMPORTED INCLUDE_DIRECTORIES INSTALL_INTERFACE INTERFACE INTERFACE_INCLUDE_DIRECTORIES INTERFACE_LINK_LIBRARIES INTERFACE_SYSTEM_INCLUDE_DIRECTORIES PRIVATE PUBLIC SYSTEM + \ contained + +syn keyword cmakeKWtarget_link_libraries + \ ALIAS DAG DEBUG_CONFIGURATIONS IMPORTED IMPORTED_NO_SONAME INTERFACE INTERFACE_LINK_LIBRARIES LINK_INTERFACE_LIBRARIES LINK_INTERFACE_LIBRARIES_DEBUG LINK_INTERFACE_MULTIPLICITY LINK_PRIVATE LINK_PUBLIC NEW OLD OSX PRIVATE PUBLIC SONAME STATIC + \ contained + +syn keyword cmakeKWtarget_sources + \ IMPORTED INTERFACE INTERFACE_SOURCES PRIVATE PUBLIC SOURCES + \ contained + +syn keyword cmakeKWtry_compile + \ ALL_BUILD CMAKE_FLAGS COMPILE_DEFINITIONS COPY_FILE COPY_FILE_ERROR DEFINED DLINK_LIBRARIES DVAR FALSE INCLUDE_DIRECTORIES LINK_DIRECTORIES LINK_LIBRARIES NEW NOT OUTPUT_VARIABLE RESULT_VAR SOURCES TRUE TYPE VALUE + \ contained + +syn keyword cmakeKWtry_run + \ ARGS CMAKE_FLAGS COMPILE_DEFINITIONS COMPILE_OUTPUT_VARIABLE COMPILE_RESULT_VAR DLINK_LIBRARIES DVAR FAILED_TO_RUN FALSE INCLUDE_DIRECTORIES LINK_DIRECTORIES LINK_LIBRARIES OUTPUT_VARIABLE RUN_OUTPUT_VARIABLE RUN_RESULT_VAR TRUE TYPE VALUE __TRYRUN_OUTPUT + \ contained + +syn keyword cmakeKWunset + \ CACHE LD_LIBRARY_PATH PARENT_SCOPE + \ contained + +syn keyword cmakeKWuse_mangled_mesa + \ GL OUTPUT_DIRECTORY PATH_TO_MESA + \ contained + +syn keyword cmakeKWvariable_requires + \ RESULT_VARIABLE TEST_VARIABLE + \ contained + +syn keyword cmakeKWvariable_watch + \ COMMAND + \ contained + +syn keyword cmakeKWwhile + \ ARGS + \ contained + +syn keyword cmakeKWwrite_file + \ APPEND CONFIGURE_FILE NOTE WRITE + \ contained + + +syn keyword cmakeGeneratorExpressions + \ LINK_LIBRARIES INCLUDE_DIRECTORIES COMPILE_DEFINITIONS CONFIG DEBUG_MODE DEBUG_MODE BOOL AND OR NOT STREQUAL STREQUAL EQUAL EQUAL CONFIG MAP_IMPORTED_CONFIG_ CONFIG IMPORTED PLATFORM_ID C_COMPILER_ID CXX_COMPILER_ID VERSION_GREATER VERSION_LESS VERSION_EQUAL C_COMPILER_VERSION CXX_COMPILER_VERSION TARGET_POLICY NEW COMPILE_FEATURES C_STANDARD CXX_STANDARD COMPILE_LANGUAGE PRIVATE COMPILE_LANGUAGE PUBLIC PRIVATE COMPILE_LANGUAGE COMPILING_CXX PRIVATE COMPILE_LANGUAGE CXX_COMPILER_ID GNU VERSION_LESS CXX_COMPILER_VERSION OLD_COMPILER OLD_COMPILER CMAKE_CXX_COMPILER_VERSION CONFIGURATION CONFIG CONFIG PLATFORM_ID C_COMPILER_ID CMAKE_ LANG _COMPILER_ID CXX_COMPILER_ID CMAKE_ LANG _COMPILER_ID C_COMPILER_VERSION CMAKE_ LANG _COMPILER_VERSION CXX_COMPILER_VERSION CMAKE_ LANG _COMPILER_VERSION TARGET_FILE TARGET_FILE_NAME TARGET_FILE_DIR TARGET_LINKER_FILE TARGET_LINKER_FILE_NAME TARGET_LINKER_FILE_DIR TARGET_SONAME_FILE TARGET_SONAME_FILE_NAME TARGET_SONAME_FILE_DIR TARGET_PDB_FILE PDB_NAME PDB_OUTPUT_DIRECTORY PDB_NAME_ CONFIG PDB_OUTPUT_DIRECTORY_ CONFIG TARGET_PDB_FILE_NAME TARGET_PDB_FILE_DIR TARGET_PROPERTY TARGET_PROPERTY INSTALL_PREFIX EXPORT COMPILE_LANGUAGE JOIN TARGET_PROPERTY INCLUDE_DIRECTORIES INCLUDE_DIRECTORIES INCLUDE_DIRECTORIES BOOL JOIN TARGET_PROPERTY INCLUDE_DIRECTORIES JOIN ANGLE COMMA SEMICOLON TARGET_NAME LINK_ONLY INTERFACE_LINK_LIBRARIES INSTALL_INTERFACE EXPORT BUILD_INTERFACE LOWER_CASE UPPER_CASE MAKE_C_IDENTIFIER TARGET_OBJECTS OBJECT_LIBRARY SHELL_PATH MSYS + \ contained + +syn case ignore +syn keyword cmakeCommand + \ add_compile_options add_custom_command add_custom_target add_definitions add_dependencies add_executable add_library add_subdirectory add_test aux_source_directory break build_command cmake_host_system_information cmake_minimum_required cmake_parse_arguments cmake_policy configure_file continue create_test_sourcelist ctest_build ctest_configure ctest_coverage ctest_empty_binary_directory ctest_memcheck ctest_read_custom_files ctest_run_script ctest_sleep ctest_start ctest_submit ctest_test ctest_update ctest_upload define_property enable_language enable_testing endfunction endmacro execute_process export file find_file find_library find_package find_path find_program fltk_wrap_ui function get_cmake_property get_directory_property get_filename_component get_property get_source_file_property get_target_property get_test_property include include_directories include_external_msproject include_regular_expression install link_directories list load_cache load_command macro mark_as_advanced math message option project qt_wrap_cpp qt_wrap_ui remove_definitions return separate_arguments set set_directory_properties set_property set_source_files_properties set_target_properties set_tests_properties site_name source_group string target_compile_definitions target_compile_features target_compile_options target_include_directories target_link_libraries target_sources try_compile try_run unset variable_watch + \ nextgroup=cmakeArguments +syn keyword cmakeCommandConditional + \ else elseif endif if + \ nextgroup=cmakeArguments +syn keyword cmakeCommandRepeat + \ endforeach endwhile foreach while + \ nextgroup=cmakeArguments +syn keyword cmakeCommandDeprecated + \ build_name exec_program export_library_dependencies install_files install_programs install_targets link_libraries make_directory output_required_files remove subdir_depends subdirs use_mangled_mesa utility_source variable_requires write_file + \ nextgroup=cmakeArguments +syn case match + +syn keyword cmakeTodo + \ TODO FIXME XXX + \ contained + +hi def link cmakeCommand Function +hi def link cmakeCommandConditional Conditional +hi def link cmakeCommandDeprecated WarningMsg +hi def link cmakeCommandRepeat Repeat +hi def link cmakeComment Comment +hi def link cmakeEnvironment Special +hi def link cmakeEscaped Special +hi def link cmakeGeneratorExpression WarningMsg +hi def link cmakeGeneratorExpressions ModeMsg +hi def link cmakeLuaComment Comment +hi def link cmakeModule Include +hi def link cmakeProperty Constant +hi def link cmakeRegistry Underlined +hi def link cmakeString String +hi def link cmakeTodo TODO +hi def link cmakeVariable Identifier +hi def link cmakeVariableValue Type + +hi def link cmakeKWExternalProject ModeMsg +hi def link cmakeKWadd_compile_options ModeMsg +hi def link cmakeKWadd_custom_command ModeMsg +hi def link cmakeKWadd_custom_target ModeMsg +hi def link cmakeKWadd_definitions ModeMsg +hi def link cmakeKWadd_dependencies ModeMsg +hi def link cmakeKWadd_executable ModeMsg +hi def link cmakeKWadd_library ModeMsg +hi def link cmakeKWadd_subdirectory ModeMsg +hi def link cmakeKWadd_test ModeMsg +hi def link cmakeKWbuild_command ModeMsg +hi def link cmakeKWbuild_name ModeMsg +hi def link cmakeKWcmake_host_system_information ModeMsg +hi def link cmakeKWcmake_minimum_required ModeMsg +hi def link cmakeKWcmake_parse_arguments ModeMsg +hi def link cmakeKWcmake_policy ModeMsg +hi def link cmakeKWconfigure_file ModeMsg +hi def link cmakeKWcreate_test_sourcelist ModeMsg +hi def link cmakeKWctest_build ModeMsg +hi def link cmakeKWctest_configure ModeMsg +hi def link cmakeKWctest_coverage ModeMsg +hi def link cmakeKWctest_memcheck ModeMsg +hi def link cmakeKWctest_run_script ModeMsg +hi def link cmakeKWctest_start ModeMsg +hi def link cmakeKWctest_submit ModeMsg +hi def link cmakeKWctest_test ModeMsg +hi def link cmakeKWctest_update ModeMsg +hi def link cmakeKWctest_upload ModeMsg +hi def link cmakeKWdefine_property ModeMsg +hi def link cmakeKWenable_language ModeMsg +hi def link cmakeKWexec_program ModeMsg +hi def link cmakeKWexecute_process ModeMsg +hi def link cmakeKWexport ModeMsg +hi def link cmakeKWexport_library_dependencies ModeMsg +hi def link cmakeKWfile ModeMsg +hi def link cmakeKWfind_file ModeMsg +hi def link cmakeKWfind_library ModeMsg +hi def link cmakeKWfind_package ModeMsg +hi def link cmakeKWfind_path ModeMsg +hi def link cmakeKWfind_program ModeMsg +hi def link cmakeKWfltk_wrap_ui ModeMsg +hi def link cmakeKWforeach ModeMsg +hi def link cmakeKWfunction ModeMsg +hi def link cmakeKWget_cmake_property ModeMsg +hi def link cmakeKWget_directory_property ModeMsg +hi def link cmakeKWget_filename_component ModeMsg +hi def link cmakeKWget_property ModeMsg +hi def link cmakeKWget_source_file_property ModeMsg +hi def link cmakeKWget_target_property ModeMsg +hi def link cmakeKWget_test_property ModeMsg +hi def link cmakeKWif ModeMsg +hi def link cmakeKWinclude ModeMsg +hi def link cmakeKWinclude_directories ModeMsg +hi def link cmakeKWinclude_external_msproject ModeMsg +hi def link cmakeKWinstall ModeMsg +hi def link cmakeKWinstall_files ModeMsg +hi def link cmakeKWinstall_programs ModeMsg +hi def link cmakeKWinstall_targets ModeMsg +hi def link cmakeKWlist ModeMsg +hi def link cmakeKWload_cache ModeMsg +hi def link cmakeKWload_command ModeMsg +hi def link cmakeKWmacro ModeMsg +hi def link cmakeKWmake_directory ModeMsg +hi def link cmakeKWmark_as_advanced ModeMsg +hi def link cmakeKWmath ModeMsg +hi def link cmakeKWmessage ModeMsg +hi def link cmakeKWoption ModeMsg +hi def link cmakeKWproject ModeMsg +hi def link cmakeKWremove ModeMsg +hi def link cmakeKWseparate_arguments ModeMsg +hi def link cmakeKWset ModeMsg +hi def link cmakeKWset_directory_properties ModeMsg +hi def link cmakeKWset_property ModeMsg +hi def link cmakeKWset_source_files_properties ModeMsg +hi def link cmakeKWset_target_properties ModeMsg +hi def link cmakeKWset_tests_properties ModeMsg +hi def link cmakeKWsource_group ModeMsg +hi def link cmakeKWstring ModeMsg +hi def link cmakeKWsubdirs ModeMsg +hi def link cmakeKWtarget_compile_definitions ModeMsg +hi def link cmakeKWtarget_compile_features ModeMsg +hi def link cmakeKWtarget_compile_options ModeMsg +hi def link cmakeKWtarget_include_directories ModeMsg +hi def link cmakeKWtarget_link_libraries ModeMsg +hi def link cmakeKWtarget_sources ModeMsg +hi def link cmakeKWtry_compile ModeMsg +hi def link cmakeKWtry_run ModeMsg +hi def link cmakeKWunset ModeMsg +hi def link cmakeKWuse_mangled_mesa ModeMsg +hi def link cmakeKWvariable_requires ModeMsg +hi def link cmakeKWvariable_watch ModeMsg +hi def link cmakeKWwhile ModeMsg +hi def link cmakeKWwrite_file ModeMsg + +let b:current_syntax = "cmake" diff --git a/CMakeCPack.cmake b/CMakeCPack.cmake index 320327999..1889be262 100644 --- a/CMakeCPack.cmake +++ b/CMakeCPack.cmake @@ -1,14 +1,5 @@ -#============================================================================= -# CMake - Cross Platform Makefile Generator -# Copyright 2000-2009 Kitware, Inc., Insight Software Consortium -# -# 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. -#============================================================================= +# Distributed under the OSI-approved BSD 3-Clause License. See accompanying +# file Copyright.txt or https://cmake.org/licensing for details. # If the cmake version includes cpack, use it if(EXISTS "${CMAKE_ROOT}/Modules/CPack.cmake") @@ -70,6 +61,9 @@ if(EXISTS "${CMAKE_ROOT}/Modules/CPack.cmake") # Components if(CMake_INSTALL_COMPONENTS) set(_CPACK_IFW_COMPONENTS_ALL cmake ctest cpack) + if(WIN32 AND NOT CYGWIN) + list(APPEND _CPACK_IFW_COMPONENTS_ALL cmcldeps) + endif() if(APPLE) list(APPEND _CPACK_IFW_COMPONENTS_ALL cmakexbuild) endif() @@ -87,8 +81,10 @@ if(EXISTS "${CMAKE_ROOT}/Modules/CPack.cmake") endif() if(BUILD_QtDialog) list(APPEND _CPACK_IFW_COMPONENTS_ALL cmake-gui) - set(_CPACK_IFW_COMPONENT_CMAKE-GUI_LICENSES "set(CPACK_IFW_COMPONENT_CMAKE-GUI_LICENSES - \"LGPLv2.1\" \"${CMake_SOURCE_DIR}/Licenses/LGPLv2.1.txt\")") + if(USE_LGPL) + set(_CPACK_IFW_COMPONENT_CMAKE-GUI_LICENSES "set(CPACK_IFW_COMPONENT_CMAKE-GUI_LICENSES + \"LGPLv${USE_LGPL}\" \"${CMake_SOURCE_DIR}/Licenses/LGPLv${USE_LGPL}.txt\")") + endif() endif() if(SPHINX_MAN) list(APPEND _CPACK_IFW_COMPONENTS_ALL sphinx-man) @@ -102,22 +98,31 @@ if(EXISTS "${CMAKE_ROOT}/Modules/CPack.cmake") if(SPHINX_QTHELP) list(APPEND _CPACK_IFW_COMPONENTS_ALL sphinx-qthelp) endif() + if(CMake_BUILD_DEVELOPER_REFERENCE) + if(CMake_BUILD_DEVELOPER_REFERENCE_HTML) + list(APPEND _CPACK_IFW_COMPONENTS_ALL cmake-developer-reference-html) + endif() + if(CMake_BUILD_DEVELOPER_REFERENCE_QTHELP) + list(APPEND _CPACK_IFW_COMPONENTS_ALL cmake-developer-reference-qthelp) + endif() + endif() set(_CPACK_IFW_COMPONENTS_CONFIGURATION " # Components set(CPACK_COMPONENTS_ALL \"${_CPACK_IFW_COMPONENTS_ALL}\") set(CPACK_COMPONENTS_GROUPING IGNORE) ") else() - if(BUILD_QtDialog AND CMake_GUI_DISTRIBUTE_WITH_Qt_LGPL) + if(BUILD_QtDialog AND USE_LGPL) set(_CPACK_IFW_ADDITIONAL_LICENSES - "\"LGPLv2.1\" \"${CMake_SOURCE_DIR}/Licenses/LGPLv2.1.txt\"") + "\"LGPLv${USE_LGPL}\" \"${CMake_SOURCE_DIR}/Licenses/LGPLv${USE_LGPL}.txt\"") endif() endif() # Components scripts configuration foreach(_script CMake - CMake.Documentation.SphinxHTML) + CMake.Documentation.SphinxHTML + CMake.DeveloperReference.HTML) configure_file("${CMake_SOURCE_DIR}/Source/QtIFW/${_script}.qs.in" "${CMake_BINARY_DIR}/${_script}.qs" @ONLY) endforeach() @@ -131,6 +136,11 @@ if(EXISTS "${CMAKE_ROOT}/Modules/CPack.cmake") if(SPHINX_HTML) set(_CPACK_IFW_SHORTCUT_OPTIONAL "${_CPACK_IFW_SHORTCUT_OPTIONAL}component.addOperation(\"CreateShortcut\", \"@TargetDir@/doc/cmake-${CMake_VERSION_MAJOR}.${CMake_VERSION_MINOR}/html/index.html\", \"@StartMenuDir@/CMake Documentation.lnk\");\n") endif() + if(CMake_BUILD_DEVELOPER_REFERENCE) + if(CMake_BUILD_DEVELOPER_REFERENCE_HTML) + set(_CPACK_IFW_SHORTCUT_OPTIONAL "${_CPACK_IFW_SHORTCUT_OPTIONAL}component.addOperation(\"CreateShortcut\", \"@TargetDir@/doc/cmake-${CMake_VERSION_MAJOR}.${CMake_VERSION_MINOR}/developer-reference/html/index.html\", \"@StartMenuDir@/CMake Developer Reference.lnk\");\n") + endif() + endif() configure_file("${CMake_SOURCE_DIR}/Source/QtIFW/installscript.qs.in" "${CMake_BINARY_DIR}/installscript.qs" @ONLY ) @@ -166,36 +176,11 @@ if(EXISTS "${CMAKE_ROOT}/Modules/CPack.cmake") set(CPACK_PACKAGE_CONTACT "cmake@cmake.org") if(UNIX) - set(CPACK_STRIP_FILES "bin/ccmake;bin/cmake;bin/cpack;bin/ctest") + set(CPACK_STRIP_FILES "${CMAKE_BIN_DIR}/ccmake;${CMAKE_BIN_DIR}/cmake;${CMAKE_BIN_DIR}/cpack;${CMAKE_BIN_DIR}/ctest") set(CPACK_SOURCE_STRIP_FILES "") set(CPACK_PACKAGE_EXECUTABLES "ccmake" "CMake") endif() - # cygwin specific packaging stuff - if(CYGWIN) - # setup the cygwin package name - set(CPACK_PACKAGE_NAME cmake) - # setup the name of the package for cygwin cmake-2.4.3 - set(CPACK_PACKAGE_FILE_NAME - "${CPACK_PACKAGE_NAME}-${CMake_VERSION}") - # the source has the same name as the binary - set(CPACK_SOURCE_PACKAGE_FILE_NAME ${CPACK_PACKAGE_FILE_NAME}) - # Create a cygwin version number in case there are changes for cygwin - # that are not reflected upstream in CMake - set(CPACK_CYGWIN_PATCH_NUMBER 1 CACHE STRING "patch number for CMake cygwin packages") - mark_as_advanced(CPACK_CYGWIN_PATCH_NUMBER) - # These files are required by the cmCPackCygwinSourceGenerator and the files - # put into the release tar files. - set(CPACK_CYGWIN_BUILD_SCRIPT - "${CMake_BINARY_DIR}/${CPACK_PACKAGE_FILE_NAME}-${CPACK_CYGWIN_PATCH_NUMBER}.sh") - set(CPACK_CYGWIN_PATCH_FILE - "${CMake_BINARY_DIR}/${CPACK_PACKAGE_FILE_NAME}-${CPACK_CYGWIN_PATCH_NUMBER}.patch") - # include the sub directory cmake file for cygwin that - # configures some files and adds some install targets - # this file uses some of the package file name variables - include(Utilities/Release/Cygwin/CMakeLists.txt) - endif() - set(CPACK_WIX_UPGRADE_GUID "8ffd1d72-b7f1-11e2-8ee5-00238bca4991") if(MSVC AND NOT "$ENV{WIX}" STREQUAL "") diff --git a/CMakeCPackOptions.cmake.in b/CMakeCPackOptions.cmake.in index 59ae224ea..d7a33bc5d 100644 --- a/CMakeCPackOptions.cmake.in +++ b/CMakeCPackOptions.cmake.in @@ -102,13 +102,21 @@ if(CPACK_GENERATOR MATCHES "IFW") set(CPACK_IFW_COMPONENT_CPACK_PRIORITY 87) set(CPACK_IFW_COMPONENT_CPACK_VERSION "@_CPACK_IFW_PACKAGE_VERSION@") + set(CPACK_COMPONENT_CMCLDEPS_DISPLAY_NAME "cmcldeps") + set(CPACK_COMPONENT_CMCLDEPS_DESCRIPTION + "The \"cmcldeps\" executable is wrapper around \"cl\" program") + set(CPACK_COMPONENT_CMCLDEPS_GROUP Tools) + set(CPACK_IFW_COMPONENT_CMCLDEPS_NAME "CMClDeps") + set(CPACK_IFW_COMPONENT_CMCLDEPS_PRIORITY 86) + set(CPACK_IFW_COMPONENT_CMCLDEPS_VERSION "@_CPACK_IFW_PACKAGE_VERSION@") + set(CPACK_COMPONENT_CMAKEXBUILD_DISPLAY_NAME "cmakexbuild") set(CPACK_COMPONENT_CMAKEXBUILD_DESCRIPTION "The \"cmakexbuild\" executable is a wrapper program for \"xcodebuild\"") set(CPACK_COMPONENT_CMAKEXBUILD_REQUIRED TRUE) set(CPACK_COMPONENT_CMAKEXBUILD_GROUP Tools) set(CPACK_IFW_COMPONENT_CMAKEXBUILD_NAME "CMakeXBuild") - set(CPACK_IFW_COMPONENT_CMAKEXBUILD_PRIORITY 86) + set(CPACK_IFW_COMPONENT_CMAKEXBUILD_PRIORITY 85) set(CPACK_IFW_COMPONENT_CMAKEXBUILD_VERSION "@_CPACK_IFW_PACKAGE_VERSION@") # Dialogs @@ -167,6 +175,29 @@ if(CPACK_GENERATOR MATCHES "IFW") set(CPACK_IFW_COMPONENT_SPHINX-QTHELP_NAME "SphinxQtHelp") set(CPACK_IFW_COMPONENT_SPHINX-QTHELP_VERSION "@_CPACK_IFW_PACKAGE_VERSION@") + # Developer Reference + set(CPACK_COMPONENT_GROUP_DEVELOPERREFERENCE_DISPLAY_NAME "Developer Reference") + set(CPACK_COMPONENT_GROUP_DEVELOPERREFERENCE_DESCRIPTION + "CMake Reference in different formats (html, qch)") + set(CPACK_COMPONENT_GROUP_DEVELOPERREFERENCE_PARENT_GROUP CMake) + set(CPACK_IFW_COMPONENT_GROUP_DEVELOPERREFERENCE_PRIORITY 50) + set(CPACK_IFW_COMPONENT_GROUP_DEVELOPERREFERENCE_VERSION + "@_CPACK_IFW_PACKAGE_VERSION@") + + set(CPACK_COMPONENT_CMAKE-DEVELOPER-REFERENCE-HTML_DISPLAY_NAME "HTML") + set(CPACK_COMPONENT_CMAKE-DEVELOPER-REFERENCE-HTML_GROUP DeveloperReference) + set(CPACK_COMPONENT_CMAKE-DEVELOPER-REFERENCE-HTML_DISABLED TRUE) + set(CPACK_IFW_COMPONENT_CMAKE-DEVELOPER-REFERENCE-HTML_NAME "HTML") + set(CPACK_IFW_COMPONENT_CMAKE-DEVELOPER-REFERENCE-HTML_SCRIPT + "@CMake_BINARY_DIR@/CMake.DeveloperReference.HTML.qs") + set(CPACK_IFW_COMPONENT_CMAKE-DEVELOPER-REFERENCE-HTML_VERSION "@_CPACK_IFW_PACKAGE_VERSION@") + + set(CPACK_COMPONENT_CMAKE-DEVELOPER-REFERENCE-QTHELP_DISPLAY_NAME "Qt Compressed Help") + set(CPACK_COMPONENT_CMAKE-DEVELOPER-REFERENCE-QTHELP_GROUP DeveloperReference) + set(CPACK_COMPONENT_CMAKE-DEVELOPER-REFERENCE-QTHELP_DISABLED TRUE) + set(CPACK_IFW_COMPONENT_CMAKE-DEVELOPER-REFERENCE-QTHELP_NAME "QtHelp") + set(CPACK_IFW_COMPONENT_CMAKE-DEVELOPER-REFERENCE-QTHELP_VERSION "@_CPACK_IFW_PACKAGE_VERSION@") + endif() if(CPACK_GENERATOR MATCHES "CygwinSource") diff --git a/CMakeLists.txt b/CMakeLists.txt index 787f3193a..b4a577c85 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,15 +1,7 @@ -#============================================================================= -# CMake - Cross Platform Makefile Generator -# Copyright 2000-2012 Kitware, Inc., Insight Software Consortium -# -# 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. -#============================================================================= -cmake_minimum_required(VERSION 2.8.4 FATAL_ERROR) +# Distributed under the OSI-approved BSD 3-Clause License. See accompanying +# file Copyright.txt or https://cmake.org/licensing for details. + +cmake_minimum_required(VERSION 2.8.12.2 FATAL_ERROR) if(POLICY CMP0025) cmake_policy(SET CMP0025 NEW) endif() @@ -18,6 +10,10 @@ if(POLICY CMP0053) endif() project(CMake) +# Make sure we can find internal find_package modules only used for +# building CMake and not for shipping externally +list(INSERT CMAKE_MODULE_PATH 0 ${CMake_SOURCE_DIR}/Source/Modules) + if(CMAKE_BOOTSTRAP) # Running from bootstrap script. Set local variable and remove from cache. set(CMAKE_BOOTSTRAP 1) @@ -28,6 +24,16 @@ if(NOT CMake_TEST_EXTERNAL_CMAKE) set(CMake_BIN_DIR ${CMake_BINARY_DIR}/bin) endif() +if(CMake_GUI_DISTRIBUTE_WITH_Qt_LGPL) + if(CMake_GUI_DISTRIBUTE_WITH_Qt_LGPL MATCHES "^3|2\\.1$") + set(USE_LGPL "${CMake_GUI_DISTRIBUTE_WITH_Qt_LGPL}") + else() + set(USE_LGPL "2.1") + endif() +else() + set(USE_LGPL "") +endif() + if("${CMake_SOURCE_DIR}" STREQUAL "${CMAKE_SOURCE_DIR}") # Disallow architecture-specific try_run. It may not run on the host. macro(TRY_RUN) @@ -57,7 +63,7 @@ if(NOT DEFINED CMAKE_CXX_STANDARD AND NOT CMake_NO_CXX_STANDARD) endif() endif() if(NOT CMake_TEST_EXTERNAL_CMAKE) - include(${CMake_SOURCE_DIR}/Source/Checks/cm_cxx11_unordered_map.cmake) + include(${CMake_SOURCE_DIR}/Source/Checks/cm_cxx_features.cmake) endif() # option to set the internal encoding of CMake to UTF-8 @@ -83,6 +89,11 @@ option(CMake_INSTALL_DEPENDENCIES "Whether to install 3rd-party runtime dependencies" OFF) mark_as_advanced(CMake_INSTALL_DEPENDENCIES) +# option to build reference for CMake developers +option(CMake_BUILD_DEVELOPER_REFERENCE + "Build CMake Developer Reference" OFF) +mark_as_advanced(CMake_BUILD_DEVELOPER_REFERENCE) + #----------------------------------------------------------------------- # a macro to deal with system libraries, implemented as a macro # simply to improve readability of the main script @@ -97,7 +108,7 @@ macro(CMAKE_HANDLE_SYSTEM_LIBRARIES) # Allow the user to enable/disable all system utility library options by # defining CMAKE_USE_SYSTEM_LIBRARIES or CMAKE_USE_SYSTEM_LIBRARY_${util}. - set(UTILITIES BZIP2 CURL EXPAT FORM JSONCPP LIBARCHIVE LIBLZMA ZLIB) + set(UTILITIES BZIP2 CURL EXPAT FORM JSONCPP LIBARCHIVE LIBLZMA LIBUV ZLIB) foreach(util ${UTILITIES}) if(NOT DEFINED CMAKE_USE_SYSTEM_LIBRARY_${util} AND DEFINED CMAKE_USE_SYSTEM_LIBRARIES) @@ -137,6 +148,7 @@ macro(CMAKE_HANDLE_SYSTEM_LIBRARIES) "${CMAKE_USE_SYSTEM_LIBRARY_LIBLZMA}" "NOT CMAKE_USE_SYSTEM_LIBARCHIVE" ON) option(CMAKE_USE_SYSTEM_FORM "Use system-installed libform" "${CMAKE_USE_SYSTEM_LIBRARY_FORM}") option(CMAKE_USE_SYSTEM_JSONCPP "Use system-installed jsoncpp" "${CMAKE_USE_SYSTEM_LIBRARY_JSONCPP}") + option(CMAKE_USE_SYSTEM_LIBUV "Use system-installed libuv" "${CMAKE_USE_SYSTEM_LIBRARY_LIBUV}") # For now use system KWIML only if explicitly requested rather # than activating via the general system libs options. @@ -433,7 +445,7 @@ macro (CMAKE_BUILD_UTILITIES) # Build jsoncpp library. if(CMAKE_USE_SYSTEM_JSONCPP) if(NOT CMAKE_VERSION VERSION_LESS 3.0) - include(${CMake_SOURCE_DIR}/Source/Modules/FindJsonCpp.cmake) + find_package(JsonCpp) else() message(FATAL_ERROR "CMAKE_USE_SYSTEM_JSONCPP requires CMake >= 3.0") endif() @@ -448,6 +460,55 @@ macro (CMAKE_BUILD_UTILITIES) CMAKE_SET_TARGET_FOLDER(cmjsoncpp "Utilities/3rdParty") endif() + #--------------------------------------------------------------------- + # Build libuv library. + if(NOT DEFINED CMAKE_USE_LIBUV) + set(CMAKE_USE_LIBUV 1) + if(APPLE) + include(CheckCSourceCompiles) + check_c_source_compiles(" +#include +#include +#ifndef MAC_OS_X_VERSION_10_5 +#error \"MAC_OS_X_VERSION_10_5 is not defined\" +#endif +int main(void) { return 0; } +" HAVE_CoreServices_OS_X_10_5) + if(NOT HAVE_CoreServices_OS_X_10_5) + set(CMAKE_USE_LIBUV 0) + endif() + elseif(CYGWIN) + # libuv does not support Cygwin + set(CMAKE_USE_LIBUV 0) + elseif(CMAKE_SYSTEM_NAME STREQUAL "HP-UX") + # Disable until it can be ported. + set(CMAKE_USE_LIBUV 0) + elseif(CMAKE_SYSTEM_PROCESSOR MATCHES "sparc") + # Disable until it can be ported. + set(CMAKE_USE_LIBUV 0) + endif() + endif() + if(CMAKE_USE_LIBUV) + if(CMAKE_USE_SYSTEM_LIBUV) + if(NOT CMAKE_VERSION VERSION_LESS 3.0) + find_package(LibUV 1.0.0) + else() + message(FATAL_ERROR "CMAKE_USE_SYSTEM_LIBUV requires CMake >= 3.0") + endif() + if(NOT LIBUV_FOUND) + message(FATAL_ERROR + "CMAKE_USE_SYSTEM_LIBUV is ON but a libuv is not found!") + endif() + set(CMAKE_LIBUV_LIBRARIES LibUV::LibUV) + else() + set(CMAKE_LIBUV_LIBRARIES cmlibuv) + add_subdirectory(Utilities/cmlibuv) + CMAKE_SET_TARGET_FOLDER(cmlibuv "Utilities/3rdParty") + endif() + else() + set(CMAKE_LIBUV_LIBRARIES) + endif() + #--------------------------------------------------------------------- # Build XMLRPC library for CMake and CTest. if(CTEST_USE_XMLRPC) @@ -637,6 +698,31 @@ endif() # setup some Testing support (a macro defined in this file) CMAKE_SETUP_TESTING() +# Check whether to build server mode or not: +if(NOT CMake_TEST_EXTERNAL_CMAKE) + if(NOT DEFINED CMake_ENABLE_SERVER_MODE) + list(FIND CMAKE_CXX_COMPILE_FEATURES cxx_auto_type CMake_HAVE_CXX_AUTO_TYPE) + list(FIND CMAKE_CXX_COMPILE_FEATURES cxx_range_for CMake_HAVE_CXX_RANGE_FOR) + if(CMAKE_USE_LIBUV + AND CMake_HAVE_CXX_AUTO_TYPE + AND CMake_HAVE_CXX_MAKE_UNIQUE + AND CMake_HAVE_CXX_RANGE_FOR + ) + set(CMake_ENABLE_SERVER_MODE 1) + else() + set(CMake_ENABLE_SERVER_MODE 0) + endif() + endif() + if(CMake_ENABLE_SERVER_MODE AND NOT CMAKE_USE_LIBUV) + message(FATAL_ERROR "The server mode requires libuv!") + endif() +else() + set(CMake_ENABLE_SERVER_MODE 0) +endif() +if(NOT DEFINED CMake_TEST_SERVER_MODE) + set(CMake_TEST_SERVER_MODE ${CMake_ENABLE_SERVER_MODE}) +endif() + if(NOT CMake_TEST_EXTERNAL_CMAKE) if(NOT CMake_VERSION_IS_RELEASE) if(CMAKE_C_COMPILER_ID STREQUAL "GNU" AND diff --git a/CONTRIBUTING.rst b/CONTRIBUTING.rst index ddf8407e7..921ba7c9b 100644 --- a/CONTRIBUTING.rst +++ b/CONTRIBUTING.rst @@ -6,22 +6,26 @@ Community CMake is maintained and supported by `Kitware`_ and developed in collaboration with a productive community of contributors. +Please subscribe and post to the `CMake Developers List`_ to raise +discussion of development topics. .. _`Kitware`: http://www.kitware.com/cmake - -The preferred entry point for new contributors is the mailing list. -Please subscribe and post to the `CMake Developers List`_ to offer -contributions. Regular and productive contributors may be invited -to gain direct push access. - .. _`CMake Developers List`: https://cmake.org/mailman/listinfo/cmake-developers Patches ======= -Please base all new work on the ``master`` branch. Then use -``git format-patch`` to produce patches suitable to post to -the mailing list. +CMake uses `Kitware's GitLab Instance`_ to manage development and code review. +To contribute patches: + +#. Fork the upstream `CMake Repository`_ into a personal account. +#. Base all new work on the upstream ``master`` branch. +#. Create commits making incremental, distinct, logically complete changes. +#. Push a topic branch to a personal repository fork on GitLab. +#. Create a GitLab Merge Request targeting the upstream ``master`` branch. + +.. _`Kitware's GitLab Instance`: https://gitlab.kitware.com +.. _`CMake Repository`: https://gitlab.kitware.com/cmake/cmake Code Style ========== @@ -29,9 +33,11 @@ Code Style We use `clang-format`_ to define our style for C++ code in the CMake source tree. See the `.clang-format`_ configuration file for our style settings. Use ``clang-format`` version 3.8 or higher to format source files. +See also the `Utilities/Scripts/clang-format.bash`_ script. .. _`clang-format`: http://clang.llvm.org/docs/ClangFormat.html .. _`.clang-format`: .clang-format +.. _`Utilities/Scripts/clang-format.bash`: Utilities/Scripts/clang-format.bash License ======= diff --git a/CTestConfig.cmake b/CTestConfig.cmake index df2f94c2a..020582e45 100644 --- a/CTestConfig.cmake +++ b/CTestConfig.cmake @@ -1,14 +1,6 @@ -#============================================================================= -# CMake - Cross Platform Makefile Generator -# Copyright 2000-2009 Kitware, Inc., Insight Software Consortium -# -# 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. -#============================================================================= +# Distributed under the OSI-approved BSD 3-Clause License. See accompanying +# file Copyright.txt or https://cmake.org/licensing for details. + set(CTEST_PROJECT_NAME "CMake") set(CTEST_NIGHTLY_START_TIME "1:00:00 UTC") diff --git a/CTestCustom.cmake.in b/CTestCustom.cmake.in index a39049b84..48dd3debc 100644 --- a/CTestCustom.cmake.in +++ b/CTestCustom.cmake.in @@ -49,6 +49,7 @@ list(APPEND CTEST_CUSTOM_WARNING_EXCEPTION "stl_deque.h:1051" "(Lexer|Parser).*warning.*conversion.*may (alter its value|change the sign)" "(Lexer|Parser).*warning.*(statement is unreachable|will never be executed)" + "(Lexer|Parser).*warning.*variable.*was set but never used" "PGC-W-0095-Type cast required for this conversion.*ProcessUNIX.c" "[Qq]t([Cc]ore|[Gg]ui|[Ww]idgets).*warning.*conversion.*may alter its value" "warning:.*is.*very unsafe.*consider using.*" @@ -62,13 +63,17 @@ list(APPEND CTEST_CUSTOM_WARNING_EXCEPTION "warning.*This version of Mac OS X is unsupported" "clang.*: warning: argument unused during compilation: .-g" "note: in expansion of macro" # diagnostic context note + "note: expanded from macro" # diagnostic context note "cm(StringCommand|CTestTestHandler)\\.cxx.*warning.*rand.*may return deterministic values" "cm(StringCommand|CTestTestHandler)\\.cxx.*warning.*rand.*isn.*t random" # we do not do crypto "cm(StringCommand|CTestTestHandler)\\.cxx.*warning.*srand.*seed choices are.*poor" # we do not do crypto + "IPA warning: function.*multiply defined in" # Ignore clang's summary warning, assuming prior text has matched some # other warning expression: "[0-9,]+ warnings? generated." + # similarly for PGI + "compilation completed with warnings" # scanbuild exceptions "char_traits.h:.*: warning: Null pointer argument in call to string length function" @@ -80,8 +85,11 @@ list(APPEND CTEST_CUSTOM_WARNING_EXCEPTION "index_encoder.c.241.2. warning: Value stored to .out_start. is never read" "index.c.*warning: Access to field.*results in a dereference of a null pointer.*loaded from variable.*" "cm_sha2.*warning: Value stored to.*is never read" + "cmFortranLexer.cxx:[0-9]+:[0-9]+: warning: Call to 'realloc' has an allocation size of 0 bytes" "testProcess.*warning: Dereference of null pointer .loaded from variable .invalidAddress.." "liblzma/simple/x86.c:[0-9]+:[0-9]+: warning: The result of the '<<' expression is undefined" + "libuv/src/.*:[0-9]+:[0-9]+: warning: Dereference of null pointer" + "libuv/src/.*:[0-9]+:[0-9]+: warning: The left operand of '==' is a garbage value" ) if(NOT "@CMAKE_GENERATOR@" MATCHES "Xcode") diff --git a/CompileFlags.cmake b/CompileFlags.cmake index 3c053fae0..c875e6f1f 100644 --- a/CompileFlags.cmake +++ b/CompileFlags.cmake @@ -1,14 +1,5 @@ -#============================================================================= -# CMake - Cross Platform Makefile Generator -# Copyright 2000-2009 Kitware, Inc., Insight Software Consortium -# -# 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. -#============================================================================= +# Distributed under the OSI-approved BSD 3-Clause License. See accompanying +# file Copyright.txt or https://cmake.org/licensing for details. #----------------------------------------------------------------------------- # set some special flags for different compilers @@ -64,7 +55,7 @@ endif() # Workaround for short jump tables on PA-RISC if(CMAKE_SYSTEM_PROCESSOR MATCHES "^parisc") - if(CMAKE_COMPILER_IS_GNUC) + if(CMAKE_COMPILER_IS_GNUCC) set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -mlong-calls") endif() if(CMAKE_COMPILER_IS_GNUCXX) @@ -80,6 +71,13 @@ if (CMAKE_CXX_COMPILER_ID STREQUAL SunPro) endif() endif() +foreach(lang C CXX) + # Suppress warnings from PGI compiler. + if (CMAKE_${lang}_COMPILER_ID STREQUAL "PGI") + set(CMAKE_${lang}_FLAGS "${CMAKE_${lang}_FLAGS} -w") + endif() +endforeach() + # use the ansi CXX compile flag for building cmake if (CMAKE_ANSI_CXXFLAGS) set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${CMAKE_ANSI_CXXFLAGS}") diff --git a/Copyright.txt b/Copyright.txt index f99998fe7..63d7bb820 100644 --- a/Copyright.txt +++ b/Copyright.txt @@ -1,6 +1,5 @@ CMake - Cross Platform Makefile Generator -Copyright 2000-2016 Kitware, Inc. -Copyright 2000-2011 Insight Software Consortium +Copyright 2000-2016 Kitware, Inc. and Contributors All rights reserved. Redistribution and use in source and binary forms, with or without @@ -14,10 +13,9 @@ are met: notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. -* Neither the names of Kitware, Inc., the Insight Software Consortium, - nor the names of their contributors may be used to endorse or promote - products derived from this software without specific prior written - permission. +* Neither the name of Kitware, Inc. nor the names of Contributors + may be used to endorse or promote products derived from this + software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT @@ -33,12 +31,77 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. ------------------------------------------------------------------------------ +The following individuals and institutions are among the Contributors: + +* Aaron C. Meadows +* Aleksey Avdeev +* Alexander Neundorf +* Alexander Smorkalov +* Alex Turbov +* Andreas Pakulat +* Andreas Schneider +* André Rigland Brodtkorb +* Axel Huebl, Helmholtz-Zentrum Dresden - Rossendorf +* Benjamin Eikel +* Bjoern Ricks +* Brad Hards +* Christopher Harvey +* Christoph Grüninger +* Clement Creusot +* Daniel Blezek +* Daniel Pfeifer +* Enrico Scholz +* Eran Ifrah +* Esben Mose Hansen, Ange Optimization ApS +* Geoffrey Viola +* Gregor Jasny +* Helio Chissini de Castro +* Ilya Lavrenov +* Insight Software Consortium +* Jan Woetzel +* Kelly Thompson +* Konstantin Podsvirov +* Mario Bensi +* Mathieu Malaterre +* Matthaeus G. Chajdas +* Matthias Kretz +* Matthias Maennich +* Miguel A. Figueroa-Villanueva +* Mike Jackson +* Mike McQuaid +* Nicolas Bock +* Nicolas Despres +* Nikita Krupen'ko +* OpenGamma Ltd. +* Per Øyvind Karlsen +* Peter Collingbourne +* Petr Gotthard +* Philip Lowman +* Philippe Proulx +* Raffi Enficiaud, Max Planck Society +* Raumfeld +* Roger Leigh +* Rolf Eike Beer +* Roman Donchenko +* Roman Kharitonov +* Ruslan Baratov +* Sebastian Holtermann +* Stephen Kelly +* Sylvain Joubert +* Thomas Sondergaard +* Tobias Hunger +* Todd Gamblin +* Tristan Carel +* University of Dundee +* Vadim Zhukov +* Will Dicharry + +See version control history for details of individual contributions. + The above copyright and license notice applies to distributions of -CMake in source and binary form. Some source files contain additional -notices of original copyright by their contributors; see each source -for details. Third-party software packages supplied with CMake under -compatible licenses provide their own copyright notices documented in -corresponding subdirectories. +CMake in source and binary form. Third-party software packages supplied +with CMake under compatible licenses provide their own copyright notices +documented in corresponding subdirectories or source files. ------------------------------------------------------------------------------ diff --git a/DartConfig.cmake b/DartConfig.cmake index 92dffca7a..7d7c45bb9 100644 --- a/DartConfig.cmake +++ b/DartConfig.cmake @@ -1,14 +1,6 @@ -#============================================================================= -# CMake - Cross Platform Makefile Generator -# Copyright 2000-2009 Kitware, Inc., Insight Software Consortium -# -# 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. -#============================================================================= +# Distributed under the OSI-approved BSD 3-Clause License. See accompanying +# file Copyright.txt or https://cmake.org/licensing for details. + set(CTEST_PROJECT_NAME "CMake") set(CTEST_NIGHTLY_START_TIME "21:00:00 EDT") diff --git a/Help/command/add_custom_command.rst b/Help/command/add_custom_command.rst index d42136432..4ab4298f7 100644 --- a/Help/command/add_custom_command.rst +++ b/Help/command/add_custom_command.rst @@ -20,6 +20,7 @@ The first signature is for adding a custom command to produce an output:: [ depend2] ...] [WORKING_DIRECTORY dir] [COMMENT comment] + [DEPFILE depfile] [VERBATIM] [APPEND] [USES_TERMINAL]) This defines a command to generate specified ``OUTPUT`` file(s). @@ -170,6 +171,12 @@ The options are: If it is a relative path it will be interpreted relative to the build tree directory corresponding to the current source directory. +``DEPFILE`` + Specify a ``.d`` depfile for the :generator:`Ninja` generator. + A ``.d`` file holds dependencies usually emitted by the custom + command itself. + Using ``DEPFILE`` with other generators than Ninja is an error. + Build Events ^^^^^^^^^^^^ diff --git a/Help/command/cmake_parse_arguments.rst b/Help/command/cmake_parse_arguments.rst index 6206611d2..ec4ffed3a 100644 --- a/Help/command/cmake_parse_arguments.rst +++ b/Help/command/cmake_parse_arguments.rst @@ -11,6 +11,17 @@ respective options. cmake_parse_arguments( args...) + cmake_parse_arguments(PARSE_ARGV N + ) + +The first signature reads processes arguments passed in the ``args...``. +This may be used in either a :command:`macro` or a :command:`function`. + +The ``PARSE_ARGV`` signature is only for use in a :command:`function` +body. In this case the arguments that are parsed come from the +``ARGV#`` variables of the calling function. The parsing starts with +the Nth argument, where ``N`` is an unsigned integer. This allows for +the values to have special characters like ``;`` in them. The ```` argument contains all options for the respective macro, i.e. keywords which can be used when calling the macro without any value diff --git a/Help/command/ctest_build.rst b/Help/command/ctest_build.rst index e1b7793fc..55bb4a317 100644 --- a/Help/command/ctest_build.rst +++ b/Help/command/ctest_build.rst @@ -13,6 +13,7 @@ Perform the :ref:`CTest Build Step` as a :ref:`Dashboard Client`. [NUMBER_ERRORS ] [NUMBER_WARNINGS ] [RETURN_VALUE ] + [CAPTURE_CMAKE_ERROR ] ) Build the project and store results in ``Build.xml`` @@ -29,9 +30,11 @@ The options are: :variable:`CTEST_BINARY_DIRECTORY` variable is used. ``APPEND`` - Mark results for append to those previously submitted to a + Mark ``Build.xml`` for append to results previously submitted to a dashboard server since the last :command:`ctest_start` call. Append semantics are defined by the dashboard server in use. + This does *not* cause results to be appended to a ``.xml`` file + produced by a previous call to this command. ``CONFIGURATION `` Specify the build configuration (e.g. ``Debug``). If not @@ -66,6 +69,10 @@ The options are: ``RETURN_VALUE `` Store the return value of the native build tool in the given variable. +``CAPTURE_CMAKE_ERROR `` + Store in the ```` variable -1 if there are any errors running + the command and prevent ctest from returning non-zero if an error occurs. + ``QUIET`` Suppress any CTest-specific non-error output that would have been printed to the console otherwise. The summary of warnings / errors, diff --git a/Help/command/ctest_configure.rst b/Help/command/ctest_configure.rst index 851c29292..2dea07b16 100644 --- a/Help/command/ctest_configure.rst +++ b/Help/command/ctest_configure.rst @@ -6,7 +6,8 @@ Perform the :ref:`CTest Configure Step` as a :ref:`Dashboard Client`. :: ctest_configure([BUILD ] [SOURCE ] [APPEND] - [OPTIONS ] [RETURN_VALUE ] [QUIET]) + [OPTIONS ] [RETURN_VALUE ] [QUIET] + [CAPTURE_CMAKE_ERROR ]) Configure the project build tree and record results in ``Configure.xml`` for submission with the :command:`ctest_submit` command. @@ -22,9 +23,11 @@ The options are: :variable:`CTEST_SOURCE_DIRECTORY` variable is used. ``APPEND`` - Mark results for append to those previously submitted to a + Mark ``Configure.xml`` for append to results previously submitted to a dashboard server since the last :command:`ctest_start` call. Append semantics are defined by the dashboard server in use. + This does *not* cause results to be appended to a ``.xml`` file + produced by a previous call to this command. ``OPTIONS `` Specify command-line arguments to pass to the configuration tool. @@ -33,6 +36,10 @@ The options are: Store in the ```` variable the return value of the native configuration tool. +``CAPTURE_CMAKE_ERROR `` + Store in the ```` variable -1 if there are any errors running + the command and prevent ctest from returning non-zero if an error occurs. + ``QUIET`` Suppress any CTest-specific non-error messages that would have otherwise been printed to the console. Output from the underlying diff --git a/Help/command/ctest_coverage.rst b/Help/command/ctest_coverage.rst index 12429b99d..8d27b9c1b 100644 --- a/Help/command/ctest_coverage.rst +++ b/Help/command/ctest_coverage.rst @@ -8,6 +8,7 @@ Perform the :ref:`CTest Coverage Step` as a :ref:`Dashboard Client`. ctest_coverage([BUILD ] [APPEND] [LABELS