summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake
Commit message (Collapse)AuthorAgeFilesLines
* Merge topic 'fileapi-toolchains'Brad King2021-01-1410-1/+151
|\ | | | | | | | | | | | | | | | | | | 6418dabb87 Tests: Add test for toolchains-v1 File API object 1c5bd1bed5 Tests: Add toolchains kind to capabilities test f72bb2ee0d Help: Add documentation for "toolchains" object kind bb069c0857 cmFileAPI: Add "toolchains" object kind. Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5678
| * Tests: Add test for toolchains-v1 File API objectBen McMorran2021-01-129-0/+150
| |
| * Tests: Add toolchains kind to capabilities testBen McMorran2021-01-121-1/+1
| |
* | Merge topic 'install-FILES-rename-genex'Brad King2021-01-146-0/+21
|\ \ | | | | | | | | | | | | | | | | | | ac3ccc393e install(files): Support genex in rename option Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5694
| * | install(files): Support genex in rename optionAsit Dhal2021-01-136-0/+21
| | | | | | | | | | | | Fixes: #19903
* | | Merge topic 'ExternalProject-configure-handled-by-build'Brad King2021-01-133-0/+77
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 7155e358c9 ExternalProject: Add CONFIGURE_HANDLED_BY_BUILD option Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5626
| * | | ExternalProject: Add CONFIGURE_HANDLED_BY_BUILD optionDaan De Meyer2021-01-123-0/+77
| | | | | | | | | | | | | | | | Fixes #21592.
* | | | Merge topic 'issue-21663'Brad King2021-01-132-0/+6
|\ \ \ \ | |_|/ / |/| | | | | | | | | | | | | | | | | | | 38e2299fc8 list(REMOVE_ITEM): Make removal of an empty item a no-op. Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5693
| * | | list(REMOVE_ITEM): Make removal of an empty item a no-op.Asit Dhal2021-01-122-0/+6
| | | | | | | | | | | | | | | | Fixes: #21663
* | | | Merge topic 'ninja-multi-config-post-build'Brad King2021-01-124-0/+17
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 98805a11ce Ninja Multi-Config: Run POST_BUILD when BYPRODUCTS don't overlap Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5673
| * | | | Ninja Multi-Config: Run POST_BUILD when BYPRODUCTS don't overlapKyle Edwards2021-01-074-0/+17
| | |_|/ | |/| | | | | | | | | | Fixes: #21252
* | | | Merge topic 'trace_expand_bracket'Brad King2021-01-121-0/+1
|\ \ \ \ | |_|/ / |/| | | | | | | | | | | | | | | | | | | e6e7f2cab9 cmMakefile: Don't expand bracket arguments in --trace-expand Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5687
| * | | cmMakefile: Don't expand bracket arguments in --trace-expandRaul Tambre2021-01-111-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | Bracket arguments are literal and shouldn't be expanded. Fixes #21671.
* | | | Merge topic 'xcode-object-ids'Brad King2021-01-083-0/+26
|\ \ \ \ | |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | b8b6573db8 Xcode: Use deterministic object ids for script build phases 2892228dc9 cmGlobalXCodeGenerator: Add infrastructure for deterministic object ids d250b67722 cmGlobalXCodeGenerator: Adopt pbxproj object id generation Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5671
| * | | Xcode: Use deterministic object ids for script build phasesBrad King2021-01-063-0/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The Xcode "new build system" only considers a script build phase up to date if it has run before, even if outputs are newer than inputs. Use a deterministic object id for script build phases associated with custom commands so that they do not need to re-run after CMake re-generates the project. Fixes: #21669
* | | | Merge topic 'export-compile-commands-per-target'Brad King2021-01-075-0/+69
|\ \ \ \ | |_|/ / |/| | | | | | | | | | | | | | | | | | | a742b5d137 CMAKE_EXPORT_COMPILE_COMMANDS: allow configuration per target Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5651
| * | | CMAKE_EXPORT_COMPILE_COMMANDS: allow configuration per targetShannon Booth2021-01-055-0/+69
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The new target property `EXPORT_COMPILE_COMMANDS` associated with the existing global variable can be used to optionally configure targets for their compile commands to be exported. Fixes: #19462
* | | | cmDepends: merge dependers of depend makefileKai Wang2021-01-055-2/+41
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since one depender has multiple dependees, depend makefile generated same depender line by line, to reduce file size and refine make file parse speed, merge same dependers to one. And add a testcase for large depend.make which generated source file includes 20000 header files and run build and incremental build Signed-off-by: Wangkai <wangkai86@huawei.com> Signed-off-by: Zhaoyingdong <zhaoyingdong@huawei.com>
* | | Merge topic 'makefiles-custom_command-depfile'Marc Chevrier2020-12-2617-14/+227
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 3eacf857e3 Tests: Add case for DEPFILE in add_custom_command cfd8a5ac1f Makefiles: Add support of DEPFILE for add_custom_command a526f71266 cmGccDepfileReader: Add new function ensuring paths are valid Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5617
| * | | Tests: Add case for DEPFILE in add_custom_commandMarc Chevrier2020-12-237-0/+123
| | | | | | | | | | | | | | | | Issue: #20286, #21415
| * | | Makefiles: Add support of DEPFILE for add_custom_commandMarc Chevrier2020-12-2311-14/+104
| | | | | | | | | | | | | | | | | | | | Issue: #20286 Fixes: #21415
* | | | Merge topic 'xcode-inherit-paths'Craig Scott2020-12-243-0/+98
|\ \ \ \ | |/ / / |/| | | | | | | | | | | | | | | | | | | | | | | 5115e8b2b6 Xcode: Generalize inheritance of project-level search paths 6b6230b23b cmGlobalXCodeGenerator: Factor out helper to append attribute Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5637
| * | | Xcode: Generalize inheritance of project-level search pathsBrad King2020-12-223-0/+98
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Generalize the change from commit bffb17be3d (Xcode: Inherit target library and framework search paths from project, 2020-11-04, v3.19.0-rc3~4^2) to apply to framework and other kinds of search paths added either for include directories or for linking. Issue: #21617
* | | | Merge topic 'fc-relative-SOURCE_DIR'Craig Scott2020-12-223-0/+9
|\ \ \ \ | | |/ / | |/| | | | | | | | | | | | | | | | | | 51595e5f01 FetchContent: Relative SOURCE_DIR override cannot be a hard error Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5641
| * | | FetchContent: Relative SOURCE_DIR override cannot be a hard errorCraig Scott2020-12-223-0/+9
| | | | | | | | | | | | Fixes: #21624
| * | | CMakePackageConfigHelpers: Relax restrictions on version rangeMarc Chevrier2020-12-141-18/+107
| | | |
| * | | Merge topic 'execute_process-command-error' into release-3.19Brad King2020-12-1421-11/+130
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | e5a4ffaad1 execute_process: Improve COMMAND_ERROR_IS_FATAL error capture scenarios Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5588
* | \ \ \ Merge topic 'issue-20134'Brad King2020-12-224-0/+57
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | b68699b717 target_include_directories: Support AFTER option Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5633
| * | | | | target_include_directories: Support AFTER optionAsit Dhal2020-12-194-0/+57
| | | | | | | | | | | | | | | | | | | | | | | | Fixes: #20134
* | | | | | Merge topic 'issue-15653'Brad King2020-12-2222-0/+231
|\ \ \ \ \ \ | |_|_|_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | c3385dd8bd file(GENERATE): Support options to manipulate file permissions Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5437
| * | | | | file(GENERATE): Support options to manipulate file permissionsAsit Dhal2020-12-2122-0/+231
| |/ / / / | | | | | | | | | | | | | | | Fixes: #15653
* | | | | Merge topic 'ctest-test-dir'Brad King2020-12-216-0/+22
|\ \ \ \ \ | |/ / / / |/| | | | | | | | | | | | | | | | | | | | | | | | dbcf86d24d Ctest: Support build tree on command line Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5623
| * | | | Ctest: Support build tree on command lineAsit Dhal2020-12-176-0/+22
| | |_|/ | |/| | | | | | | | | | Fixes: #21268
* | | | Merge topic 'qt-autogen-per-config'Brad King2020-12-171-1/+2
|\ \ \ \ | |/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | 20e4db4a66 cmGeneratorTarget: Make GetConfigCommonSourceFiles Xcode-specific 92d7b456e5 Autogen: Add support for per-config sources 3ffebbaefb Tests/QtAutogen: Forward build configuration in multi-config generators Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5624
| * | | Autogen: Add support for per-config sourcesBrad King2020-12-161-1/+2
| | | | | | | | | | | | | | | | Fixes: #20682
* | | | Merge topic 'unity-anon-ns'Craig Scott2020-12-165-0/+84
|\ \ \ \ | |/ / / |/| | | | | | | | | | | | | | | | | | | 0fe9c40494 Unity Build: Add option for generating per-file unique id Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4784
| * | | Unity Build: Add option for generating per-file unique idStephen Kelly2020-12-155-0/+84
| | | | | | | | | | | | | | | | Fixes: #21477
* | | | Merge topic 'custom-command-output-genex-nmc'Brad King2020-12-1664-4/+568
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1526ae3aba Tests: Add cases for Ninja Multi-Config cross-config custom commands dcf9f4d2f7 Ninja Multi-Config: Add support for cross-config custom commands 15467f12f7 cmLocalGenerator: Adopt custom target 'force' output name generation 7b64b0cd5a cmLocalGenerator: Refactor custom command generator construction d29da8ed3e cmMakefile: Simplify custom target 'force' output name generation 2b1cc175ee Help: Clarify version adding add_custom_{command,target} OUTPUT genex support Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5612
| * | | | Tests: Add cases for Ninja Multi-Config cross-config custom commandsBrad King2020-12-1563-0/+564
| | | | |
| * | | | Ninja Multi-Config: Add support for cross-config custom commandsKyle Edwards2020-12-151-4/+4
| |/ / / | | | | | | | | | | | | Co-Author: Brad King <brad.king@kitware.com>
* | | | Merge topic 'issue-20915'Brad King2020-12-1513-5/+44
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 6d0712c225 file(configure): Order of named options should be specified in any order Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5608
| * | | | file(configure): Order of named options should be specified in any orderAsit Dhal2020-12-1313-5/+44
| | | | | | | | | | | | | | | | | | | | Fixes: #20915
* | | | | Merge topic 'issue-21557-test-cases'Brad King2020-12-1530-0/+92
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 8851637e9f cmake_policy: Implement test cases for cmake_policy VERSION Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5610
| * | | | | cmake_policy: Implement test cases for cmake_policy VERSIONAsit Dhal2020-12-1430-0/+92
| |/ / / /
* | | | | CMakePackageConfigHelpers: Relax restrictions on version rangeMarc Chevrier2020-12-141-18/+107
| |/ / / |/| | |
* | | | Merge topic 'custom-command-output-genex'Brad King2020-12-149-33/+128
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | c257c25419 add_custom_{command,target}: Add genex support to OUTPUT and BYPRODUCTS f36af9228b cmLocalGenerator: Evaluate generator expressions in custom command outputs c887cefd9a cmLocalGenerator: Simplify custom command output cmSourceFile creation 947ba01bf9 cmLocalGenerator: Factor out helper to expand custom command output paths 1902d28ebc cmLocalGenerator: Refactor UpdateOutputToSourceMap to avoid boolean trap e4034eabe9 cmLocalGenerator: Re-order logic in CreateGeneratedSource 706c48301d cmCustomCommandGenerator: Treat relative outputs w.r.t. build dir 5d23c5446e cmCustomCommandGenerator: Refactor OUTPUT and DEPENDS path evaluation ... Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Kyle Edwards <kyle.edwards@kitware.com> Acked-by: Pavel Solodovnikov <hellyeahdominate@gmail.com> Acked-by: Ben Boeckel <ben.boeckel@kitware.com> Merge-request: !5402
| * | | | add_custom_{command,target}: Add genex support to OUTPUT and BYPRODUCTSBrad King2020-12-119-33/+128
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Move rejection of `#`, `<`, and `>` characters in outputs and byproducts to a generate-time check. This removes the front-end check that disallowed generator expressions. The generators have already been updated to handle them. Fixes: #12877
* | | | | Merge topic 'execute_process-command-error'Brad King2020-12-1421-11/+130
|\ \ \ \ \ | |_|/ / / |/| | | / | | |_|/ | |/| | | | | | | | | | e5a4ffaad1 execute_process: Improve COMMAND_ERROR_IS_FATAL error capture scenarios Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5588
| * | | execute_process: Improve COMMAND_ERROR_IS_FATAL error capture scenariosAsit Dhal2020-12-1021-11/+130
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1. COMMAND_ERROR_IS_FATAL ANY will capture errors if the exit code is non zero, there is a timeout or an abnormal exit. 2. COMMAND_ERROR_IS_FATAL LAST will capture if only the last process has an exit code non zero, there is a timeout or an abnormal exit. Fixes: #21562
* | | | Merge topic 'apple-silicon-host-arch'Brad King2020-12-1113-0/+104
|\ \ \ \ | |_|/ / |/| | / | | |/ | |/| | | | | | | | | | b7f0327dcd Tests: Cover macOS host architecture selection on Apple Silicon hosts 5f882f6ce5 macOS: Offer control over host architecture on Apple Silicon hosts Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5589