summaryrefslogtreecommitdiffstats
path: root/Source
Commit message (Collapse)AuthorAgeFilesLines
* Merge topic 'readability-static-accessed-through-instance'Brad King2018-11-2828-114/+141
|\ | | | | | | | | | | | | 3e60580784 clang-tidy: Fix readability-static-accessed-through-instance Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2647
| * clang-tidy: Fix readability-static-accessed-through-instanceRegina Pfeifer2018-11-2128-114/+141
| | | | | | | | Enable the check in .clang-tidy and fix all warnings.
* | Merge topic 'clang-tidy-macos'Brad King2018-11-287-23/+19
|\ \ | | | | | | | | | | | | | | | | | | cb6229b8b8 clang-tidy: fix warnings in macOS-only code Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2670
| * | clang-tidy: fix warnings in macOS-only codeBrad King2018-11-277-23/+19
| | |
* | | Merge topic 'explicit-operator-bool'Brad King2018-11-286-12/+9
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | a2648dda97 Mark operator bool explicit Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2649
| * | | Mark operator bool explicitRegina Pfeifer2018-11-196-12/+9
| | | |
* | | | Merge topic 'file-size'Brad King2018-11-282-0/+33
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 12b471e828 file: add SIZE option Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2639
| * | | | file: add SIZE optionWouter Klouwen2018-11-272-0/+33
| | | | | | | | | | | | | | | | | | | | | | | | | This commit adds the SIZE option to file(). It returns the file size of the given path if it exists and produces an error if not.
* | | | | Merge topic 'autogen_uic_empty_fix_3_13'Brad King2018-11-281-1/+1
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | b1b5004c1a Autogen: Fix empty uic executable string Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2667
| * | | | | Autogen: Fix empty uic executable stringSebastian Holtermann2018-11-271-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In CMake 3.13.0 when a target has ``AUTOUIC`` enabled but doesn't link against Qt5Widgets, the uic executable string is empty and an error string "The uic executable \"\" does not exist" is generated. In CMake 3.12 ``AUTOUIC`` was silently disabled instead. This patch fixes the regression and restores the behavior of CMake 3.12. Fixes: #18630
* | | | | | CMake Nightly Date StampKitware Robot2018-11-281-1/+1
| |_|_|/ / |/| | | |
* | | | | Merge topic 'ctest-updates'Brad King2018-11-274-33/+12
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | d9195ab081 Tests: Teach run_ctest to handle removal of CTestConfig.cmake 1ca53f5ef1 Remove unnecessary CTEST_PROJECT_NAME variables 15ac4aae0e Remove warning when no CTestConfig.cmake file exists 3125c47d27 ctest_build: Do not require unnecessary [CTEST_]PROJECT_NAME value 36bbd07a76 CDashUpload: Use the query part of the submit url as field e1dfe8cee6 CTest: Don't require 'submit.php?' in submit location Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2640
| * | | | | Remove warning when no CTestConfig.cmake file existsRegina Pfeifer2018-11-201-10/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Some CTestConfig.cmake files used to set CTEST_PROJECT_NAME only. Since this variable is no longer used, it is more likely that the whole file is no longer provided by projects.
| * | | | | ctest_build: Do not require unnecessary [CTEST_]PROJECT_NAME valueRegina Pfeifer2018-11-201-14/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since commit v3.0.0-rc1~260^2~32 (ctest_build: Use "cmake --build" to launch the native build tool, 2013-11-14) we no longer need to use the project name in `ctest_build()`. Fixes: #18612
| * | | | | CDashUpload: Use the query part of the submit url as fieldRegina Pfeifer2018-11-202-7/+6
| | | | | |
| * | | | | CTest: Don't require 'submit.php?' in submit locationRegina Pfeifer2018-11-201-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | Fixes: #18611
* | | | | | Merge topic 'vs2015-no-sdk'Brad King2018-11-271-17/+21
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | f54d28a838 VS: Avoid crash with VS 2015 when all SDKs are higher than 10.0.14393.0 Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2656
| * | | | | | VS: Avoid crash with VS 2015 when all SDKs are higher than 10.0.14393.0Harry Mallon2018-11-261-17/+21
| | |/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Move the filter added by commit v3.13.0-rc1~72^2~2 (VS: Do not select a Windows SDK too high for current VS version, 2017-08-07, committed 2018-09-17) to before our check that the remaining list is empty. Otherwise we crash when dereferencing the first entry of an empty vector. Also add a comment explaining where 10.0.14393.0 came from. Fixes: #18633
* | | | | | CMake Nightly Date StampKitware Robot2018-11-271-1/+1
| | | | | |
* | | | | | Merge topic 'windows-taskbar-progress'Brad King2018-11-263-0/+43
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 9175a378f5 QtDialog: Add windows taskbar progress Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2628
| * | | | | | QtDialog: Add windows taskbar progressJulien Jomier2018-11-203-0/+43
| | | | | | |
* | | | | | | Merge topic 'clang-tidy-bugprone'Brad King2018-11-262-5/+6
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ce2570b207 clang-tidy: Enable checks from bugprone set Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2642
| * | | | | | | clang-tidy: Enable checks from bugprone setRegina Pfeifer2018-11-212-5/+6
| | |_|_|_|_|/ | |/| | | | |
* | | | | | | Merge topic 'cxx-checks-tolerate-sprintf-warning'Brad King2018-11-261-0/+2
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2ca89b5a69 C++ feature checks: Filter out libstdc++ sprintf warnings Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2643
| * | | | | | | C++ feature checks: Filter out libstdc++ sprintf warningsBrad King2018-11-201-0/+2
| | |_|_|/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | On OpenBSD linking to `libstdc++` with GCC 6.4 always warns: warning: sprintf() is often misused, please use snprintf() These do not affect the availability of C++ features we're checking, so filter them out. Fixes: #18602
* | | | | | | CMake Nightly Date StampKitware Robot2018-11-261-1/+1
| | | | | | |
* | | | | | | CMake Nightly Date StampKitware Robot2018-11-251-1/+1
| | | | | | |
* | | | | | | CMake Nightly Date StampKitware Robot2018-11-241-1/+1
| | | | | | |
* | | | | | | CMake Nightly Date StampKitware Robot2018-11-231-1/+1
| | | | | | |
* | | | | | | CMake Nightly Date StampKitware Robot2018-11-221-1/+1
| |/ / / / / |/| | | | |
* | | | | | Merge topic 'clang-tidy'Brad King2018-11-2111-15/+14
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5731ec30f0 clang-tidy: fix warnings from version 7 Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2636
| * | | | | | clang-tidy: fix warnings from version 7Regina Pfeifer2018-11-2011-15/+14
| | |_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | Fix some warnings that are new since clang-tidy version 4, and update `.clang-tidy` to suppress the rest.
* | | | | | Merge topic 'fortran-submodule-case'Brad King2018-11-212-114/+114
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ead16adfc8 Fortran: Fix module dependency scanning with upper-case SUBMODULE Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2644
| * | | | | | Fortran: Fix module dependency scanning with upper-case SUBMODULEBrad King2018-11-202-114/+114
| | |_|_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The lexical token expression added by commit v3.7.0-rc1~73^2~1 (Fortran: Add support for submodule syntax in dependency scanning, 2016-09-05) has a typo and does not match upper-case `B` in `SUBMODULE`. Fix it. Fixes: #18595
| * | | | | CMake 3.13.0v3.13.0Brad King2018-11-201-1/+1
| | | | | |
| * | | | | Merge branch 'backport-configure_file-canonical-deps' into release-3.13Brad King2018-11-191-10/+4
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | Merge-request: !2635
| | * | | | | configure_file: canonicalize input and output path in dependenciesFrank Benkstein2018-11-191-10/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Represent the input file path internally in canonical form. Otherwise multiple `configure_file` calls that share the same input file but specify it relative to different directories (e.g. via `../`) result in multiple copies of the dependency on the rule to re-run CMake. This causes the Ninja generator to emit duplicate phony build statements for these dependencies, which generates an error with `-w dupbuild=err`, which will be default in Ninja 1.9. Also canonicalize the output path for consistency. Add a test case. Fixes: #18584
* | | | | | | CMake Nightly Date StampKitware Robot2018-11-211-1/+1
| |_|_|/ / / |/| | | | |
* | | | | | Merge topic 'genex-in_list-empty-args'Brad King2018-11-202-6/+33
|\ \ \ \ \ \ | |_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | b5f8113ca7 Genex: Add policy to handle empty list items in $<IN_LIST:...> Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2569
| * | | | | Genex: Add policy to handle empty list items in $<IN_LIST:...>Kyle Edwards2018-11-192-6/+33
| | |_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The old behavior of $<IN_LIST:...> is inconsistent with that of if(IN_LIST), in that it does not find an empty search item even if the list contains empty items. This change adds a new policy to correctly handle empty items and make the behavior more consistent with if(IN_LIST). Fixes: #18556
* | | | | CMake Nightly Date StampKitware Robot2018-11-201-1/+1
|/ / / /
* | | | Merge topic 'pie-link-options'Brad King2018-11-191-0/+7
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | b10f7ac534 CMP0083: fix warning message on try_compile Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2619
| * | | | CMP0083: fix warning message on try_compileMarc Chevrier2018-11-191-0/+7
| | | | | | | | | | | | | | | | | | | | Fixes: #18593
* | | | | Merge topic 'ctest-stdin'Brad King2018-11-191-1/+2
|\ \ \ \ \ | | |/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | 86e8315482 CTest: Restore inheritance of stdin by test processes bdec3bd896 Tests: Teach RunCMake infrastructure to optionally provide stdin Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2618
| * | | | CTest: Restore inheritance of stdin by test processesBrad King2018-11-151-1/+2
| | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since commit v3.11.0-rc1~117^2 (CTest: Re-implement test process handling using libuv, 2017-12-10) we do not give the child test processes any stdin. Prior to that change we let the child test processes inherit stdin from ctest itself. Tests that run serially might be able to use the real stdin meaningfully, so restore that behavior and add a test case. Fixes: #18591
| * | | CMake 3.13.0-rc3v3.13.0-rc3Brad King2018-11-071-1/+1
| | | |
| * | | Merge branch 'rename-cpack-ext-generator' into release-3.13Brad King2018-11-064-39/+41
| |\ \ \ | | | | | | | | | | | | | | | Merge-request: !2566
| * \ \ \ Merge branch 'custom-command-work-dir-genex' into release-3.13Brad King2018-11-053-13/+6
| |\ \ \ \ | | | | | | | | | | | | | | | | | | Merge-request: !2559
| * \ \ \ \ Merge branch 'server-file-monitor-check' into release-3.13Brad King2018-11-011-1/+2
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | Merge-request: !2556
| * \ \ \ \ \ Merge branch 'fix-custom-target-with-csharp' into release-3.13Brad King2018-10-315-29/+25
| |\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Merge-request: !2549