summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* cmake: Fix relative path regression in -CPeter Waller2019-10-1413-10/+40
| | | | | | | | | | | | | | | | | | Since commit 4ca0526f8a (cmake: Pass -S and -B into PreLoad.cmake and -C scripts, 2019-08-20, v3.16.0-rc1~195^2) the value of `CMAKE_SOURCE_DIR` is the source directory rather than the current working directory. This was correct on its own, but the place storing that value is also used as the base for relative paths specified on the command line. The latter should of course be relative to the current working directory. The fix is to switch to use a full path internally, unless a full path is already specified. Add tests for the behaviour of `-C` under these four circumstances: {with -S, without -S} x {full path, relative path} Fixes: #19827
* CMake 3.16.0-rc1v3.16.0-rc1Brad King2019-10-101-1/+1
|
* Merge branch 'rename_loglevel_option' into release-3.16Brad King2019-10-1020-44/+160
|\ | | | | | | Merge-request: !3899
| * CLI: Rename --loglevel to --log-level for naming consistencyCraig Scott2019-10-1020-44/+160
| | | | | | | | | | | | | | Other multi-word command line options use hyphens to separate the words, so the --loglevel option introduced in CMake 3.15 was inconsistent in this regard. Rename it to --log-level but still support the original --loglevel name to preserve backward compatibility.
* | Merge branch 'pch-generate' into release-3.16Brad King2019-10-1015-89/+255
|\ \ | | | | | | | | | Merge-request: !3890
| * | PCH: Generate sources during Compute stepCristian Adam2019-10-0915-89/+255
| | |
* | | Merge branch 'ExternalProject-minor-typos' into release-3.16Brad King2019-10-091-2/+2
|\ \ \ | | | | | | | | | | | | Merge-request: !3898
| * | | ExternalProject: fix some documentation typosBen Boeckel2019-10-091-2/+2
| | |/ | |/|
* | | Merge branch 'vs-16.4-global-targets' into release-3.16Brad King2019-10-091-0/+4
|\ \ \ | | | | | | | | | | | | Merge-request: !3896
| * | | VS: Tell VS 16.4 not to verify CMake-provided custom command outputsBrad King2019-10-071-0/+4
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | Extend the fix from commit 0578239d3a (VS: Tell VS 16.4 not to verify SYMBOLIC custom command outputs, 2019-09-23, v3.15.4~2^2) to apply to outputs in CMake-provided targets like `install`. Simply mark these outputs as `SYMBOLIC` too since they are not actually generated. Fixes: #19737
* | | Merge branch 'file-GENERATE-earlier' into release-3.16Brad King2019-10-094-15/+11
|\ \ \ | | |/ | |/| | | | Merge-request: !3895
| * | file(GENERATE): Create output file structures even earlierBrad King2019-10-074-15/+11
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | Since commit b80557c7bd (file(GENERATE): Evaluate early to allow generating source files, 2014-11-04, v3.2.0-rc1~398^2) we create the `cmSourceFile` instances marked with a `GENERATED` source file property before tracing source dependencies. Move it to even earlier so that steps in `cmGlobalGenerator::AddAutomaticSources` can operate on all sources. This also avoids the accidental `O(n^2)` calls for `n` local generators that we had previously. This is also needed since commit 83c1657ff7 (Unity build: Generate sources during Compute step, 2019-10-03) to support `file(GENERATE)` outputs as sources in a target with `UNITY_BUILD` enabled.
* | Merge branch 'apple-asm-deployment-target' into release-3.16Brad King2019-10-091-0/+2
|\ \ | | | | | | | | | Merge-request: !3894
| * | Apple: Set Clang ASM compiler featuresGregor Jasny2019-10-091-0/+2
| |/ | | | | | | | | | | | | | | The same is done for the C and CXX language. This initializes compiler flags like the sysroot path or deployment target. Closes: #19794 Suggested-by: Kyle Fleming
* | Begin 3.16 release versioningBrad King2019-10-071-3/+3
| |
* | Help: Drop development topic notes to prepare releaseBrad King2019-10-072-9/+0
|/ | | | | Release versions do not have the development topic section of the CMake Release Notes index page.
* Merge topic 'doc-3.16-relnotes'Brad King2019-10-0744-295/+271
|\ | | | | | | | | | | | | | | | | ffa1c76ba3 Help: Add missing 3.16 release notes for CPack/DEB descriptions a933d8d84e Help: Organize and revise 3.16 release notes 9c9a6e6023 Help: Consolidate 3.16 release notes Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3889
| * Help: Add missing 3.16 release notes for CPack/DEB descriptionsBrad King2019-10-071-0/+8
| | | | | | | | | | | | | | Add notes for the changes from commit 33c7ea513d (CPackDeb: Use `CPACK_PACKAGE_DESCRIPTION_FILE`, 2019-07-11). Suggested-by: Alex Turbov <i.zaufi@gmail.com>
| * Help: Organize and revise 3.16 release notesBrad King2019-10-071-135/+178
| | | | | | | | | | | | Add section headers similar to the 3.15 release notes and move each individual bullet into an appropriate section. Revise a few bullets. Drop bullets covering internal interfaces.
| * Help: Consolidate 3.16 release notesBrad King2019-10-0444-295/+220
| | | | | | | | | | Run the `Utilities/Release/consolidate-relnotes.bash` script to move notes from `Help/release/dev/*` into `Help/release/3.16.rst`.
* | Merge topic 'doc_custom_commands_crosscompile'Brad King2019-10-072-25/+45
|\ \ | | | | | | | | | | | | | | | | | | c6f08a2125 Help: Clarify how target names are handled in custom commands/targets Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3891
| * | Help: Clarify how target names are handled in custom commands/targetsCraig Scott2019-10-052-25/+45
| | | | | | | | | Fixes: #19771
* | | Merge topic 'export-genex-under-prefix'Brad King2019-10-072-4/+7
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 3ded5b6da8 install,export: Fix export of a genex following $<INSTALL_PREFIX> Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3886
| * | | install,export: Fix export of a genex following $<INSTALL_PREFIX>Brad King2019-10-042-4/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The relative path check added by commit 5838aba1aa (Export: Report error on relative include with genex., 2013-11-26, v3.0.0-rc1~285^2) was added one condition too early. If the value starts in `${_IMPORT_PREFIX}` (which comes from `$<INSTALL_PREFIX>`) then it is an absolute path. Fixes: #19791
* | | | Merge topic 'test-per-config-sources'Brad King2019-10-079-23/+71
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 9c9e66289a Tests: Enable ConfigSources test on every configuration Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3888
| * | | | Tests: Enable ConfigSources test on every configurationBrad King2019-10-049-23/+71
| | |_|/ | |/| | | | | | | | | | | | | | Revise the test itself to work in all configurations and verify that certain sources are only built by whatever configuration is tested.
* | | | Merge topic 'doc-install-strip'Brad King2019-10-072-6/+36
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 12368e6d15 Help: Document install/strip targets for Ninja/UNIX Makefiles generators Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3887
| * | | | Help: Document install/strip targets for Ninja/UNIX Makefiles generatorsCristian Adam2019-10-042-6/+36
| | |/ / | |/| |
* | | | CMake Nightly Date StampKitware Robot2019-10-071-1/+1
| | | |
* | | | CMake Nightly Date StampKitware Robot2019-10-061-1/+1
| |_|/ |/| |
* | | CMake Nightly Date StampKitware Robot2019-10-051-1/+1
| |/ |/|
* | Merge topic 'unity-step'Brad King2019-10-0411-10/+28
|\ \ | | | | | | | | | | | | | | | | | | 83c1657ff7 Unity build: Generate sources during Compute step Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3884
| * | Unity build: Generate sources during Compute stepBrad King2019-10-0311-10/+28
| | | | | | | | | | | | | | | | | | | | | | | | The unity build sources need to be added for all generators. Create them during `cmGlobalGenerator::Compute` to avoid duplicating the calls in every generator. We already handle Qt autogen there too. Issue: #19789
* | | Merge topic 'pch-multi-language'Brad King2019-10-046-153/+195
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 38c1f2ab22 PCH: Fix CMake test files indentation 1144a4fa47 PCH: Add multi-language PCH generation support Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3885
| * | | PCH: Fix CMake test files indentationCristian Adam2019-10-034-20/+20
| | | |
| * | | PCH: Add multi-language PCH generation supportCristian Adam2019-10-034-143/+185
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If the target has C files, it will get a C PCH file. The same for C++ files. The linker language is no longer used to determine which language to use for PCH. Fixes: #19790
* | | | Merge topic 'pch-clang-pch-regen'Brad King2019-10-042-3/+7
|\ \ \ \ | |_|_|/ |/| | | | | | | | | | | | | | | | | | | bc4f8f4472 PCH: Use clang's own pch functionality instead of the GCC emulation Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3881
| * | | PCH: Use clang's own pch functionality instead of the GCC emulationCristian Adam2019-10-032-3/+7
| | | | | | | | | | | | | | | | Fixes: #19786
* | | | CMake Nightly Date StampKitware Robot2019-10-041-1/+1
| |/ / |/| |
* | | Merge topic 'ctest-hardware-allocation'Brad King2019-10-03122-12/+6343
|\ \ \ | |_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | e9500271a3 Help: Add documentation for CTest hardware allocation d1f100a415 CTest: Add Json output for PROCESSES property b741ee820d Tests: Add test for CTest hardware allocation feature 3c8a5aad46 Tests: Write tests for cthwalloc helper tool 2d74e54661 Tests: Write cthwalloc helper tool e34de0691b CTest: Allocate hardware to tests aee0964851 CTest: Add bin-packing algorithm c494b2973a CTest: Add cmCTestHardwareAllocator class ... Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3858
| * | Help: Add documentation for CTest hardware allocationKyle Edwards2019-10-026-0/+304
| | |
| * | CTest: Add Json output for PROCESSES propertyKyle Edwards2019-10-023-4/+88
| | |
| * | Tests: Add test for CTest hardware allocation featureKyle Edwards2019-10-0223-26/+204
| | |
| * | Tests: Write tests for cthwalloc helper toolKyle Edwards2019-10-0245-0/+284
| | | | | | | | | | | | | | | This helper tool is sufficiently complex that it warrants having its own test suite.
| * | Tests: Write cthwalloc helper toolKyle Edwards2019-10-022-0/+428
| | |
| * | CTest: Allocate hardware to testsKyle Edwards2019-10-0210-7/+262
| | |
| * | CTest: Add bin-packing algorithmKyle Edwards2019-10-025-0/+534
| | | | | | | | | | | | | | | | | | | | | This algorithm is used to determine whether or not a test can execute with the available resources. It uses a recursive largest- first algorithm to try to place the tests into their respective slots.
| * | CTest: Add cmCTestHardwareAllocator classKyle Edwards2019-10-025-0/+553
| | |
| * | CTest: Add parser for hardware spec fileKyle Edwards2019-10-0223-0/+404
| | |
| * | CTest: Add lexer for PROCESSES propertyKyle Edwards2019-10-0212-1/+3308
| | |