summaryrefslogtreecommitdiffstats
path: root/Tests
Commit message (Collapse)AuthorAgeFilesLines
* Properties: Add CMAKE_ROLE global propertyKyle Edwards2019-01-1710-0/+51
| | | | | This property allows scripts to determine whether they're in project mode, script mode, find-package mode, CTest, or CPack.
* Merge topic 'semi-warnings'Brad King2019-01-162-11/+13
|\ | | | | | | | | | | | | b056bc3425 Fix most clang -Wextra-semi-stmt warnings in C++ files Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2795
| * Fix most clang -Wextra-semi-stmt warnings in C++ filesSean McBride2019-01-152-11/+13
| | | | | | | | Suppress one in code generated by flex.
* | Merge topic 'autogen_adaptive_warning'Brad King2019-01-161-2/+2
|\ \ | |/ |/| | | | | | | | | | | | | 5fe18eee13 Autogen: Adaptive missing Qt warning f2f1661334 Autogen: Add and use QtAutoGen::Tools method b2343ff086 Autogen: Fix rcc validity check Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2806
| * Autogen: Adaptive missing Qt warningSebastian Holtermann2019-01-151-1/+1
| | | | | | | | | | This makes the warning message for a missing Qt use the requested Qt version in the message text.
| * Autogen: Add and use QtAutoGen::Tools methodSebastian Holtermann2019-01-151-1/+1
| |
* | Merge topic 'fetchcontent-uses-terminal'Brad King2019-01-154-0/+24
|\ \ | | | | | | | | | | | | | | | | | | | | | 2119c33b7e FetchContent: Give access to the terminal for download and update Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Michael Hirsch, Ph.D. <michael@scivision.co> Merge-request: !2800
| * | FetchContent: Give access to the terminal for download and updateCraig Scott2019-01-144-0/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | A main scenario where this is needed is when a git operation needs the password to a private key and asks for it on the console. Without this change, such operations can appear to hang indefinitely with no prompt if QUIET is in effect (which it is by default). Another scenario this addresses is when progress of a download or update should be shown. Without this change, all such progress is buffered with some generators and will only be shown at the end, which defeats the purpose of logging any progress to begin with. Relates: #18238
* | | Merge topic 'vs2019'Brad King2019-01-155-9/+11
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 57e48f16f2 VS: Add Visual Studio 16 2019 generator bdef729646 VS: Parameterize VS 2017 generator to support future versions 68d316e0cf VS: Rename VS 2017 generator sources to be version-independent d8ed309d05 VS: Parameterize cmVSSetupAPIHelper instances with VS version Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2789
| * | | VS: Add Visual Studio 16 2019 generatorBrad King2019-01-115-9/+11
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add this generator *without* support for specifying the target architecture in the generator name. cmake-gui will be taught to provide a field for this, and command-line builds can use -A. Also, teach this generator to select a default target architecture based on the host architecture. Fixes: #18689 Inspired-by: Egor Pugin <egor.pugin@gmail.com>
* | | Merge topic 'fix-source-group-CMakeLists.txt'Brad King2019-01-153-0/+37
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 77303314dc Restore support for a custom source group for CMakeLists.txt Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2803
| * | | Restore support for a custom source group for CMakeLists.txtBrad King2019-01-143-0/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since commit v3.11.0-rc1~467^2 (VS,Xcode: Add CMakeLists.txt sources without mutating targets, 2017-10-18) we do not add `CMakeLists.txt` to target sources but instead generate references to them directly. This accidentally dropped generation of the `.vcxproj.filters` entry for a source group in which `CMakeLists.txt` is the only member. Fixes: #18795
* | | | Merge topic 'extendwhitelist'Brad King2019-01-151-0/+1
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 59c408d053 cmTargetPropertyComputer: whitelist 'MANUALLY_ADDED_DEPENDENCIES'. Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2808
| * | | | cmTargetPropertyComputer: whitelist 'MANUALLY_ADDED_DEPENDENCIES'.Sebastian Lipponer2019-01-141-0/+1
| | |_|/ | |/| |
* | | | Merge topic 'vs10_cs_cf_support'Brad King2019-01-153-0/+63
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5b1364a2e3 cmVisualStudio10TargetGenerator: Fix .NET Compact Framework projects. Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2715
| * | | | cmVisualStudio10TargetGenerator: Fix .NET Compact Framework projects.Wil Stark2019-01-113-0/+63
| | |_|/ | |/| | | | | | | | | | Fixes: #18672
* | | | Merge topic 'check-fortran-run'Brad King2019-01-151-2/+9
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 10a1477b63 CheckFortranSourceRuns: Add module to check if Fortran code runs Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2714
| * | | | CheckFortranSourceRuns: Add module to check if Fortran code runsMichael Hirsch, Ph.D2019-01-101-2/+9
| | | | | | | | | | | | | | | | | | | | | | | | | Add a Fortran equivalent to the existing `Check{C,CXX}SourceRuns` modules.
* | | | | Merge topic 'deprecate-policy-old'Brad King2019-01-151-0/+10
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 6845e2559d Add deprecation warnings for policies CMP0065 and below Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2793
| * | | | | Add deprecation warnings for policies CMP0065 and belowBrad King2019-01-111-0/+10
| | |/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | The OLD behaviors of all policies are deprecated, but only by documentation. Add an explicit deprecation diagnostic for some policies to encourage projects to port away from setting policies to OLD.
* | | | | Merge topic 'FindBoost-test-env'Brad King2019-01-151-0/+1
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 97d2109294 Tests: Make RunCMake.FindBoost robust to Boost_ROOT in environment Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2802
| * | | | | Tests: Make RunCMake.FindBoost robust to Boost_ROOT in environmentBrad King2019-01-141-0/+1
| | |_|_|/ | |/| | | | | | | | | | | | | | | | | | Remove the environment variable within the test to avoid CMP0074 behavior.
* | | | | IWYU: Update CMake code for IWYU built with Clang 6Brad King2019-01-151-1/+1
| |_|_|/ |/| | | | | | | | | | | | | | | IWYU now correctly requires `<utility>` for `std::move`. It also requires a container header when used via a range-based for loop.
* | | | Merge topic 'drop-IRIX'Brad King2019-01-144-75/+1
|\ \ \ \ | |/ / / |/| | | | | | | | | | | | | | | | | | | beb991110d Remove now-unused code once used on IRIX Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2791
| * | | Remove now-unused code once used on IRIXBrad King2019-01-114-75/+1
| |/ / | | | | | | | | | | | | We dropped support for IRIX as a host platform long ago. Remove some leftover code.
* | | Merge topic 'cmake-option-parsing'Brad King2019-01-143-14/+17
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 27eb7c5bdb cmake: Ensure source and binary dirs are set a1adbc7243 cmake: Stop processing if -P option lacks file name Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2799
| * | | cmake: Ensure source and binary dirs are setCraig Scott2019-01-133-14/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If only the source dir is provided, the binary dir is assumed to be the working directory. If only the binary dir is provided and it doesn't yet have a CMakeCache.txt to provide the source dir, then the source dir is assumed to be the working directory. This logic was not previously being handled correctly when -S and/or -B options were involved. Furthermore, when both were missing, no suitable error message was provided and an empty string was used for the build directory. Fixes: #18707
* | | | Merge topic 'autogen_noqt_warning'Brad King2019-01-146-0/+21
|\ \ \ \ | |_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 0377fe1e2b Merge branch 'backport-autogen_noqt_warning' into autogen_noqt_warning dd39da5518 Tests: Add case for warning when AUTOMOC/UIC/RCC gets disabled f44a0414ae Autogen: Issue a warning when AUTOMOC/UIC/RCC gets disabled. 5ae69f5919 Autogen: Issue a warning when AUTOMOC/UIC/RCC gets disabled. Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2787
| * | | Merge branch 'backport-autogen_noqt_warning' into autogen_noqt_warningBrad King2019-01-116-0/+21
| |\ \ \ | | |_|/ | |/| |
| | * | Tests: Add case for warning when AUTOMOC/UIC/RCC gets disabledBrad King2019-01-116-0/+21
| | |/
| | * Tests: Add cases for -{C,D,U} without a source treeBrad King2019-01-1012-1/+22
| | |
| | * Merge branch 'backport-autogen_revert_implicit_includes' into release-3.13Brad King2018-12-071-3/+4
| | |\ | | | | | | | | | | | | Merge-request: !2709
| | | * Autogen: Revert passing compiler implicit includes to mocSebastian Holtermann2018-12-071-3/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Passing an incomplete list of compiler include directories causes a regression in the KIO project (and probably others). We need to disable it until the complete list is available (see #16291). Fixes: #18669 Issue: #18041
| | * | Merge branch 'cpack-status-callback' into release-3.13Brad King2018-12-072-0/+3
| | |\ \ | | | | | | | | | | | | | | | Merge-request: !2696
* | | \ \ Merge topic 'vs_ce_support'Brad King2019-01-118-44/+110
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5e4887e673 VS: Honor WinCE deployment properties in VS 2010+ a4332cac4b Tests: Detect VS and SDK availability early Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2680
| * | | | | VS: Honor WinCE deployment properties in VS 2010+Wil Stark2019-01-108-1/+67
| | | | | | | | | | | | | | | | | | | | | | | | Previously only VS 2008 was supported.
| * | | | | Tests: Detect VS and SDK availability earlyWil Stark2019-01-101-44/+44
| |/ / / /
* | | | | Tests: Split CPack DEB and RPM tests into smaller testsKyle Edwards2019-01-105-31/+77
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The DEB and RPM tests are quite large, which can result in CTest clients timing out on these tests even though they're working properly. The RPM test in particular causes a lot of timeouts on the CMake dashboard machines. This change splits these tests into smaller tests so that they don't time out.
* | | | | Tests: Add infrastructure to split up large CPack testsKyle Edwards2019-01-102-18/+24
|/ / / / | | | | | | | | | | | | | | | | This allows CPack generator tests to be split into smaller tests of the format "<generator>.<test>".
* | | | Tests: Add cases for ctest --show-only=json-v1Brad King2019-01-103-0/+159
| | | |
* | | | Tests: Pass python interpreter into RunCMake.CTestCommandLineBrad King2019-01-081-1/+2
| | | | | | | | | | | | | | | | This will be useful for adding python-based result checks.
* | | | Merge topic 'fix-warn-uninitialized-in-configure'Craig Scott2019-01-073-4/+69
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | cbf0c0fce4 cmake: Enable --warn-uninitialized inside string(CONFIGURE) and configure_file 1d32a35c10 cmCommandArgumentParserHelper: use cmMakefile::MaybeWarnUninitialized 67ac4ed1dc cmMakefile: Move uninitialized vars logic into MaybeWarnUninitialized() 5257af3634 cmMakefile: move common logic to IsProjectFile function Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2676
| * | | | cmake: Enable --warn-uninitialized inside string(CONFIGURE) and configure_fileArtur Ryt2018-12-293-4/+69
| | | | | | | | | | | | | | | | | | | | Fixes: #18489
* | | | | Merge topic 'bundle_fixes'Craig Scott2019-01-066-0/+32
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 08be74bfd7 GetPrerequisites: Fix handling of executable scripts 52445300d6 GetPrerequisites: Allow prefixed tools 1bac4678ea GetPrerequisites: Add GET_PREREQUISITES_VERBOSE to set verbose 5072598f07 BundleUtilites: Don't use hardcoded name for install_name_tool 428680da92 GetPrerequisites: Don't use hardcoded name for otool Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2748
| * | | | | GetPrerequisites: Fix handling of executable scriptsAlexander Grund2019-01-046-0/+32
| | | | | | | | | | | | | | | | | | | | | | | | Fixes: #18667
* | | | | | Merge branch 'swig_src_file_ext' into 'master'Marc Chevrier2019-01-045-0/+82
|\ \ \ \ \ \ | |/ / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | UseSWIG: Add support for custom Swig source file extensions Closes #18727 See merge request cmake/cmake!2764
| * | | | | SWIG: Add support for custom Swig source file extensionsThirumal Venkat2019-01-035-0/+82
| |/ / / /
* | | | | Merge topic 'remove-include-cmakeparsearguments'Craig Scott2018-12-291-1/+1
|\ \ \ \ \ | |/ / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 88b40744b5 CMakeParseArguments: Remove superfluous includes of CMakeParseArguments Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Ben Boeckel <ben.boeckel@kitware.com> Merge-request: !2744
| * | | | CMakeParseArguments: Remove superfluous includes of CMakeParseArgumentsKyle Edwards2018-12-141-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Because cmake_parse_arguments() has been implemented as a native command, there is no need to include(CMakeParseArguments) anymore. Its inclusion has been removed from several CMake modules. Tests/CMakeOnly/CMakeLists.txt has been changed to include the *building* CMake's copy of CMakeParseArguments rather than the *built* CMake's copy. This file included the *built* copy because when this file was introduced, CMake could still be built with versions that didn't supply cmake_parse_arguments(). Now, CMake requires 3.1 or greater, where cmake_parse_arguments() existed but was still in the form of a module, so we include it from the *building* CMake.
* | | | | Merge topic 'link-options'Craig Scott2018-12-233-2/+13
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | f255280fd9 PIE link options: Update strategy to fix performance regression Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2739