summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake
Commit message (Collapse)AuthorAgeFilesLines
* VS: Add Visual Studio 16 2019 generatorBrad King2019-01-114-7/+9
| | | | | | | | | | | | 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 'vs_ce_support'Brad King2019-01-117-0/+67
|\ | | | | | | | | | | | | | | 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-107-0/+67
| | | | | | | | Previously only VS 2008 was supported.
* | 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
* | GetPrerequisites: Fix handling of executable scriptsAlexander Grund2019-01-046-0/+32
|/ | | | Fixes: #18667
* 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
| * PIE link options: Update strategy to fix performance regressionMarc Chevrier2018-12-193-2/+13
| | | | | | | | Fixes: #18700
* | Merge topic 'install-code-script-genex'Craig Scott2018-12-239-0/+44
|\ \ | | | | | | | | | | | | | | | | | | 25cae1e85d install: Teach CODE,SCRIPT modes to evaluate generator expressions Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2688
| * | install: Teach CODE,SCRIPT modes to evaluate generator expressionsJon Chronopoulos2018-12-229-0/+44
| | | | | | | | | | | | | | | | | | | | | This also introduces CMP0087 which will keep the OLD behaviour of not evaluating generator expressions Fixes: #15785
* | | Merge topic 'runcmake-test-filter'Craig Scott2018-12-222-0/+15
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | b6eafd5781 Tests: Add RunCMake_TEST_FILTER environment variable Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Artur Ryt <artur.ryt@gmail.com> Merge-request: !2743
| * | | Tests: Add RunCMake_TEST_FILTER environment variableKyle Edwards2018-12-132-0/+15
| | |/ | |/| | | | | | | | | | | | | | | | This environment variable allows developers to locally run only a subset of RunCMake subtests in a single RunCMakeTest.cmake script. If the environment variable is not set, all of the tests in the script are run.
* | | Merge topic 'output-on-failure'Craig Scott2018-12-219-0/+67
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 19d86e26e3 ExternalProject: add LOG_OUTPUT_ON_FAILURE option Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2625
| * | | ExternalProject: add LOG_OUTPUT_ON_FAILURE optionWouter Klouwen2018-12-209-0/+67
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This option only has an effect if at least one of the other LOG_<step> options is enabled. If an error occurs for a step which has logging to file enabled, that step's output will be printed to the console. For cases where a large amount of output is recorded, just the end of that output may be printed to the console.
* | | | Tests: Fix Cygwin failure on RunCMake.installKyle Edwards2018-12-192-2/+2
| |/ / |/| |
* | | Merge topic 'vs_deploy_content_fix'Brad King2018-12-133-0/+95
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | b5b63da088 VS: Fix Deploy content in .csproj files Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2713
| * | | VS: Fix Deploy content in .csproj filesWil Stark2018-12-073-0/+95
| | | |
* | | | Merge topic 'fileapi'Brad King2018-12-1377-0/+6475
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | b9c6f08276 Help: Add release note for fileapi feature 4b6b2a571c fileapi: extend codemodel v2 with directory details eb8c7676a4 fileapi: extend codemodel v2 with a project model 42f0125ceb fileapi: Add test for cmakeFiles v1 6615408193 fileapi: add cmakeFiles v1 3f6ee75a66 fileapi: Add test for cache v2 7489e95b8e fileapi: add cache v2 ea0a060168 fileapi: Add test for codemodel v2 ... Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2706
| * | | | fileapi: extend codemodel v2 with directory detailsBrad King2018-12-121-0/+26
| | | | | | | | | | | | | | | | | | | | | | | | | Issue: #18398 Co-Author: Kyle Edwards <kyle.edwards@kitware.com>
| * | | | fileapi: extend codemodel v2 with a project modelBrad King2018-12-122-3/+259
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Offer clients a `project()`-centric view of the build system. This is similar to the directory-centric view but consolidates subdirectories that do not call `project()` with a new project name. Issue: #18398 Co-Author: Kyle Edwards <kyle.edwards@kitware.com>
| * | | | fileapi: Add test for cmakeFiles v1Kyle Edwards2018-12-126-1/+89
| | | | |
| * | | | fileapi: add cmakeFiles v1Brad King2018-12-129-0/+56
| | | | | | | | | | | | | | | | | | | | Issue: #18398
| * | | | fileapi: Add test for cache v2Kyle Edwards2018-12-122-2/+134
| | | | |
| * | | | fileapi: add cache v2Brad King2018-12-129-0/+57
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Start with v2 to distinguish it from server-mode v1. Issue: #18398
| * | | | fileapi: Add test for codemodel v2Kyle Edwards2018-12-1215-14/+4927
| | | | |
| * | | | fileapi: add codemodel v2Brad King2018-12-129-0/+67
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Start with v2 to distinguish it from server-mode v1. Issue: #18398
| * | | | fileapi: Add more infrastructure to FileAPI testKyle Edwards2018-12-121-7/+65
| | | | |
| * | | | fileapi: Report cmake generator in reply index fileBrad King2018-12-121-1/+12
| | | | |
| * | | | fileapi: Add protocol v1 support for stateful per-client queriesBrad King2018-12-126-0/+406
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add support for client-owned *stateful* query files. These allow clients to request a list of versions of each object kind and get only the first-listed version that CMake recognizes. Since clients own their stateful query files they can mutate them over time. As a client installation is updated it may update the queries that it writes to build trees to get newer object versions without paying the cost of continuing to generate older versions. Issue: #18398
| * | | | fileapi: Add protocol v1 support for client-specific query filesBrad King2018-12-1217-0/+191
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add support for client-owned stateless query files. These allow clients to *own* requests for major object versions and get all those recognized by CMake. Issue: #18398
| * | | | fileapi: Add protocol v1 infrastructure with support for shared query filesBrad King2018-12-1218-0/+209
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add a file-based API that clients may use to get semantic information about the buildsystem that CMake generates. Clients will write query files under a designated location in the build tree, and CMake will write reply files for clients to read. Start with support for shared stateless query files. These allow clients to share requests for major object versions and get all those recognized by CMake. Once any client has written a shared request to a build tree it will persist. Other clients will not need to overwrite the request (since it is stateless) and should not remove it either. For now we add only an undocumented object kind to use for testing the query and reply infrastructure. Object kinds providing real semantic information will be added later. Issue: #18398
| * | | | Tests: Add RunCMake "prep" stepBrad King2018-12-111-0/+5
| | |/ / | |/| | | | | | | | | | | | | | Give tests a chance to write content to the build tree before CMake runs on it.
* | | | target_link_libraries: Propagate dependencies of object librariesKyle Edwards2018-12-103-0/+14
| |_|/ |/| | | | | | | | | | | | | | | | | | | | | | | Prior to this commit, linking against an object library did not propagate private link dependencies of object libraries to their consuming targets. This change implements the correct behavior. Fixes: #18692 Co-Author: Brad King <brad.king@kitware.com>
* | | Merge topic 'SWIG'Brad King2018-12-1011-2/+59
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | dff28141dc UseSWIG: add management of SWIG option -module 7b3d4799f8 Help: update policy 0078 documentation Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2669
| * | | UseSWIG: add management of SWIG option -moduleMarc Chevrier2018-12-0711-2/+59
| | |/ | |/| | | | | | | | | | | | | | | | When file property SWIG_MODULE_NAME is specified, provide option -module to SWIG compiler. Fixes: #18374
* | | Merge topic 'file-read_symlink'Brad King2018-12-1010-3/+37
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 31840e363f file: Fix formatting of error in SIZE sub-command 98a39be6cf file: Add READ_SYMLINK sub-command Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2705
| * | | file: Fix formatting of error in SIZE sub-commandKyle Edwards2018-12-062-3/+4
| | | |
| * | | file: Add READ_SYMLINK sub-commandKyle Edwards2018-12-068-0/+33
| |/ /
* | | Merge topic 'cpack-status-callback'Brad King2018-12-102-0/+3
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 4a3ae1710e CPack/External: Fix status messages of staging scripts Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2696
| * | | CPack/External: Fix status messages of staging scriptsNils Gladitz2018-12-072-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Set progress callback on cmake instance used by CPack. The progress callback is used to output STATUS messages which are otherwise missing when issued from e.g. CPack External staging scripts. Fixes: #18567
* | | | Merge topic 'submit-method'Brad King2018-12-0714-23/+0
|\ \ \ \ | |_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 9501a6145d CTest: Remove special case for Dart version <= 1 e184603378 CTest: Add release note about removed submission methods 8c25aa2feb CTest: Remove submission trigger a688c6b928 CTest: Remove submit method 'ftp' c339b64cf2 CTest: Remove submit method 'scp' aebdad399e CTest: Remove submit method 'cp' c2f6872c4e CTest: Remove submit method 'xmlrpc' Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2672
| * | | CTest: Remove special case for Dart version <= 1Regina Pfeifer2018-11-281-2/+0
| | | |
| * | | CTest: Remove submit method 'ftp'Regina Pfeifer2018-11-284-7/+0
| | | |
| * | | CTest: Remove submit method 'scp'Regina Pfeifer2018-11-284-4/+0
| | | |
| * | | CTest: Remove submit method 'cp'Regina Pfeifer2018-11-284-6/+0
| | | |
| * | | CTest: Remove submit method 'xmlrpc'Regina Pfeifer2018-11-284-4/+0
| | |/ | |/|