summaryrefslogtreecommitdiffstats
path: root/Tests
Commit message (Collapse)AuthorAgeFilesLines
* Merge topic 'install-default-directory-permissions'Kyle Edwards2020-06-2620-0/+47
|\ | | | | | | | | | | | | d4812a955b cmake-install: implement default directory permissions Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4927
| * cmake-install: implement default directory permissionsAsit Dhal2020-06-2520-0/+47
| | | | | | | | | | | | provide an argument for default directory permissions in cmake --install Fixes: #20700
* | Merge topic 'visual-studio-android'Brad King2020-06-2619-28/+141
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | 6051a49c78 Visual Studio: Add Android support bbcaf9689e Refactor: Add IsAndroidGuiExecutable() method to cmTarget 14456923bd cmGlobalVisualStudio10Generator: Move variable initialization to header d5b5c19278 cmGlobalGenerator: FindMakeProgram() before CMakeDetermineSystem Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4898
| * | Visual Studio: Add Android supportKyle Edwards2020-06-2419-28/+141
| | |
* | | Merge topic 'config_genex_support_multiple_types'Brad King2020-06-2610-18/+49
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | eae15dce6a Genex: $<CONFIG:> now supports multiple configurations c4cc21d20b cmVisualStudio10TargetGenerator: Do not segfault on empty config Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4924
| * | | Genex: $<CONFIG:> now supports multiple configurationsRobert Maynard2020-06-2410-18/+49
| |/ / | | | | | | | | | | | | Instead of having to do $<OR:$<CONFIG:Release>,$<CONFIG:MinSizeRel>> you can do $<CONFIG:Release,MinSizeRel>
* | | Merge topic 'GoogleTest-DISCOVERY_MODE-cleanups'Brad King2020-06-264-8/+4
|\ \ \ | |_|/ |/| | | | | | | | | | | | | | | | | | | | 1458b4c048 Help: Add CMAKE_GTEST_DISCOVER_TESTS_DISCOVERY_MODE to release notes 642ea49115 GoogleTest: Replace SEND_ERROR with FATAL_ERROR 09c38e8de6 Tests: Don't ask for things not required for GoogleTest Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4938
| * | Tests: Don't ask for things not required for GoogleTestCraig Scott2020-06-244-8/+4
| | | | | | | | | | | | The test cases only need C or C++, but not both. The CTest module is also not needed because we are not running a dashboard script.
| * | Merge topic 'test-all-find-modules' into release-3.18Brad King2020-06-233-35/+0
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | 6c6b227813 Tests: Drop redundant FindModulesExecuteAll test Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4930
| * \ \ Merge topic 'CUDAToolkit-cuda-11' into release-3.18Brad King2020-06-192-6/+33
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | b284a3c764 CudaToolkit: Update for new/removed libraries in CUDA 11 Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4917
* | \ \ \ Merge topic 'deprecate-pre-2.8.12'Craig Scott2020-06-2393-83/+205
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5845c218d7 Deprecate compatibility with CMake versions older than 2.8.12 7b07ccdd2b Tests/*Only: Update cmake_minimum_required versions 9b99b4bfc8 Tests/RunCMake: Update cmake_minimum_required versions fcea4a3b45 cmStateSnapshot: Invert CanPopPolicyScope return value to match name Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Ben Boeckel <ben.boeckel@kitware.com> Merge-request: !4897
| * | | | | Deprecate compatibility with CMake versions older than 2.8.12Brad King2020-06-1817-4/+125
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Issue a deprecation warning on calls to `cmake_minimum_required` or `cmake_policy` that set policies based on versions older than 2.8.12. Note that the effective policy version includes `...<max>` treatment. This is important in combination with commit ca24b70d31 (Export: Specify a policy range in exported files, 2020-05-16, v3.18.0-rc1~133^2).
| * | | | | Tests/*Only: Update cmake_minimum_required versionsBrad King2020-06-184-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | Use 3.3 or 2.8.12 where possible.
| * | | | | Tests/RunCMake: Update cmake_minimum_required versionsBrad King2020-06-1873-77/+76
| | |_|_|/ | |/| | | | | | | | | | | | | Use 3.3 or 2.8.12 where possible.
* | | | | Merge topic 'refactor_file_extension_queries'Brad King2020-06-232-4/+4
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 7628153edb Refactor file extension queries to be more consistent Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4925
| * | | | | Refactor file extension queries to be more consistentRobert Maynard2020-06-222-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It was very easy to forgot to check against all language file extensions. This updates the internal API to have a unified API.
* | | | | | Merge topic 'graphviz-cycles'Brad King2020-06-2317-230/+286
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ee5eb2eab4 Graphviz: add missing support for circular dependencies Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4926
| * | | | | | Graphviz: add missing support for circular dependenciesCorentin Plouet2020-06-2117-230/+286
| |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This support was actually added by removing a superfluous check that was too eager in cmLinkItemGraphVisitor.cxx. Extended the existing Graphviz tests to include this particular case, and re-generated the expected output files. Fixes: #20720
* | | | | | Merge topic 'test-all-find-modules'Brad King2020-06-233-35/+0
|\ \ \ \ \ \ | |/ / / / / |/| | | | / | | |_|_|/ | |/| | | | | | | | | | | | | 6c6b227813 Tests: Drop redundant FindModulesExecuteAll test Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4930
| * | | | Tests: Drop redundant FindModulesExecuteAll testBrad King2020-06-233-35/+0
| | | | | | | | | | | | | | | | | | | | | | | | | This test has been superseded by `CMakeOnly.AllFindModules`, which does much more checking anyway.
* | | | | Merge topic 'get_filename_component-error-fatal'Brad King2020-06-196-2/+11
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 470b3a76b3 get_filename_component: make errors fatal Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4914
| * | | | | get_filename_component: make errors fatalAsit Dhal2020-06-186-2/+11
| | |/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | Make all errors in `get_filename_component` fatal. Fixes: #20015
* | | | | Merge topic 'FindSDL-update'Brad King2020-06-194-0/+48
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 9ffd2c70bf FindSDL: Add SDL_INCLUDE_DIRS, SDL_LIBRARIES, and SDL::SDL Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4902
| * | | | | FindSDL: Add SDL_INCLUDE_DIRS, SDL_LIBRARIES, and SDL::SDLFrédéric Simonis2020-06-184-0/+48
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also provide `SDL_VERSION[_{MAJOR,MINOR,PATCH}]`. Fixes: #12911
* | | | | | Merge topic 'test-extra-generators'Brad King2020-06-191-32/+22
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ab6e1e49c0 Tests: Simplify addition of extra generator tests 882483192d cmake: Simplify internal conditions for adding extra generators Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4909
| * | | | | | Tests: Simplify addition of extra generator testsBrad King2020-06-181-32/+22
| |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Do not try to run the `cmake` binary that has not been built yet. Always add the extra generator tests in combination with the corresponding Makefile and Ninja generators.
* | | | | | Merge topic 'CUDAToolkit-cuda-11'Brad King2020-06-192-6/+33
|\ \ \ \ \ \ | |_|/ / / / |/| | | | / | | |_|_|/ | |/| | | | | | | | | | | | | b284a3c764 CudaToolkit: Update for new/removed libraries in CUDA 11 Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4917
| * | | | CudaToolkit: Update for new/removed libraries in CUDA 11Robert Maynard2020-06-182-6/+33
| | |/ / | |/| |
* | | | Merge topic 'test-split-RunCMake.target_link_libraries'Brad King2020-06-1840-69/+202
|\ \ \ \ | |_|/ / |/| | / | | |/ | |/| | | | | | | | | | 5f97e44912 Tests: Shorten case names in RunCMake.target_link_libraries-* tests 0951b1fe07 Tests: Split RunCMake.target_link_libraries test Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4908
| * | Tests: Shorten case names in RunCMake.target_link_libraries-* testsBrad King2020-06-1718-31/+31
| | | | | | | | | | | | | | | Drop the portion of the case names that repeats the name of the containing test.
| * | Tests: Split RunCMake.target_link_libraries testMarc Chevrier2020-06-1740-68/+201
| |/ | | | | | | Fixes: #20836
| * Merge topic 'test-file-GET_RUNTIME_DEPENDENCIES' into release-3.18Brad King2020-06-1768-275/+295
| |\ | | | | | | | | | | | | | | | | | | | | | 9ae3382855 Tests: Shorten case names in RunCMake.file-GET_RUNTIME_DEPENDENCIES test 248d0570c9 Tests: Factor out RunCMake.file-GET_RUNTIME_DEPENDENCIES test Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4904
| * \ Merge topic 'test-CudaOnly.StaticRuntimePlusToolkit' into release-3.18Brad King2020-06-171-0/+6
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | cb9fab49dd Tests: Fix CudaOnly.StaticRuntimePlusToolkit build rpath Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4901
* | \ \ Merge topic 'test-file-GET_RUNTIME_DEPENDENCIES'Brad King2020-06-1768-275/+295
|\ \ \ \ | | |_|/ | |/| | | | | | | | | | | | | | | | | | | | | | 9ae3382855 Tests: Shorten case names in RunCMake.file-GET_RUNTIME_DEPENDENCIES test 248d0570c9 Tests: Factor out RunCMake.file-GET_RUNTIME_DEPENDENCIES test Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4904
| * | | Tests: Shorten case names in RunCMake.file-GET_RUNTIME_DEPENDENCIES testBrad King2020-06-1664-255/+255
| | | | | | | | | | | | | | | | | | | | Now that these cases are in a dedicated test we can drop the `file-GET_RUNTIME_DEPENDENCIES-` prefix from their name.
| * | | Tests: Factor out RunCMake.file-GET_RUNTIME_DEPENDENCIES testBrad King2020-06-1669-296/+316
| |/ / | | | | | | | | | Move the `file(GET_RUNTIME_DEPENDENCIES)` cases out of `RunCMake.install`.
* | | Merge topic 'test-CudaOnly.StaticRuntimePlusToolkit'Brad King2020-06-171-0/+6
|\ \ \ | | |/ | |/| | | | | | | | | | | | | cb9fab49dd Tests: Fix CudaOnly.StaticRuntimePlusToolkit build rpath Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4901
| * | Tests: Fix CudaOnly.StaticRuntimePlusToolkit build rpathRobert Maynard2020-06-161-0/+6
| | |
* | | Merge topic 'test-RunCMake.GeneratorExpression'Brad King2020-06-16314-111/+160
|\ \ \ | | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 6308bfb737 Tests: Factor out RunCMake.GenEx-GENEX_EVAL test abe1c27499 Tests: Factor out RunCMake.GenEx-TARGET_FILE test fbead761fe Tests: Factor out RunCMake.GenEx-DEVICE_LINK test 64a8587332 Tests: Factor out RunCMake.GenEx-HOST_LINK test 6f224a065c Tests: Factor out RunCMake.GenEx-LINK_LANG_AND_ID test f3f6317ca3 Tests: Factor out RunCMake.GenEx-LINK_LANGUAGE test 983adb8bed Tests: Factor out RunCMake.GenEx-COMPILE_LANG_AND_ID test 931a6702f6 Tests: Factor out RunCMake.GenEx-COMPILE_LANGUAGE test Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4899
| * | Tests: Factor out RunCMake.GenEx-GENEX_EVAL testBrad King2020-06-1630-9/+15
| | | | | | | | | | | | Move the `GENEX_EVAL` cases and friends out of `RunCMake.GeneratorExpression`.
| * | Tests: Factor out RunCMake.GenEx-TARGET_FILE testBrad King2020-06-1675-31/+38
| | | | | | | | | | | | Move the `TARGET_FILE` cases and friends out of `RunCMake.GeneratorExpression`.
| * | Tests: Factor out RunCMake.GenEx-DEVICE_LINK testBrad King2020-06-1644-15/+21
| | | | | | | | | | | | Move the `DEVICE_LINK` cases out of `RunCMake.GeneratorExpression`.
| * | Tests: Factor out RunCMake.GenEx-HOST_LINK testBrad King2020-06-1644-15/+21
| | | | | | | | | | | | Move the `HOST_LINK` cases out of `RunCMake.GeneratorExpression`.
| * | Tests: Factor out RunCMake.GenEx-LINK_LANG_AND_ID testBrad King2020-06-1639-12/+18
| | | | | | | | | | | | Move the `LINK_LANG_AND_ID` cases out of `RunCMake.GeneratorExpression`.
| * | Tests: Factor out RunCMake.GenEx-LINK_LANGUAGE testBrad King2020-06-1642-13/+19
| | | | | | | | | | | | Move the `LINK_LANGUAGE` cases out of `RunCMake.GeneratorExpression`.
| * | Tests: Factor out RunCMake.GenEx-COMPILE_LANG_AND_ID testBrad King2020-06-1627-8/+14
| | | | | | | | | | | | Move the `COMPILE_LANG_AND_ID` cases out of `RunCMake.GeneratorExpression`.
| * | Tests: Factor out RunCMake.GenEx-COMPILE_LANGUAGE testBrad King2020-06-1627-8/+14
| |/ | | | | | | Move the `COMPILE_LANGUAGE` cases out of `RunCMake.GeneratorExpression`.
| * Merge topic 'cuda_architectures_disable' into release-3.18Brad King2020-06-153-2/+16
| |\ | | | | | | | | | | | | | | | | | | 877a92e968 CUDA: Add support for disabling CUDA_ARCHITECTURES Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4886
| * \ Merge topic 'revert-find_program-exe-no-read' into release-3.18Brad King2020-06-152-4/+10
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | cc02ced530 find_program: Revert "Find programs that are executable but not readable" Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4871
* | \ \ Merge topic 'cmake-E-compare_files-exit-code'Brad King2020-06-163-0/+3
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | b5b6075522 cmake: add dedicated error for -E compare_files invalid arguments Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4881