summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Help: Revise docs of modules AddFileDependencies..CheckFunctionExistsJoachim Wuttke (l)2018-10-1814-114/+126
| | | | | | * Replace '::' by '.. code-block:: cmake' wherever it makes sense. * Convert to definition list where appropriate. * Prefer '<placeholder>' over 'placeholder'.
* Help: Override pygments CMakeLexer to support <..> and [..]Joachim Wuttke (o)2018-10-188-35/+127
| | | | | | | | | | | | | | | | | | | | | | * The code snippets in the docs consist of CMake code mixed with syntax definition punctuation like < > [ ] ... Therefore a pure CMake lexer is inadequate. Here it is replaced by a CMake syntax definition parser. * Fixed syntax definition snippets in FindPkgConfig.cmake to make best use of syntax highlighting. This source file is the hardest to support because it contains comparison operators <= = >=, which need special attention to avoid confusion with the placeholder indicators <...>. * Fixed syntax in execute_process.rst (there were unbalanced brackets). * Disabled syntax highlighting for long string examples in cmake-language.7.rst. * No highlighting of removed syntax in CMP0049 * To inspect the outcome of this patch, see e.g. the pages * manual/cmake-buildsystem.7.html * module/ExternalProject.html * module/FindPkgConfig.html which are particularly rich in complex code snippets.
* Help: Use appropriate list types in FindPkgConfigJoachim Wuttke (l)2018-10-171-27/+42
|
* CMake Nightly Date StampKitware Robot2018-10-171-1/+1
|
* Merge branch 'release-3.13'Brad King2018-10-160-0/+0
|\
| * Merge branch 'document-dollar-in-varnames' into release-3.13Brad King2018-10-168-2/+48
| |\ | | | | | | | | | Merge-request: !2479
* | \ Merge topic 'document-dollar-in-varnames'Brad King2018-10-168-2/+48
|\ \ \ | | |/ | |/| | | | | | | | | | | | | 82a4822610 CMP0053: document that `$` is a valid literal variable character Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2479
| * | CMP0053: document that `$` is a valid literal variable characterBen Boeckel2018-10-158-2/+48
| | | | | | | | | | | | | | | | | | | | | | | | This was overlooked in the initial implementation of CMP0053. However, an additional policy to reject it again is not worth it. Instead, add tests and document the behavior. Fixes: #17883
* | | Merge topic 'ctest_done_bug_fix'Brad King2018-10-161-1/+11
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 60ca88d726 ctest_submit: Generate Done.xml at submit time Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2477
| * | | ctest_submit: Generate Done.xml at submit timeZack Galbreath2018-10-151-1/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This fixes a bug where calling `ctest_submit()` would result in a Done.xml file with an empty <buildId> element. CDash responds with a buildId when CTest submits a file. For this reason, Done.xml needs to generated after CTest has submitted some other file to CDash. This change also has the benefit of making Done.xml's timestamp as late as possible, giving us a more accurate record of how long the entire build took to complete.
* | | | CMake Nightly Date StampKitware Robot2018-10-161-1/+1
| | | |
* | | | Merge branch 'release-3.13'Brad King2018-10-150-0/+0
|\ \ \ \ | | |_|/ | |/| |
| * | | Merge branch 'update_debug_target_properties' into release-3.13Brad King2018-10-151-7/+16
| |\ \ \ | | | | | | | | | | | | | | | Merge-request: !2480
| * \ \ \ Merge branch 'FindPkgConfig-operator-docs' into release-3.13Brad King2018-10-151-6/+9
| |\ \ \ \ | | | | | | | | | | | | | | | | | | Merge-request: !2481
* | \ \ \ \ Merge topic 'update_debug_target_properties'Brad King2018-10-151-7/+16
|\ \ \ \ \ \ | | |_|/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | 86921f0264 Help: document CMAKE_DEBUG_TARGET_PROPERTIES support for LINK properties Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2480
| * | | | | Help: document CMAKE_DEBUG_TARGET_PROPERTIES support for LINK propertiesRobert Maynard2018-10-121-7/+16
| | | | | |
* | | | | | Merge topic 'FindPkgConfig-operator-docs'Brad King2018-10-151-6/+9
|\ \ \ \ \ \ | | |_|/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 7f2bc70c5e FindPkgConfig: Document support for > and < operators Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Rolf Eike Beer <eike@sf-mail.de> Merge-request: !2481
| * | | | | FindPkgConfig: Document support for > and < operatorsCraig Scott2018-10-151-6/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This was left out of commit v3.13.0-rc1~14^2 (FindPkgConfig: support also > and < operators for version compares, 2018-10-02).
* | | | | | CMake Nightly Date StampKitware Robot2018-10-151-1/+1
| | | | | |
* | | | | | CMake Nightly Date StampKitware Robot2018-10-141-1/+1
| | | | | |
* | | | | | CMake Nightly Date StampKitware Robot2018-10-131-1/+1
| | | | | |
* | | | | | Merge topic 'cppcheck-exit-code'Brad King2018-10-129-13/+34
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 3b80cd77fb Fail the build if cppcheck returns a non-zero exit code Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2459
| * | | | | | Fail the build if cppcheck returns a non-zero exit codeHarald Brinkmann2018-10-119-13/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This allows the build failure to be tuned with cppcheck's options --error-exitcode=<n> and --exitcode-suppressions=<file>.
* | | | | | | Merge topic 'find_libinput'Brad King2018-10-129-0/+134
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | f76047f34a FindLibinput: Add module to find libinput Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2420
| * | | | | | | FindLibinput: Add module to find libinputFrederik Gladhorn2018-10-119-0/+134
| | |_|_|_|/ / | |/| | | | | | | | | | | | | | | | | | | This module is inspired by one from KDE's KWin.
* | | | | | | Merge branch 'release-3.13'Brad King2018-10-120-0/+0
|\ \ \ \ \ \ \ | | |_|_|_|/ / | |/| | | | |
| * | | | | | Merge branch 'FindBoost-mt-release' into release-3.13Brad King2018-10-111-0/+1
| |\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Merge-request: !2475
| * \ \ \ \ \ \ Merge branch 'FindPython-updates' into release-3.13Brad King2018-10-112-2/+77
| |\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | Merge-request: !2476
| * \ \ \ \ \ \ \ Merge branch 'backport-revert-install-code-script-genex' into release-3.13Brad King2018-10-1110-70/+9
| |\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Merge-request: !2474
* | \ \ \ \ \ \ \ \ Merge topic 'revert-install-code-script-genex'Brad King2018-10-1210-70/+9
|\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | fd0e40f166 Merge branch 'backport-revert-install-code-script-genex' into revert-install-code-script-genex 0f48fbaa72 install: Revert CODE,SCRIPT support for generator expressions Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2474
| * \ \ \ \ \ \ \ \ \ Merge branch 'backport-revert-install-code-script-genex' into ↵Brad King2018-10-1110-70/+9
| |\ \ \ \ \ \ \ \ \ \ | | | |/ / / / / / / / | | |/| | | / / / / / | | |_|_|_|/ / / / / | |/| | | | | | | | revert-install-code-script-genex
| | * | | | | | | | install: Revert CODE,SCRIPT support for generator expressionsBrad King2018-10-1110-70/+9
| | | |_|_|_|_|_|/ | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Revert commit v3.13.0-rc1~441^2 (install: Teach CODE,SCRIPT modes to evaluate generator expressions, 2018-05-29). Unfortunately it has been found to break existing code in a real project, e.g. install(CODE [[ message("$<FOOBAR>") ]]) Address this regression by reverting support for the 3.13 release series. Support can be restored later with a policy for compatibility. Issue: #15785 Fixes: #18435
* | | | | | | | | Merge topic 'FindPython-updates'Brad King2018-10-122-2/+77
|\ \ \ \ \ \ \ \ \ | | |_|_|/ / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | e23c41ba78 FindPython*: Add missing registry paths Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2476
| * | | | | | | | FindPython*: Add missing registry pathsMarc Chevrier2018-10-112-2/+77
| | |/ / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | Fixes: #18443
* | | | | | | | Merge topic 'FindBoost-mt-release'Brad King2018-10-121-0/+1
|\ \ \ \ \ \ \ \ | | |_|_|/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 9c75922745 FindBoost: Search for -mt variant of release libs Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2475
| * | | | | | | FindBoost: Search for -mt variant of release libsMario Bielert2018-10-111-0/+1
| |/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | We were searching the `-mt` variant for debug libs only. It makes sense for release libs too.
* | | | | | | CMake Nightly Date StampKitware Robot2018-10-121-1/+1
| |/ / / / / |/| | | | |
* | | | | | Merge topic 'remove-AddCompileDefinitions'Brad King2018-10-116-31/+9
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 8f076acdb0 cmLocalGenerator: Remove AddCompileDefinitions method Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2470
| * | | | | | cmLocalGenerator: Remove AddCompileDefinitions methodBrad King2018-10-106-31/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This method offers the same definitions as `GetTargetDefines` except that it excludes the "export" macro on shared libraries. Update call sites to use `GetTargetDefines` instead. Some of them were incorrectly excluding the export macro.
* | | | | | | Merge branch 'release-3.13'Brad King2018-10-110-0/+0
|\ \ \ \ \ \ \ | | |_|/ / / / | |/| | | | |
| * | | | | | Merge branch 'vs-cuda-pdb' into release-3.13Brad King2018-10-1015-21/+32
| |\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Merge-request: !2473
* | \ \ \ \ \ \ Merge topic 'vs-cuda-pdb'Brad King2018-10-1115-21/+32
|\ \ \ \ \ \ \ \ | | |/ / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | faf3d7d224 VS: Add workaround for CUDA compiler PDB location with space 592064e026 VS: Drop workaround for CUDA compiler PDB location on CUDA 9.2+ fb378fc4d7 Tests: Fix Cuda test project names Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2473
| * | | | | | | VS: Add workaround for CUDA compiler PDB location with spaceBrad King2018-10-101-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | CUDA Toolkit Visual Studio Integration for version 9.2 and above does honor the `ClCompile.ProgramDataBaseFileName` field when telling `nvcc` how to invoke `cl`. Unfortunately it does not quote paths with spaces correctly: -Xcompiler "... /Fd"C:\path\with space\foo.pdb" ..." Work around this by converting the PDB location to a relative path. Likely we could always do this, but for now make a minimal change just for CUDA support. Fixes: #18440
| * | | | | | | VS: Drop workaround for CUDA compiler PDB location on CUDA 9.2+Brad King2018-10-101-7/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The workaround added by commit v3.12.0-rc1~227^2 (VS: Add workaround for CUDA compiler PDB location, 2018-04-13) is not necessary on CUDA 9.2+ because the CUDA Toolkit Visual Studio Integration has fixed the original bug and forwards the `ProgramDataBaseFileName` to the host compiler itself. Make the workaround conditional on the CUDA version. Issue: #18440
| * | | | | | | Tests: Fix Cuda test project namesBrad King2018-10-1014-14/+14
| | |_|/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | Make them match what `ADD_TEST_MACRO` gives to ctest as the project name to build so that the `.sln` file will be found.
* | | | | | | Merge topic 'cmake_policy-get_warning'Brad King2018-10-118-144/+177
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 0d988f98e5 cmake_policy: Add undocumented GET_WARNING command f9f96598df Help: Convert FindOpenGL documentation to block comment Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2472
| * | | | | | | cmake_policy: Add undocumented GET_WARNING commandKyle Edwards2018-10-108-25/+57
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This command is intended for modules that issue policy warnings so they can get the warning string from CMake in a uniform manner, rather than duplicating the string. Several modules been updated to include an example of the usage of this new command.
| * | | | | | | Help: Convert FindOpenGL documentation to block commentKyle Edwards2018-10-101-119/+120
| | | | | | | |
* | | | | | | | Merge topic 'install-subdirectory-order'Brad King2018-10-11145-164/+497
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | b56f2db87a Testing: Add test for CMP0082 fc8955e889 add_subdirectory: Run subdirectory install rules in correct order 514f0b572e Testing: Update hard-coded line numbers to [0-9]+ in some tests Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2434
| * | | | | | | | Testing: Add test for CMP0082Kyle Edwards2018-10-1035-2/+119
| | | | | | | | |