summaryrefslogtreecommitdiffstats
path: root/Tests
Commit message (Collapse)AuthorAgeFilesLines
* Merge topic 'no-override-flow-control'Brad King2020-10-2317-0/+48
|\ | | | | | | | | | | | | 8aee7fdb32 cmState: Prohibit override of flow control commands Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5409
| * cmState: Prohibit override of flow control commandsKyle Edwards2020-10-2217-0/+48
| |
* | Merge topic 'proper-command-nesting'Brad King2020-10-2319-101/+100
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | 12f6e37eb7 cmListFileCache: Enforce proper nesting of flow control statements 67383725bd cm::optional: Add constructor delegation to nullopt_t constructor 0668120398 cm::optional: Fix move assignment Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5401
| * | cmListFileCache: Enforce proper nesting of flow control statementsKyle Edwards2020-10-2218-101/+72
| | | | | | | | | | | | Fixes: #19153
| * | cm::optional: Fix move assignmentKyle Edwards2020-10-211-0/+28
| | |
* | | Merge topic 'ctest-hostname-cleanup'Brad King2020-10-232-0/+6
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 11d21c1c4e CTest: Avoid invoking external tool to get the host name 3f3762856f Tests: Add case verifying CTest module SITE variable 94c6295db1 Help: Document site_name command use of HOSTNAME variable Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5407
| * | | Tests: Add case verifying CTest module SITE variableBrad King2020-10-222-0/+6
| |/ /
* | | Merge topic 'cmake-presets-toolset-arch-config'Craig Scott2020-10-2324-33/+90
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 64afabdbcb CMakePresets.json: Split cmakeGeneratorConfig field Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5387
| * | | CMakePresets.json: Split cmakeGeneratorConfig fieldKyle Edwards2020-10-2224-33/+90
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Make this field separate for both architecture and toolset. Allow architecture and toolset to be either strings or objects with value and strategy fields. Fixes: #21317
* | | | Merge topic 'cmake-presets-source-dir-name'Craig Scott2020-10-233-0/+3
|\ \ \ \ | |_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | 25742c589c CMakePresets.json: Add ${sourceDirName} macro Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: Craig Scott <craig.scott@crascit.com> Merge-request: !5386
| * | | CMakePresets.json: Add ${sourceDirName} macroKyle Edwards2020-10-223-0/+3
| |/ / | | | | | | | | | Fixes: #21312
| * | Merge topic 'cmake-presets-invalid-macro' into release-3.19Kyle Edwards2020-10-2213-46/+78
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | 638557cbfe CMakePresets.json: Properly report macro expansion errors Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5397
* | \ \ Merge topic 'cmake-16773'Kyle Edwards2020-10-229-1/+27
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 3c324689a7 include: refactor call sites of cmMakefile::ReadDependentFile Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Kyle Edwards <kyle.edwards@kitware.com> Merge-request: !5405
| * | | | include: refactor call sites of cmMakefile::ReadDependentFileAsit Dhal2020-10-219-1/+27
| | | | | | | | | | | | | | | | | | | | Fixes: #16773
* | | | | Merge topic 'cmake-presets-invalid-macro'Kyle Edwards2020-10-2213-46/+78
|\ \ \ \ \ | | |_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | 638557cbfe CMakePresets.json: Properly report macro expansion errors Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5397
| * | | | CMakePresets.json: Properly report macro expansion errorsKyle Edwards2020-10-2113-46/+78
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Make a distinction between strings which simply use the $vendor{<...>} macro, which is valid but makes it unusable by CMake, and strings which actually contain invalid macro expansions. Fixes: #21308
* | | | | Merge topic 'cmake-presets-boolean-cache'Kyle Edwards2020-10-223-0/+28
|\ \ \ \ \ | | |_|/ / | |/| | / | |_|_|/ |/| | | | | | | | | | | 920d180047 CMakePresets.json: Allow boolean for cache variable value Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5398
| * | | CMakePresets.json: Allow boolean for cache variable valueKyle Edwards2020-10-213-0/+28
| |/ / | | | | | | | | | Fixes: #21327
* | | Merge branch 'master' into cmakepresets-schemaKyle Edwards2020-10-2083-953/+434
|\ \ \ | |/ / |/| / | |/
| * Merge topic 'cmake-presets-doc-move'Kyle Edwards2020-10-201-1/+3
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 4a123fc28c Help: Clarify purpose of warnings and errors 6c74bcfc20 Help: Make architecture and toolset descriptions generic 45766789a0 Help: Add inheritance to CMakePresets.json example 88c9d6f6eb Help: Add documentation for debug field efab856008 Help: Show environment field 2208db114c Help: Show multiple ways of doing cacheVariables d30f85193f Help: Move vendor field into example b9c8c57860 Help: s/unusedVars/unusedCli/ ... Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5373
| * \ Merge topic 'checklanguage-honor-toolchain'Brad King2020-10-194-0/+8
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | bddc54a37d CheckLanguage: Pass CMAKE_TOOLCHAIN_FILE to test project Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5384
| | * | CheckLanguage: Pass CMAKE_TOOLCHAIN_FILE to test projectSamir Benmendil2020-10-164-0/+8
| | | | | | | | | | | | | | | | Fixes: #20545
| * | | Merge topic 'separate_arguments-no-args'Brad King2020-10-193-0/+15
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 747f80fe82 separate_arguments: Fix crash on *_COMMAND with no arguments Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5382
| * \ \ \ Merge topic 'doc-CMP0111'Brad King2020-10-191-9/+12
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5c3a91c808 CMP0111: Clarify that the new error is on a missing property setting Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Alex Reinking <alex_reinking@berkeley.edu> Merge-request: !5385
| * \ \ \ \ Merge topic 'cmake-gui-disable-presets'Craig Scott2020-10-171-18/+9
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | d471406f0b CMake GUI: Disable preset fields instead of hiding them Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Brad King <brad.king@kitware.com> Merge-request: !5374
| * \ \ \ \ \ Merge topic 'file-configure-angle-brackets'Brad King2020-10-166-11/+8
| |\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 06a9a3bdc3 file(CONFIGURE): Allow angle brackets in content Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5379
| * \ \ \ \ \ \ Merge topic 'CheckSource-Fortran'Brad King2020-10-168-0/+32
| |\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | c4c636cef5 Tests: Add cases for CheckSource{Compiles,Runs} bad arguments 1e519df025 CheckSource{Runs,Compiles}: Fix default Fortran source extension Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5378
| * \ \ \ \ \ \ \ Merge topic 'fix-refactor-generator-configs'Brad King2020-10-163-0/+25
| |\ \ \ \ \ \ \ \ | | |_|_|_|_|_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | b9cb1d324d Fix regression in test/install/package configuration selection Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5381
| * | | | | | | | Merge topic 'remove-server-mode'Brad King2020-10-1523-949/+3
| |\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 9952ee063a server: remove deprecated 'cmake -E server' mode Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Kyle Edwards <kyle.edwards@kitware.com> Merge-request: !5370
| | * | | | | | | | server: remove deprecated 'cmake -E server' modeBrad King2020-10-1423-949/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The server mode has been deprecated since commit 996e1885c4 (server: deprecate in favor of the file-api, 2019-04-19, v3.15.0-rc1~198^2). Clients should now be using the file-api. Remove the server mode.
| * | | | | | | | | Merge topic 'cmake-E-cat-binary'Brad King2020-10-154-0/+5
| |\ \ \ \ \ \ \ \ \ | | |/ / / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | f7a5f28318 cmake: Fix '-E cat' command for binary files on Windows 90b39a5209 cmConsoleBuf: Factor out cout/cerr console buffer management f1fdd15863 clang-format: Fix include block order in ctest.cxx and cpack.cxx Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5364
| * | | | | | | | | Merge topic 'ninja-depfile-transformation'Brad King2020-10-1438-5/+263
| |\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 146e1e6ba1 Ninja: Transform DEPFILEs with policy CMP0116 596439b1bb cmCustomCommandGenerator: Add option to transform depfile b2c14bc774 cmake -E: Add cmake_transform_depfile internal command 946adadd40 cmGccDepfileReader: Rework helper code Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5325
| | * | | | | | | | | Ninja: Transform DEPFILEs with policy CMP0116Kyle Edwards2020-10-1315-0/+131
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes: #21267
| | * | | | | | | | | cmake -E: Add cmake_transform_depfile internal commandKyle Edwards2020-10-1318-0/+97
| | | | | | | | | | |
| | * | | | | | | | | cmGccDepfileReader: Rework helper codeKyle Edwards2020-10-136-5/+35
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix some of the semantics of the depfile, add error handling, and refactor cmGccDepfileLexerHelper.
| * | | | | | | | | | Merge topic 'FindIntl_use_imported_targets'Brad King2020-10-144-0/+36
| |\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | c30d06b7e6 FindIntl: Add imported target Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5333
| | * | | | | | | | | | FindIntl: Add imported targetSibi Siddharthan2020-10-134-0/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes: #21271 Signed-off-by: Sibi Siddharthan <sibisiddharthan.github@gmail.com>
| * | | | | | | | | | | Add deprecation warnings for policies CMP0075 and belowBrad King2020-10-132-1/+22
| | |/ / / / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The OLD behaviors of all policies are deprecated, but only by documentation. Add an explicit deprecation diagnostic for policies introduced in CMake 3.12 and below to encourage projects to port away from setting policies to OLD.
| * | | | | | | | | | Merge topic 'explicit-source-extensions'Kyle Edwards2020-10-1314-0/+104
| |\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | fd50a75fa0 CMP0115: Require source file extensions to be explicit Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Ben Boeckel <ben.boeckel@kitware.com> Merge-request: !5346
| | * | | | | | | | | | CMP0115: Require source file extensions to be explicitKyle Edwards2020-10-1314-0/+104
| | | | | | | | | | | |
| * | | | | | | | | | | Merge topic 'android-verify-abi-in-ndk'Brad King2020-10-131-1/+1
| |\ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5c2f9e3eeb Android: Fatal if ABI is not supported by NDK Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5351
| * \ \ \ \ \ \ \ \ \ \ \ Merge topic 'export-namelink-only'Craig Scott2020-10-1210-0/+39
| |\ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 64690f6df0 export: Do not fail generation for namelink-only case Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5352
| * \ \ \ \ \ \ \ \ \ \ \ \ Merge topic 'cmake-presets-documentation-fix'Kyle Edwards2020-10-122-0/+12
| |\ \ \ \ \ \ \ \ \ \ \ \ \ | | |_|_|/ / / / / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 94c955e508 Tests: Test the CMakePresets.json example in the documentation d6af1e83bc Help: Fix documentation of CMakePresets.json's cacheVariables Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5353
| * | | | | | | | | | | | | Merge topic 'iwyu-map-cm-headers'Brad King2020-10-091-1/+0
| |\ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 06c0d59c17 IWYU: Map <*> headers to <cm/*> headers Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5327
| * \ \ \ \ \ \ \ \ \ \ \ \ \ Merge topic 'GNUInstallDirs-debian'Brad King2020-10-095-0/+122
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 798c1c3192 GNUInstallDirs: Comply with Debian Policy on LIBEXECDIR 75bcd3cf54 Tests: Add RunCMake.GNUInstallDirs expected output specific to Debian Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5349
| * | | | | | | | | | | | | | | cmMakefile: Drop unnecessary custom command APPEND checkBrad King2020-10-081-1/+1
| | |_|_|_|_|/ / / / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since commit 777ceaea94 (cmMakefile: Delay custom command creation, 2019-10-17, v3.17.0-rc1~352^2) we process custom command declarations at generate time. This includes the append-to-non-existing-command check, so we do not need it at configure time.
* | | | | | | | | | | | | | | Tests: Add JSON schema validation to CMakePresets.json testsKyle Edwards2020-10-204-1/+61
| | | | | | | | | | | | | | |
* | | | | | | | | | | | | | | Merge topic 'cmake-presets-doc-move' into release-3.19Kyle Edwards2020-10-201-1/+3
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | |_|_|_|_|_|_|_|_|_|_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 4a123fc28c Help: Clarify purpose of warnings and errors 6c74bcfc20 Help: Make architecture and toolset descriptions generic 45766789a0 Help: Add inheritance to CMakePresets.json example 88c9d6f6eb Help: Add documentation for debug field efab856008 Help: Show environment field 2208db114c Help: Show multiple ways of doing cacheVariables d30f85193f Help: Move vendor field into example b9c8c57860 Help: s/unusedVars/unusedCli/ ... Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5373
| * | | | | | | | | | | | | | Help: Show environment fieldKyle Edwards2020-10-191-0/+1
| | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | Help: Show multiple ways of doing cacheVariablesKyle Edwards2020-10-191-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This demonstrates both the simple string and the complex object, and ensures that they get automated testing.