summaryrefslogtreecommitdiffstats
path: root/Tests
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'release' into ninja-multi-per-config-sourcesKyle Edwards2020-10-261700-1071/+16559
|\
| * Merge topic 'per-config-source-TARGET_FILE' into release-3.19Brad King2020-10-261-0/+13
| |\ | | | | | | | | | | | | | | | | | | cd33bfcad5 add_custom_command: Properly recognize if sources depend on config Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5410
| | * add_custom_command: Properly recognize if sources depend on configDeniz Bahadir2020-10-221-0/+13
| | | | | | | | | | | | Fixes: #21349
| * | Merge topic 'cmake-presets-toolset-arch-config' into release-3.19Craig 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
| * | 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
| | * 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
| * | CMakePresets.json: Allow boolean for cache variable valueKyle Edwards2020-10-213-0/+28
| |/ | | | | | | Fixes: #21327
| * 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.
| * | Merge topic 'separate_arguments-no-args' into release-3.19Brad 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
| | * separate_arguments: Fix crash on *_COMMAND with no argumentsRobert Bozzetto2020-10-163-0/+15
| | | | | | | | | | | | Fixes: #21320
| * | Merge topic 'doc-CMP0111' into release-3.19Brad 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
| | * | CMP0111: Clarify that the new error is on a missing property settingBrad King2020-10-161-9/+12
| | |/ | | | | | | | | | The previous wording could be confused with the file missing on disk.
| * | Merge topic 'cmake-gui-disable-presets' into release-3.19Craig 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
| | * | CMake GUI: Disable preset fields instead of hiding themKyle Edwards2020-10-161-18/+9
| | | |
| * | | Merge topic 'file-configure-angle-brackets' into release-3.19Brad King2020-10-166-11/+8
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 06a9a3bdc3 file(CONFIGURE): Allow angle brackets in content Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5379
| | * | | file(CONFIGURE): Allow angle brackets in contentCristian Adam2020-10-156-11/+8
| | | | | | | | | | | | | | | | | | | | Fixes: #21306
| * | | | Merge topic 'CheckSource-Fortran' into release-3.19Brad 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
| | * | | | Tests: Add cases for CheckSource{Compiles,Runs} bad argumentsBrad King2020-10-158-0/+32
| | | |_|/ | | |/| |
| * | | | Fix regression in test/install/package configuration selectionBrad King2020-10-153-0/+25
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In commit 7a969fe21d (cmMakefile: Refactor API to better handle empty config values, 2020-06-30, v3.19.0-rc1~567^2), calls to `GetGeneratorConfigs` that pass `OnlyMultiConfig` only want to get any configurations listed if the generator is multi-config. Fix the implementation to actually do that. Fixes: #21316
| * | | Merge topic 'cmake-E-cat-binary' into release-3.19Brad 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
| | * | cmake: Fix '-E cat' command for binary files on WindowsJohnny Jazeix2020-10-144-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Reset `std::cout` to write in binary mode with no encoding conversions. Co-Author: Brad King <brad.king@kitware.com> Fixes: #21295
| * | | Merge topic 'android-verify-abi-in-ndk' into release-3.19Brad 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
| | * | | Android: Fatal if ABI is not supported by NDKHaibo Huang2020-10-091-1/+1
| | | | |
| * | | | Merge topic 'export-namelink-only' into release-3.19Craig 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
| | * | | | export: Do not fail generation for namelink-only caseDeniz Bahadir2020-10-0910-0/+39
| | | | | |
| * | | | | Tests: Test the CMakePresets.json example in the documentationKyle Edwards2020-10-092-0/+12
| |/ / / /
| * | | | Merge topic 'iwyu-map-cm-headers' into release-3.19Brad King2020-10-091-1/+0
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 06c0d59c17 IWYU: Map <*> headers to <cm/*> headers Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5327
| | * | | | IWYU: Map <*> headers to <cm/*> headersKyle Edwards2020-10-081-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | For headers which exclusively contain things that were not present in C++11.
| * | | | | Merge topic 'GNUInstallDirs-debian' into release-3.19Brad 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
| | * | | | GNUInstallDirs: Comply with Debian Policy on LIBEXECDIRDennis Klein2020-10-081-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If CMAKE_INSTALL_PREFIX is /usr, CMAKE_INSTALL_LIBEXECDIR shall return the same value as CMAKE_INSTALL_LIBDIR on Debian. While the FHS allows /usr/libexec for internal binaries (https://refspecs.linuxfoundation.org/FHS_3.0/fhs-3.0.html#usrlibexec) the Debian Policy Manual states an exception here (section 9.1.1 bullet point 4): https://www.debian.org/doc/debian-policy/ch-opersys#file-system-structure. Fixes: #21287
| | * | | | Tests: Add RunCMake.GNUInstallDirs expected output specific to DebianBrad King2020-10-085-0/+122
| | | |_|/ | | |/| |
| * | | | Tests: Fix policy version in RunCMake.ExternalProject testBrad King2020-10-081-1/+1
| |/ / / | | | | | | | | | | | | | | | | Now that we have policies that need to be tested, this test cannot just use CMAKE_VERSION for the policy level.
| * | | Merge topic 'check_cuda_helpers'Brad King2020-10-0811-4/+111
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5c66ac31e6 CUDA: CheckLinkerFlag now supports CUDA da2622ff36 CUDA: Add Support to SourceCompiles|Runs and CheckCompilerFlags Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5338
| | * | | CUDA: CheckLinkerFlag now supports CUDARobert Maynard2020-10-083-1/+10
| | | | |
| | * | | CUDA: Add Support to SourceCompiles|Runs and CheckCompilerFlagsRobert Maynard2020-10-089-3/+101
| | | | |
| * | | | FindPython: Enable C language in tests that find the Development componentMarc Chevrier2020-10-0710-10/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since commit 5537ccd814 (FindPython: Tests optimizations, 2020-10-01) some FindPython tests fail because the Development component cannot be found without knowing `CMAKE_LIBRARY_ARCHITECTURE`. Enable at least one language in each of these test cases to get that value. This is consistent with use in practice because the Development component does not make much sense without a language to compile sources anyway. Fixes: #21277
| * | | | Merge topic 'cmake-presets-empty-var'Brad King2020-10-0712-0/+56
| |\ \ \ \ | | |/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | a395cb516b CMakePresets.json: Prohibit empty variable names Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5339
| | * | | CMakePresets.json: Prohibit empty variable namesKyle Edwards2020-10-0612-0/+56
| | |/ /
| * | | Merge topic 'add_ispc_to_check_helpers'Brad King2020-10-075-1/+45
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | e17e2c6a51 ISPC: CheckCompilerFlags and CheckSourceCompiles support ISPC Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5337
| | * | | ISPC: CheckCompilerFlags and CheckSourceCompiles support ISPCRobert Maynard2020-10-065-1/+45
| | | | |
| * | | | Merge topic 'CheckCompilerFlag-gcc-10'Brad King2020-10-071-0/+7
| |\ \ \ \ | | |_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | d66858c8e4 CheckCompilerFlag: Update the regex used to detect invalid options for GCC 10 Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5331
| | * | | CheckCompilerFlag: Update the regex used to detect invalid options for GCC 10Luthaf2020-10-061-0/+7
| | |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The warning emmitted by GCC for invalid options have been updated to read "command-line option XXX is valid ..." instead of "command line option XXX is valid ...". Update the regex to make it valid with both the old and new warning message. Fixes: #21275
| * | | Merge topic 'cmake-presets'Brad King2020-10-06246-13/+2747
| |\ \ \ | | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 6f8fdc686c .gitignore: Add CMakeUserPresets.json 1d25760198 Help: Add presets documentation and release notes a4382f72d7 CMake GUI: Add presets functionality 8617479061 CMake: Add presets functionality 06128cf949 Presets: Add cmCMakePresetsFile class 5a36542086 Refactor: Add allowArch parameter to cmake::CreateGlobalGenerator() 3059e6aed7 cmJSONHelpers: Add new Bind() function 8682d1b7b2 CMake GUI Tests: Increase default sleep time Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Michael Hirsch, Ph.D. <michael@scivision.dev> Merge-request: !5169
| | * | CMake GUI: Add presets functionalityKyle Edwards2020-10-0517-0/+870
| | | |
| | * | CMake: Add presets functionalityKyle Edwards2020-10-05228-0/+1853
| | | |