summaryrefslogtreecommitdiffstats
path: root/Source
Commit message (Collapse)AuthorAgeFilesLines
* cmGeneratorExpression: remove const char* overloadsVitaly Stakhovsky2020-03-086-30/+7
|
* CMake Nightly Date StampKitware Robot2020-03-081-1/+1
|
* CMake Nightly Date StampKitware Robot2020-03-071-1/+1
|
* Merge topic 'ConvertMSBuildXMLToJSON-default-mutable'Brad King2020-03-061-2/+7
|\ | | | | | | | | | | | | | | 98e735903a MSBuild: Fix python mutable default data structure Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Drew Dennison <dennison@mit.edu> Merge-request: !4432
| * MSBuild: Fix python mutable default data structureBrendon Go2020-03-061-2/+7
| | | | | | | | Change default value of arguments to be None and instantiate new object inside function.
* | Merge topic 'modernize-memory-management'Brad King2020-03-0613-64/+76
|\ \ | | | | | | | | | | | | | | | | | | 9de0355d4f Modernize memory management Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4428
| * | Modernize memory managementMarc Chevrier2020-03-0513-64/+76
| | | | | | | | | | | | Update internals of various classes.
* | | CMake Nightly Date StampKitware Robot2020-03-061-1/+1
| |/ |/|
* | Merge topic 'macos_framework_postfix'Kyle Edwards2020-03-056-18/+89
|\ \ | | | | | | | | | | | | | | | | | | ad3f69c86e Add support for FRAMEWORK_MULTI_CONFIG_POSTFIX_<CONFIG> Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4289
| * | Add support for FRAMEWORK_MULTI_CONFIG_POSTFIX_<CONFIG>Alexandru Croitor2020-03-046-18/+89
| | |
* | | Merge topic 'objlib-transitive-deps'Brad King2020-03-051-13/+14
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | a833aa1167 Fix dependencies on targets linked through object libraries 3b3de0fd17 Tests: Extend ObjectLibrary test with case for object lib dependencies Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4427
| * | | Fix dependencies on targets linked through object librariesBrad King2020-03-041-13/+14
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When an object library is used via `target_link_libraries`, any targets listed in the object library's `INTERFACE_LINK_LIBRARIES` closure should become direct dependencies of the consuming target. However, these were accidentally left out by `cmComputeTargetDepends::CollectTargetDepends` because object libraries are encountered through external object sources first and then added to the `emitted` set which blocks them from being processed as link dependencies. This was not noticed by the test case in commit bab24e782c (target_link_libraries: Propagate dependencies of object libraries, 2018-12-10, v3.14.0-rc1~260^2) because the relevant dependency appears transitively through the object library target itself. Re-order the logic to process link dependencies first, and then external object sources. That way object libraries used via `target_link_libraries` will be treated as such by dependency analysis. This also adds missing backtrace information for object libraries used via `target_link_libraries`. The missing information was mentioned in a FIXME comment in the RunCMake.FileAPI test added by commit ea0a060168 (fileapi: Add test for codemodel v2, 2018-11-09, v3.14.0-rc1~257^2~7). That comment itself was dropped by commit a0de350e2f (FileAPI test: Break gen_check_targets() into JSON files, 2020-02-07), but we can now update the corresponding location in the `.json` files to have the now-expected backtrace information. Fixes: #20421
* | | Merge topic 'ninja-multi-custom-command-deps'Brad King2020-03-051-1/+2
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 081c4679f7 Ninja Multi-Config: Don't build target dependencies for custom commands Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4423
| * | | Ninja Multi-Config: Don't build target dependencies for custom commandsKyle Edwards2020-03-031-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | If cross-config mode is used, and a target depends on another target as well as a custom command, we don't want the custom command to also depend on the depended target, as that would build targets unnecessarily. Fix this behavior.
* | | | Merge topic 'update-kwsys'Brad King2020-03-0519-967/+998
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 9e6b07f5ff Merge branch 'upstream-KWSys' into update-kwsys ec33e3600c KWSys 2020-03-04 (6af2e592) Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4424
| * | | | Merge branch 'upstream-KWSys' into update-kwsysBrad King2020-03-0419-967/+998
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | # By KWSys Upstream * upstream-KWSys: KWSys 2020-03-04 (6af2e592)
* | | | | CMake Nightly Date StampKitware Robot2020-03-051-1/+1
| |_|/ / |/| | |
* | | | Merge topic 'ninja-multi-spurious-unused-variables'Brad King2020-03-041-0/+3
|\ \ \ \ | |/ / / |/| | | | | | | | | | | | | | | | | | | 8b799f80e3 Ninja Multi-Config: Fix spurious unused variable warning Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4421
| * | | Ninja Multi-Config: Fix spurious unused variable warningKyle Edwards2020-03-031-0/+3
| |/ / | | | | | | | | | Fixes: #20381
| * | CMake 3.17.0-rc2v3.17.0-rc2Brad King2020-03-021-1/+1
| | |
| * | Merge topic 'ninja-multi-variable-shuffle-again' into release-3.17Brad King2020-02-284-17/+59
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | c794b70f19 Ninja Multi-Config: Always generate build.ninja 9590c3a400 Generator: Don't allow Ninja Multi-Config variables on other generators 7a63dafafb Ninja Multi-Config: Remove "NMC" from variable names Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4403
* | | | CMake Nightly Date StampKitware Robot2020-03-041-1/+1
| | | |
* | | | Merge topic 'cmake_command-eval'Brad King2020-03-037-33/+100
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 598b676b5e cmake_command: Add command to EVAL a CMake script as a string Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4408
| * | | | cmake_command: Add command to EVAL a CMake script as a stringCristian Adam2020-03-037-33/+100
| | | | |
* | | | | Merge topic 'cmGeneratedFileStream-resource-leak'Brad King2020-03-031-0/+1
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 59530d9dec cmGeneratedFileStream: File resource leak if oldname not found Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4415
| * | | | | cmGeneratedFileStream: File resource leak if oldname not foundBo Rydberg2020-03-011-0/+1
| | | | | |
* | | | | | CMake Nightly Date StampKitware Robot2020-03-031-1/+1
| | | | | |
* | | | | | Merge topic 'xl-fortran-module-dir-use'Brad King2020-03-021-0/+9
|\ \ \ \ \ \ | |_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 92785ed746 Tests: Enable Fortran submodule tests on XL compilers 210b0b99a9 XL: Fix using Fortran modules from their output directory Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4405
| * | | | | XL: Fix using Fortran modules from their output directoryBrad King2020-02-281-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The XL Fortran compiler's `-qmoddir=` flag sets the module output directory but does not add the directory to the search path for using modules. This is inconsistent with other compilers like the GNU Fortran compiler's `-J` flag that does both. In order to make these consistent, add the module output directory with a `-I` flag on the XL Fortran compiler so that it will be searched when using modules too. This fixes our `FortranModules` test's coverage of submodules on Ninja + XL. That test places module files in a subdirectory that with Ninja is not the current working directory when the compiler runs. Fixes: #20400
* | | | | | CMake Nightly Date StampKitware Robot2020-03-021-1/+1
| |/ / / / |/| | | |
* | | | | CMake Nightly Date StampKitware Robot2020-03-011-1/+1
| | | | |
* | | | | CMake Nightly Date StampKitware Robot2020-02-291-1/+1
| | | | |
* | | | | Merge topic 'csharp-out-of-source-groups'Brad King2020-02-282-84/+47
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ac6b18cd90 CSharp: Add support for source groups with out-of-source builds Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4374
| * | | | | CSharp: Add support for source groups with out-of-source buildsKinan Mahdi2020-02-282-84/+47
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This also fixes support for multiple sources of the same name in different directories. Add a test for both problems. Issue: #19505
* | | | | | Merge topic 'modernize-memory-management'Brad King2020-02-2817-138/+126
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 557cecdc3d Modernize memory management Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4402
| * | | | | | Modernize memory managementMarc Chevrier2020-02-2717-138/+126
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Update internals of various classes
* | | | | | | Merge topic 'ninja-multi-variable-shuffle-again'Brad King2020-02-284-17/+59
|\ \ \ \ \ \ \ | | |_|_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | c794b70f19 Ninja Multi-Config: Always generate build.ninja 9590c3a400 Generator: Don't allow Ninja Multi-Config variables on other generators 7a63dafafb Ninja Multi-Config: Remove "NMC" from variable names Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4403
| * | | | | | Ninja Multi-Config: Always generate build.ninjaKyle Edwards2020-02-271-7/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If CMAKE_DEFAULT_BUILD_TYPE is not specified, use the first item from CMAKE_CONFIGURATION_TYPES instead.
| * | | | | | Generator: Don't allow Ninja Multi-Config variables on other generatorsKyle Edwards2020-02-273-0/+46
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We may want to enable these variables later on with specific semantics. To avoid breaking backwards compatibility, make it an error to use them for now.
| * | | | | | Ninja Multi-Config: Remove "NMC" from variable namesKyle Edwards2020-02-271-11/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also rename `..._DEFAULT_BUILD_FILE_CONFIG` to `..._DEFAULT_BUILD_TYPE`. These name changes make the variables meaningful for future use by other generators.
* | | | | | | Merge topic 'foreach-range-issues'Brad King2020-02-281-6/+36
|\ \ \ \ \ \ \ | | |_|_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 185d1aefaa foreach: Set fatal error on invalid range a33b3949e5 foreach: Fix crash when parsing invalid integer Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4407
| * | | | | | foreach: Set fatal error on invalid rangeKyle Edwards2020-02-271-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes: #20394
| * | | | | | foreach: Fix crash when parsing invalid integerKyle Edwards2020-02-271-6/+35
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes: #20393
| * | | | | | Merge topic 'pch-file-time' into release-3.17Brad King2020-02-271-0/+13
| |\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 7e9b9fe918 PCH: Copy the timestamp from an absolute header file Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4400
| * \ \ \ \ \ \ Merge topic 'update-kwsys' into release-3.17Brad King2020-02-271-0/+1
| |\ \ \ \ \ \ \ | | |_|/ / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 06702acb28 KWSys: Terminal: Add st-256color to VT100 color support whitelist Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4394
| | * | | | | | KWSys: Terminal: Add st-256color to VT100 color support whitelistBrad King2020-02-251-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Backport KWSys commit `44eaaa6e8` (Terminal: Add st-256color to VT100 color support whitelist, 2020-02-19) to CMake 3.17.
| * | | | | | | Merge topic 'ctest-failure-error-reporting' into release-3.17Brad King2020-02-256-24/+82
| |\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | a5be3916ee CTest: Provide more detailed information on resource allocation error f0df3ed5b9 Refactor: Provide more detailed error information from TryAllocateResources() f1c34443b7 CTest: Improve error reporting with bad working directory for tests 1dec359422 Refactor: Require detail when calling cmCTestRunTest::StartFailure() Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4390
| * \ \ \ \ \ \ \ Merge topic 'cuda-non-device-link' into release-3.17Brad King2020-02-251-2/+2
| |\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 7da2c8c543 Merge branch 'backport-cuda-non-device-link' 738f3f23aa Ninja: Do not use nvcc response files with non-nvcc tools Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Robert Maynard <robert.maynard@kitware.com> Merge-request: !4376
* | | | | | | | | | CMake Nightly Date StampKitware Robot2020-02-281-1/+1
| |_|_|_|_|_|_|/ / |/| | | | | | | |
* | | | | | | | | Merge topic 'Genex-LINK_LANGUAGE'Brad King2020-02-2710-47/+344
|\ \ \ \ \ \ \ \ \ | |_|_|_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 461efa7b51 Genex: Add $<LINK_LANGUAGE:...> and $<LINK_LANG_AND_ID:...> Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4244