summaryrefslogtreecommitdiffstats
path: root/Source
Commit message (Collapse)AuthorAgeFilesLines
* Merge topic 'out-of-dir-link-list'Brad King2020-01-176-126/+180
|\ | | | | | | | | | | | | | | | | f0e67da061 target_link_libraries: Fix out-of-dir linking of a list of targets acee629103 cmTargetLinkLibrariesCommand: Move HandleLibrary to helper struct ba675f1ecc Tests: Enable CMP0022 in ExportImport out-of-dir linking case Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4226
| * target_link_libraries: Fix out-of-dir linking of a list of targetsBrad King2020-01-166-71/+108
| | | | | | | | | | | | | | | | | | | | | | | | | | | | In a case like target_link_libraries(targetInOtherDir PUBLIC "$<1:a;b>") then all entries in the list need to be looked up in the caller's scope. Previously our `::@(directory-id)` suffix would apply only to the last entry. Instead surround the entire entry by a pair `::@(directory-id);...;::@` so that the `::@` syntax can encode a directory lookup scope change evaluated as the list is processed. Fixes: #20204
| * cmTargetLinkLibrariesCommand: Move HandleLibrary to helper structBrad King2020-01-161-65/+82
| |
* | Merge topic 'cmake-ctest-arguments'Brad King2020-01-171-0/+7
|\ \ | | | | | | | | | | | | | | | | | | 4153d8445b Add CMAKE_CTEST_ARGUMENTS variable to pass command-line arguments to ctest Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4168
| * | Add CMAKE_CTEST_ARGUMENTS variable to pass command-line arguments to ctestRobert Goulet2020-01-151-0/+7
| | | | | | | | | | | | Fixes: #20172
* | | Merge topic 'rename-cross-config-variable'Brad King2020-01-171-1/+1
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 310b58e961 Ninja Multi-Config: Rename variable to be more consistent Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4234
| * | | Ninja Multi-Config: Rename variable to be more consistentKyle Edwards2020-01-161-1/+1
| | | | | | | | | | | | | | | | Also make some tweaks to the documentation.
* | | | Merge topic 'feature/cmSourceFile-avoid-unnecessary-copy'Brad King2020-01-171-2/+2
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5da3d01fd1 cmSourceFile: avoid unnnecessary copies Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4233
| * | | | cmSourceFile: avoid unnnecessary copiesTim Blechmann2020-01-161-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | the copies in `cmSourceFile::FindFullPath` are one of the hotspots of my build system: we can easily avoid them by capturing by reference instead of by value
* | | | | Merge topic 'cpack-custom-dmg-names'Craig Scott2020-01-171-0/+5
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 6d6f4b9316 CPack/DragNDrop: Support CPACK_DMG_<component>_FILE_NAME b53230fbee Tests: Add DragNDrop as a testable CPack generator Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4227
| * | | | | CPack/DragNDrop: Support CPACK_DMG_<component>_FILE_NAMEAndrew Fuller2020-01-161-0/+5
| | | | | |
* | | | | | CMake Nightly Date StampKitware Robot2020-01-171-1/+1
| | | | | |
* | | | | | Merge topic 'nag-submodule'Brad King2020-01-161-2/+6
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | f7f60ddcf9 Fortran: Add support for NAG Fortran submodules Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4229
| * | | | | | Fortran: Add support for NAG Fortran submodulesNeil Carlson2020-01-151-2/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | They use a `.sub` extension. Fixes: #20220
* | | | | | | Merge topic 'pch_job_pool'Brad King2020-01-162-0/+8
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 97c124e30f Ninja: Add a separate job pool for PCH creation ebd0b16ddb vim: Add target_precompile_headers command highlighting Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Cristian Adam <cristian.adam@gmail.com> Merge-request: !4224
| * | | | | | | Ninja: Add a separate job pool for PCH creationDan Johnston2020-01-162-0/+8
| | |_|_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add a `JOB_POOL_PRECOMPILE_HEADER` target property to specify the pool name, and its associated `CMAKE_JOB_POOL_PRECOMPILE_HEADER` variable. Fixes: #20217
* | | | | | | Merge topic 'file_download_filename'Brad King2020-01-161-1/+2
|\ \ \ \ \ \ \ | |_|_|_|_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | c0da651c09 file(DOWNLOAD): Don't fail if given just a filename to write to b56d429324 Tests: Fix CMake.FileDownload test failures not reported 3bc73803b4 Tests: Fix CMake.FileDownload test in presence of proxy 1352585301 Tests: Extend CMake.FileDownload test internal timeouts Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4159
| * | | | | | file(DOWNLOAD): Don't fail if given just a filename to write toJohnny Jazeix2020-01-151-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes: #17969
* | | | | | | CMake Nightly Date StampKitware Robot2020-01-161-1/+1
| |_|_|_|/ / |/| | | | |
* | | | | | Merge topic 'unity-lang-filename'Brad King2020-01-151-1/+1
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 274a6f3699 Unity Build: include language in generated source file name Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4223
| * | | | | | Unity Build: include language in generated source file nameCristian Adam2020-01-141-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes: #20206
| * | | | | | Merge topic 'vs-Fortran-link-flags' into release-3.16Brad King2020-01-141-0/+8
| |\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | a3c827b2ea VS: Add Fortran link flag table entries for /OPT:* Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4210
| * \ \ \ \ \ \ Merge topic 'fix-cpack-deb-description-file' into release-3.16Brad King2020-01-131-2/+7
| |\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | d491f34a5e CPack: Fix regression in DEB generator description Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4204
| * \ \ \ \ \ \ \ Merge topic 'objc-visibility-inlines' into release-3.16Brad King2020-01-131-4/+5
| |\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 7347e2f830 ObjC: Add VISIBLITY_INLINES_HIDDEN support Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4199
* | \ \ \ \ \ \ \ \ Merge topic 'ctest-timeout-on-pipe'Brad King2020-01-151-3/+0
|\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | d1976cd1f2 CTest: Fix timeout when grandchild keeps pipes open 2f5eb1800b Tests: Add RunCMake.CTestTimeout test Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4217
| * | | | | | | | | | CTest: Fix timeout when grandchild keeps pipes openBrad King2020-01-141-3/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When a test's process creates its own child and exits, the grandchild may keep pipes open. Fix CTest logic to correctly timeout if the grandchild does not exit and close the pipes before the timeout expires. This was broken by commit b5e21d7d2e (CTest: Re-implement test process handling using libuv, 2017-12-10, v3.11.0-rc1~117^2) which added an unnecessary condition to the timeout handling. Fixes: #20116
* | | | | | | | | | | Merge topic 'avoid-getcwd'Brad King2020-01-155-5/+10
|\ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 22f38c0d6b cmake: avoid getcwd in `CollapseFullPath` Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4218
| * | | | | | | | | | | cmake: avoid getcwd in `CollapseFullPath`Tim Blechmann2020-01-145-5/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | `CollapseFullPath` calls getcwd, which is a rather expensive system call. we can replace it with `GetHomeOutputDirectory()` to save us from the calling overhead
* | | | | | | | | | | | Merge topic 'modernize-memory-management'Brad King2020-01-1517-209/+177
|\ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 328f586be7 cmAlgorithms.h: remove obsolete helpers f466cea3c9 cmMakefile: modernize memory management Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4215
| * | | | | | | | | | | | cmAlgorithms.h: remove obsolete helpersMarc Chevrier2020-01-141-41/+0
| | | | | | | | | | | | |
| * | | | | | | | | | | | cmMakefile: modernize memory managementMarc Chevrier2020-01-1416-168/+177
| | | | | | | | | | | | |
* | | | | | | | | | | | | CMake Nightly Date StampKitware Robot2020-01-151-1/+1
| |_|_|_|_|_|_|_|_|_|_|/ |/| | | | | | | | | | |
* | | | | | | | | | | | Merge topic 'ninja_multi_config_support_cuda'Kyle Edwards2020-01-142-8/+41
|\ \ \ \ \ \ \ \ \ \ \ \ | |_|_|_|_|_|_|_|_|/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | c7ac13e8ed CUDA: Mult-Config Ninja generator now supports CUDA Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4187
| * | | | | | | | | | | CUDA: Mult-Config Ninja generator now supports CUDARobert Maynard2020-01-132-8/+41
| | |_|/ / / / / / / / | |/| | | | | | | | |
* | | | | | | | | | | Merge topic 'cross-ninja-improve-error-handling'Brad King2020-01-141-3/+9
|\ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ca9100c5ce Ninja Multi-Config: Improve error handling when not doing cross-config build Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4214
| * | | | | | | | | | | Ninja Multi-Config: Improve error handling when not doing cross-config buildKyle Edwards2020-01-131-3/+9
| |/ / / / / / / / / /
* | | | | | | | | | | Merge topic 'vs-Fortran-link-flags'Brad King2020-01-141-0/+8
|\ \ \ \ \ \ \ \ \ \ \ | | |_|_|_|_|_|/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | a3c827b2ea VS: Add Fortran link flag table entries for /OPT:* Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4210
| * | | | | | | | | | VS: Add Fortran link flag table entries for /OPT:*Pavel Liavonau2020-01-131-0/+8
| | |_|_|_|_|_|_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes: #20190
* | | | | | | | | | Merge topic 'xcode-default-warnings'Brad King2020-01-141-3/+0
|\ \ \ \ \ \ \ \ \ \ | |_|_|/ / / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | b7b8331d68 Xcode: Drop hard-coded default warning flags like -Wmost Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4213
| * | | | | | | | | Xcode: Drop hard-coded default warning flags like -WmostBrad King2020-01-131-3/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The `-Wmost` flag was added by commit 97a51d2172 (ENH: add more xcode stuff, 2005-01-27, v2.4.0~2396), along with a couple others, as part of very early work on the Xcode generator. I suspect that the flags were part of Xcode's project creation wizard. However, they are not appropriate for CMake-based projects because we already have our own mechanisms for specifying flags desired by the project or user. Simply drop the flags. Fixes: #13516
* | | | | | | | | | CMake Nightly Date StampKitware Robot2020-01-141-1/+1
| |_|/ / / / / / / |/| | | | | | | |
* | | | | | | | | Merge topic 'target_compile_options-BEFORE-keyword'Brad King2020-01-132-2/+12
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2678e31053 target_compile_options: ensure BEFORE keyword is handled in all scopes Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4203
| * | | | | | | | | target_compile_options: ensure BEFORE keyword is handled in all scopesMarc Chevrier2020-01-112-2/+12
| |/ / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes: #20200
* | | | | | | | | Merge topic 'ninja-cross-build-disable'Brad King2020-01-133-4/+25
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | e8032e202e Ninja Multi-Config: Make cross-config building opt-in Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4205
| * | | | | | | | | Ninja Multi-Config: Make cross-config building opt-inKyle Edwards2020-01-103-4/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Many users will want to use the Ninja Multi-Config generator like a traditional Visual Studio-style multi-config generator, which doesn't mix configurations - custom commands are built using target executables of the same configuration the command is for. We do not want to force these people to generate an N*N build matrix when they only need N*1, especially if they have lots of targets. Add a new variable, CMAKE_NINJA_CROSS_CONFIG_ENABLE, to opt-in to the cross-config build matrix.
* | | | | | | | | | Merge topic 'std-string'Brad King2020-01-133-40/+41
|\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 93e9d10c7f cmCacheManager: more members use std::string Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4186
| * | | | | | | | | | cmCacheManager: more members use std::stringVitaly Stakhovsky2020-01-063-40/+41
| | | | | | | | | | |
* | | | | | | | | | | Merge topic 'refactoring-STL-erase_if'Brad King2020-01-137-21/+18
|\ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 968477517e Refactoring: suppress cmEraseIf in favor of cm::erase_if 348b60d19d STL support: add c++20 std::erase and std::erase_if functions Acked-by: Kitware Robot <kwrobot@kitware.com> Rejected-by: Leonid Pospelov <pospelovlm@yandex.ru> Merge-request: !4192
| * | | | | | | | | | | Refactoring: suppress cmEraseIf in favor of cm::erase_ifMarc Chevrier2020-01-097-21/+18
| | | | | | | | | | | |
* | | | | | | | | | | | Merge topic 'out-of-dir-link-keyword'Brad King2020-01-132-1/+5
|\ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 09721ca078 target_link_libraries: Fix out-of-dir calls with debug/optimized keywords c40229968c target_link_libraries: Add FIXME comment for out-of-dir genex list Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4202