summaryrefslogtreecommitdiffstats
path: root/Source
Commit message (Collapse)AuthorAgeFilesLines
* Merge topic 'mark_as_advanced-without-cache'Brad King2020-01-222-6/+61
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 3ec82b713e cmMarkAsAdvancedCommand: ignore variables which don't exist in the cache 701a5c60e0 cmake: avoid marking local or unused variables as advanced af158149e7 FindOpenSSL: do not mark a local variable as advanced 74f659f1f2 FindCurses: only mark CURSES_EXTRA_LIBRARY when it is used 7e2ae4e96d FindOpenGL: only mark declared cache variables as advanced 7cc02a0c29 FindLua: only mark LUA_MATH_LIBRARY as advanced if required 85cd26b8a6 FindBoost: only mark Boost_DIR as advanced if defined 338c7916ba CTest: avoid marking undeclared cache variables as advanced ... Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4150
| * cmMarkAsAdvancedCommand: ignore variables which don't exist in the cacheBen Boeckel2020-01-202-6/+61
| | | | | | | | Fixes: #18331
* | Merge topic 'modernize-memory-management'Brad King2020-01-222-33/+31
|\ \ | | | | | | | | | | | | | | | | | | edab5add57 cmMakefileTargetGenerator: modernize memory management Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4250
| * | cmMakefileTargetGenerator: modernize memory managementMarc Chevrier2020-01-212-33/+31
| | |
* | | Merge topic 'install-std-string'Brad King2020-01-2213-42/+44
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 5e54b0cf2f cmInstallGenerator: std::string params Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4255
| * | | cmInstallGenerator: std::string paramsVitaly Stakhovsky2020-01-2113-42/+44
| | | | | | | | | | | | | | | | | | | | Several construction parameters converted to std::string Also made a few class members const
* | | | Merge topic 'vs-std-string'Brad King2020-01-222-50/+45
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2e768924f3 cmLocalVisualStudio7Generator: clean up c_str() Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4249
| * | | | cmLocalVisualStudio7Generator: clean up c_str()Vitaly Stakhovsky2020-01-202-50/+45
| | | | |
* | | | | CMake Nightly Date StampKitware Robot2020-01-221-1/+1
| |/ / / |/| | |
* | | | Merge topic 'install-std-string'Brad King2020-01-2117-119/+122
|\ \ \ \ | |_|/ / |/| | | | | | | | | | | | | | | | | | | 9db532f44d cmInstall*Generator: std::string params Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4241
| * | | cmInstall*Generator: std::string paramsVitaly Stakhovsky2020-01-2117-119/+122
| |/ / | | | | | | | | | | | | Several construction parameters converted to std::string Also made a few class members const
* | | CMake Nightly Date StampKitware Robot2020-01-211-1/+1
|/ /
* | Merge topic 'multi-ninja-pch'Brad King2020-01-204-131/+149
|\ \ | | | | | | | | | | | | | | | | | | a55df20499 Multi-Ninja: Add precompile headers support Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4201
| * | Multi-Ninja: Add precompile headers supportCristian Adam2020-01-174-131/+149
| | | | | | | | | | | | Fixes: #19789
* | | Merge topic 'realpath-cache'Brad King2020-01-203-2/+17
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 9d5a554cc9 cmGlobalGenerator: Add cache for realpath() results Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4220
| * | | cmGlobalGenerator: Add cache for realpath() resultsTim Blechmann2020-01-163-2/+17
| | | | | | | | | | | | | | | | | | | | Cache the results of `realpath()` system calls in `cmGlobalGenerator` to avoid repeating such calls for the same paths over and over.
* | | | Merge topic 'autogen_rcc_skip_unity'Brad King2020-01-202-14/+19
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 086d9b2bab Autogen: Enable SKIP_UNITY_BUILD_INCLUSION on AUTORCC generated files Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Cristian Adam <cristian.adam@gmail.com> Merge-request: !4237
| * | | | Autogen: Enable SKIP_UNITY_BUILD_INCLUSION on AUTORCC generated filesSebastian Holtermann2020-01-172-14/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | `rcc` generated files are not compatible with unity builds, because they contain classes in anonymous namespaces and static data with identical names. This patch sets the source file property `SKIP_UNITY_BUILD_INCLUSION` to `On` on all `AUTORCC` generated files to exclude them from unity build files. Fixes: #20191 "QT5: Exclude resource files from unity build"
* | | | | Merge topic 'acc-fix-in-source-depends-path'Brad King2020-01-203-6/+21
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ba3a417dce Tests/CustomCommand: add a test for depending on a `./path` e23475dc73 Tests/CustomCommand: fix custom command line to actually make its output db4780d584 cmGeneratorTarget: search for relative paths to the binary directory ec479f101f cmLocalGenerator: collapse the path after construction fd0ba705ce add_custom_command: check if a relative path should be an in-source path fd84f510f8 cmLocalGenerator: simplify the current source dir query Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4195
| * | | | | cmGeneratorTarget: search for relative paths to the binary directoryBen Boeckel2020-01-161-0/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Dependencies in the form `./somepath.txt` are not found otherwise because we only match on last-path-component searches and `.` never shows up in a full path as a full component.
| * | | | | cmLocalGenerator: collapse the path after constructionBen Boeckel2020-01-161-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The path may contain `..` or `.` components naïvely, so compute them out before letting the generator handle them.
| * | | | | add_custom_command: check if a relative path should be an in-source pathBen Boeckel2020-01-162-4/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This still is broken for dependencies on generated paths where they get generated to the source directory rather than the build directory however, but there's no way to determine that is the case. Fixes: #20194
| * | | | | cmLocalGenerator: simplify the current source dir queryBen Boeckel2020-01-161-2/+1
| | | | | |
* | | | | | CMake Nightly Date StampKitware Robot2020-01-201-1/+1
| | | | | |
* | | | | | Merge topic 'pch-msvc-no-path-repetition'Craig Scott2020-01-191-1/+2
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 07fe1bcd4e PCH: No repeated path for internal generated PCH files (MSVC case) Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4236
| * | | | | | PCH: No repeated path for internal generated PCH files (MSVC case)Cristian Adam2020-01-161-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes: #19952
* | | | | | | CMake Nightly Date StampKitware Robot2020-01-191-1/+1
| | | | | | |
* | | | | | | CMake Nightly Date StampKitware Robot2020-01-181-1/+1
| | | | | | |
* | | | | | | 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