summaryrefslogtreecommitdiffstats
path: root/Tests
Commit message (Collapse)AuthorAgeFilesLines
* export: Do not fail generation for namelink-only caseDeniz Bahadir2020-10-0910-0/+39
|
* 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
| |
| * cmJSONHelpers: Add new Bind() functionKyle Edwards2020-10-051-12/+23
| |
| * CMake GUI Tests: Increase default sleep timeKyle Edwards2020-10-051-1/+1
| |
* | Merge topic 'add_checkcompilerflag_tests'Brad King2020-10-0614-0/+102
|\ \ | | | | | | | | | | | | | | | | | | 8ac9719659 CheckCompilerFlag: Add tests to verify module correctness Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5328
| * | CheckCompilerFlag: Add tests to verify module correctnessRobert Maynard2020-10-0614-0/+102
| |/
* | Merge topic 'ci-find-modules'Brad King2020-10-063-5/+7
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 0792fe4759 ci: enable IPO tests on Debian 10 and Fedora 31 builds c582e51909 ci: enable Fortran submodule tests on Debian 10 and Fedora 31 builds 12b56269d4 ci: enable Qt5 tests on Debian 10 and Fedora 31 builds 02e8befb74 gitlab-ci: add job to run test suite on Debian 10 with ninja 2bb2a283e9 ci: add packages for many find modules to the Debian 10 image 03fb06b8e7 ci: enable many find module tests for the Fedora 31 Makefiles build b23f36bba6 ci: add packages for many find modules to the Fedora 31 image 20f7d51b7b Tests: Revise FindBLAS test to avoid cblas_ mangling ... Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5322
| * | Tests: Revise FindBLAS test to avoid cblas_ manglingBrad King2020-10-051-3/+5
| | |
| * | Tests: Improve FindRuby test robustnessBrad King2020-10-052-2/+2
| |/
* | Merge topic 'csharp-source_group-bugfix'Brad King2020-10-063-5/+12
|\ \ | |/ |/| | | | | | | | | 8d87cfdbf3 VS: Fix regression in C# source links Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5314
| * VS: Fix regression in C# source linksKinan Mahdi2020-10-053-5/+12
| | | | | | | | | | | | Fix logic used since commit ac6b18cd90 (CSharp: Add support for source groups with out-of-source builds, 2020-02-18, v3.18.0-rc1~645^2). Add a check of the physical file location for C# source groups.
* | Merge topic 'xcode-refactor-framework-linking'Craig Scott2020-10-045-11/+58
|\ \ | | | | | | | | | | | | | | | | | | ce2dee9e5b Xcode: Don't add framework as -framework argument in linker info list Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5216
| * | Xcode: Don't add framework as -framework argument in linker info listGusts Kaksis2020-10-025-11/+58
| | |
* | | Merge topic 'FetchContent_missing_SOURCE_DIR'Craig Scott2020-10-045-0/+26
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | b030a6af88 FetchContent: Raise error if manually given source dir does not exist Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5317
| * | | FetchContent: Raise error if manually given source dir does not existCraig Scott2020-10-035-0/+26
| |/ / | | | | | | Fixes: #21208
* | | FindSWIG: Fix syntax errorMarc Chevrier2020-10-023-0/+25
| | | | | | | | | | | | | | | | | | Add some tests to cover all cases regarding version handling Fixes: #21264
* | | Merge topic 'UseSWIG-output-source-file-properties'Brad King2020-10-029-1/+166
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 4a81a0ce3d UseSWIG: Add OUTPUT_DIR and OUTFILE_DIR source file properties Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5303
| * | | UseSWIG: Add OUTPUT_DIR and OUTFILE_DIR source file propertiesMarc Chevrier2020-09-309-1/+166
| | | | | | | | | | | | | | | | | | | | | | | | | | | | These properties enable to manage output directories on per source file basis. Fixes: #21250
* | | | Merge topic 'execute_process-fatal-error'Brad King2020-10-0210-0/+32
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 116a427eb1 execute_process: add options for fatal errors on subprocess failure Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5243
| * | | | execute_process: add options for fatal errors on subprocess failureAsit Dhal2020-10-0110-0/+32
| |/ / / | | | | | | | | | | | | Fixes: #19930
* | | | Merge topic 'FindPython-tests-optimizations'Marc Chevrier2020-10-0221-82/+82
|\ \ \ \ | |_|/ / |/| | | | | | | | | | | | | | | | | | | 5537ccd814 FindPython: Tests optimizations Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5307
| * | | FindPython: Tests optimizationsMarc Chevrier2020-10-0121-82/+82
| | | | | | | | | | | | | | | | | | | | * Use 'project(... LANGUAGES NONE)' when possible * enhance error messages wording
* | | | Merge topic 'FindSWIG-version-range'Craig Scott2020-10-022-0/+31
|\ \ \ \ | |/ / / |/| | | | | | | | | | | | | | | | | | | 1d300ee2a9 FindSWIG: Add version range support Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5306
| * | | FindSWIG: Add version range supportMarc Chevrier2020-10-012-0/+31
| |/ /
* | | Merge topic 'macos-arm64'Brad King2020-10-012-1/+7
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | b6c60f14b6 macOS: Default to arm64 architecture on Apple Silicon hosts 383e81aa60 Tests: Teach RunCMake to ignore Xcode internal objc warnings 8f75912176 Tests: Enable Assembler test case when CMAKE_OSX_ARCHITECTURES has one value Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5291
| * | | macOS: Default to arm64 architecture on Apple Silicon hostsBrad King2020-09-301-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Detect `arm64` hardware using a method that pierces Rosetta. If `CMAKE_OSX_ARCHITECTURES` is not set, pass explicit flags to the toolchain to use `arm64` instead of letting the toolchain pick. Fixes: #20989
| * | | Tests: Teach RunCMake to ignore Xcode internal objc warningsBrad King2020-09-301-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Xcode on Apple Silicon warns: objc[...]: Class AMSupportURL... is implemented in both ... One of the two will be used. Which one is undefined. Teach RunCMake to drop such lines before matching against expected output.
| * | | Tests: Enable Assembler test case when CMAKE_OSX_ARCHITECTURES has one valueBrad King2020-09-291-1/+4
| | | |
* | | | Merge topic 'genexpr-for-mfc-flag'Brad King2020-10-011-0/+3
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | c1f1eaf7a4 VS: Teach CMAKE_MFC_FLAG to support generator expressions Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5283
| * | | | VS: Teach CMAKE_MFC_FLAG to support generator expressionsAndrey Starodubtsev2020-09-301-0/+3
| | | | |
* | | | | Merge topic 'msvc_implib'Brad King2020-10-013-0/+27
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 7bda9a7fc7 VS: Make ImportLibary generation optional Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5282
| * | | | | VS: Make ImportLibary generation optionalMark Jansen2020-09-303-0/+27
| | |_|/ / | |/| | | | | | | | | | | | | Fixes: #21180