summaryrefslogtreecommitdiffstats
path: root/Tests
Commit message (Collapse)AuthorAgeFilesLines
* Tests: Add AUTOGEN policy CMP0100 testSebastian Holtermann2020-01-049-0/+162
| | | | | Add a test for policy CMP0100 that configures whether or not AUTOMOC and AUTOUIC should process .hh header files.
* Tests: Restore Autogen/SameName .hh header testSebastian Holtermann2020-01-043-1/+20
| | | | | | | | In commit 7fa7f55230fda5ac0135b1f4a220c15ad5983857, the Autogen/SameName test was changed to not test .hh header file processing in AUTOGEN anymore, because we had to revert that feature. Since we now support .hh header file processing in AUTOMOC again, we can restore the Autogen/SameName test for that.
* Merge topic 'add_target_deprecation'Kyle Edwards2020-01-038-0/+37
|\ | | | | | | | | | | | | | | c621839bd9 Add set_property option: DEPRECATION Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Daniele E. Domenichelli <ddomenichelli@drdanz.it> Merge-request: !4128
| * Add set_property option: DEPRECATIONJoseph Snyder2020-01-028-0/+37
| | | | | | | | | | | | | | | | | | | | | | | | Add a new property flag for a target which contains a message regarding deprecation status. Add a warning at "Generate" time if a linked target is marked as deprecated. Expand ExportImport test to ensure that new property is being set and passed correctly. Ensure that the message is shown during the "Generate" step run of the ExportImport test.
* | Merge topic 'trace-test-support-python26-and-older'Kyle Edwards2020-01-031-8/+13
|\ \ | | | | | | | | | | | | | | | | | | 00f25dacc0 trace: Directly parse commandline arguments without argparse Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4169
| * | trace: Directly parse commandline arguments without argparseDaniel Mensinger2020-01-011-8/+13
| | |
* | | Merge topic 'msvc_support_nvcc--compiler-options'Kyle Edwards2020-01-031-1/+1
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 568298a336 CUDA: MSVC + NVCC support --compiler-options compiler flag Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4177
| * | | CUDA: MSVC + NVCC support --compiler-options compiler flagRobert Maynard2020-01-021-1/+1
| | | | | | | | | | | | | | | | Fixes #20164
* | | | Merge topic 'double-i'Kyle Edwards2020-01-021-3/+3
|\ \ \ \ | |/ / / |/| | | | | | | | | | | | | | | | | | | 397d162b9a Tests: do not use the same variable name in nested loops Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4172
| * | | Tests: do not use the same variable name in nested loopsRolf Eike Beer2019-12-311-3/+3
| |/ / | | | | | | | | | Spotted by LGTM.com.
* | | FindLibXml2: provide imported target LibXml2::xmllintSylvain Joubert2019-12-311-0/+4
|/ /
* | Merge topic 'ctest-resource-allocation-spec-message'Craig Scott2019-12-292-53/+72
|\ \ | | | | | | | | | | | | | | | | | | b393b32b4b CTest: Improve error handling when reading resource spec file Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4162
| * | CTest: Improve error handling when reading resource spec fileKyle Edwards2019-12-272-53/+72
| | | | | | | | | | | | Fixes: #20079
| * | Merge topic 'autogen-no-hh' into release-3.16Brad King2019-12-193-16/+0
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | 7fa7f55230 Autogen: Revert processing of .hh files for compatibility Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4146
| * \ \ Merge topic 'test-resource-spec-init-lists' into release-3.16Brad King2019-12-191-37/+36
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | e8dbe4bba1 Tests: Fix testCTestResourceSpec struct initialization for some compilers Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Michael Dickens <michael.dickens@ettus.com> Merge-request: !4141
| * \ \ \ Merge topic 'pch-force-include' into release-3.16Brad King2019-12-161-1/+1
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | c5c218fa0d PCH: Append pch header file to list of forced include files Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4135
* | \ \ \ \ Merge topic 'traceJSON'Kyle Edwards2019-12-277-1/+104
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | e113ab1168 trace: Add test for the JSON-v1 trace 482497e0de trace: Add JSON output format Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4102
| * | | | | | trace: Add test for the JSON-v1 traceDaniel Mensinger2019-12-237-1/+104
| | |_|_|_|/ | |/| | | |
* | | | | | Merge topic 'cmcoretrycompile_cleanup_symlinks'Kyle Edwards2019-12-272-0/+25
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | a024d614ca cmCoreTryCompile::CleanupFiles now removes symlinks instead of their contents. Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4158
| * | | | | | cmCoreTryCompile::CleanupFiles now removes symlinks instead of their contents.Johnny Jazeix2019-12-262-0/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes: #17522
* | | | | | | Merge topic 'findpython_conda_support'Marc Chevrier2019-12-237-1/+93
|\ \ \ \ \ \ \ | |/ / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 776d27d4a4 FindPython: Extend virtual environment handling by considering conda Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4155
| * | | | | | FindPython: Extend virtual environment handling by considering condaSebastian Müller2019-12-217-1/+93
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Add functionality to recognize and use CONDA_PREFIX environment variable - Add tests for conda virtual environments - Fixes: #20111
* | | | | | | Merge topic 'test-objc-enable'Kyle Edwards2019-12-203-31/+8
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2b6c2e55e7 Tests: Enable missing Objective C/C++ tests Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4152
| * | | | | | | Tests: Enable missing Objective C/C++ testsBrad King2019-12-193-31/+8
| | |/ / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Some test cases added by commit 80f120a85f (Languages: Add support for Objective-C, 2019-09-13, v3.16.0-rc1~44^2~3) have never actually been run because the condition to enable them is never true. Fix the condition and fix the tests to pass.
* | | | | | | Merge topic 'add_find_call_debugging'Kyle Edwards2019-12-2015-0/+193
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | f3c9396260 Help: Document CMAKE_FIND_DEBUG_MODE 204b8d9f4e find_*: Use debug logging infrastructure a7ea20649d find_*: Add debug logging infrastructure Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3935
| * | | | | | | find_*: Use debug logging infrastructureRobert Maynard2019-12-1915-0/+193
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Teach the find_package, find_library, find_program, find_path, and find_file commands to print debug log messages when enabled by the `--debug-find` command-line option or `CMAKE_FIND_DEBUG_MODE` variable.
* | | | | | | | Merge topic 'add_custom_command-depends-path'Kyle Edwards2019-12-201-0/+15
|\ \ \ \ \ \ \ \ | |_|/ / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | f5126badd8 add_custom_command: convert DEPENDS path arguments to absolute paths a5f44ec925 cmAddCustomCommandCommand: remove unnecessary braces Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4148
| * | | | | | | add_custom_command: convert DEPENDS path arguments to absolute pathsBen Boeckel2019-12-181-0/+15
| | |/ / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is only done if they are "obviously" paths in that they contain a directory separator. Fixes: #17111
* | | | | | | Merge topic 'autogen-no-hh'Brad King2019-12-193-16/+0
|\ \ \ \ \ \ \ | | |_|_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 7fa7f55230 Autogen: Revert processing of .hh files for compatibility Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4146
| * | | | | | Autogen: Revert processing of .hh files for compatibilityBrad King2019-12-183-16/+0
| | |_|/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since commit 4a9154537c (Autogen: Use cmake::IsHeader/SourceExtension for file type detection, 2019-07-02, v3.16.0-rc1~470^2~4) we process `.hh` files with `AUTOMOC`. However, this change can break existing projects that do not expect the behavior. Revert it for now. It can be restored later via a policy. Fixes: #20101
* | | | | | Merge topic 'test-resource-spec-init-lists'Brad King2019-12-191-37/+36
|\ \ \ \ \ \ | |_|/ / / / |/| | | | / | | |_|_|/ | |/| | | | | | | | | | | | | | | | | | e8dbe4bba1 Tests: Fix testCTestResourceSpec struct initialization for some compilers Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Michael Dickens <michael.dickens@ettus.com> Merge-request: !4141
| * | | | Tests: Fix testCTestResourceSpec struct initialization for some compilersMichael Dickens2019-12-181-37/+36
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | Some compilers do not like the nested `{{{}}}` member initialization syntax, so use just `{}`. GCC 4.8 warns about the latter, so add a suppression. Fixes: #20097
| * | | Merge topic 'unity-object-libraries' into release-3.16Brad King2019-12-093-0/+20
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | fa93b4a59b Unity: Proper handling of object libraries 5ae07e7166 Unity: Generic source file handling for all generators f742f7ac1f Unity/PCH: Skip more target types when adding automatic sources Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4110
| * \ \ \ Merge topic 'pch-reuse-importlib' into release-3.16Brad King2019-12-093-0/+32
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 93becd61d1 PCH: Use the target's PREFIX for building the pdb file name Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4114
* | \ \ \ \ Merge topic 'add-header-cmext-algorithm'Brad King2019-12-182-0/+118
|\ \ \ \ \ \ | |_|_|_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | f7d12609f0 Refactoring: use append functions from cmext/algorithm a38d04c076 Refactoring: introduce header cmext/algorithm with append functions Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4131
| * | | | | Refactoring: introduce header cmext/algorithm with append functionsMarc Chevrier2019-12-172-0/+118
| | | | | |
* | | | | | Merge topic 'FindCUDAToolkit-module'Brad King2019-12-178-4/+104
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | d484a3c4d8 FindCUDAToolkit: correct searches for Toolkit components e2a5d8374f FindCUDAToolkit: Improve usage, library set, and tests 29560bf07b FindCUDAToolkit: Import targets for toolkit libraries 2c0ff263b4 FindCUDAToolkit: Add module to find the CUDA Toolkit 12d324e55d CUDA: Persist SIZEOF_VOID_P and PLATFORM_ABI Acked-by: Kitware Robot <kwrobot@kitware.com> Rejected-by: Brad King <brad.king@kitware.com> Acked-by: Brad King <brad.king@kitware.com> Merge-request: !4093
| * | | | | | FindCUDAToolkit: correct searches for Toolkit componentsRobert Maynard2019-12-162-19/+2
| | | | | | |
| * | | | | | FindCUDAToolkit: Improve usage, library set, and testsRobert Maynard2019-12-168-4/+121
| |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Refined the initial design of FindCUDAToolkit and improve it by adding more library support, more toolkit information and tests.
* | | | | | Merge topic 'fix-vs-winrt-by-default'Brad King2019-12-173-0/+86
|\ \ \ \ \ \ | |/ / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 557ea4614e VS: Change CMAKE_VS_WINRT_BY_DEFAULT to not implicitly enable WinRT 7bcef355bf Vs: Add test for VS_WINRT_BY_DEFAULT Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4127
| * | | | | VS: Change CMAKE_VS_WINRT_BY_DEFAULT to not implicitly enable WinRTPetr Polezhaev2019-12-161-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Original behaviour would unconditionally enable WinRT for all projects so source file flag generation code can acknowledge WinRT being present and disable it for C language source files. An unintentional result of that approach is that WinRT is enabled for ALL projects, including C++ projects/source files with no way to disable it Instead use `CMAKE_VS_WINRT_BY_DEFAULT` as a hint that the platform is WinRT-by-default and set global `CompileAsWinRT` flag to `false` unless it was explicitly requested by either `WINRT_COMPONENT` option or `/ZW` compilation option - similar to what Windows Phone/Windows Store platform logic does In case WinRT compilation is enabled for a project by either of aforementioned methods, C language source file override logic will still kick in and disable CompileAsWinRT for C source files Fixes: #20063
| * | | | | Vs: Add test for VS_WINRT_BY_DEFAULTPetr Polezhaev2019-12-163-0/+86
| | | | | |
* | | | | | Merge topic 'ninja-multi'Brad King2019-12-1695-57/+1806
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 8c062f9d99 Help: Add documentation and release notes for multi-config Ninja e0478cc646 Tests: Add test for Multi-Configuration Ninja generator 5a8a9f7229 Ninja: Add multi-config variant 3bc63e99e4 Refactor: Prepare Ninja generator for multi-config Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4086
| * | | | | | Tests: Add test for Multi-Configuration Ninja generatorKyle Edwards2019-12-1373-6/+1717
| | | | | | |
| * | | | | | Ninja: Add multi-config variantKyle Edwards2019-12-1324-51/+89
| |/ / / / / | | | | | | | | | | | | | | | | | | Co-Authored-by: vector-of-bool <vectorofbool@gmail.com>
* | | | | | Merge topic 'test-vtk'Brad King2019-12-161-1/+1
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 59e2e72159 Tests/Contracts: Update VTK repository URL Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4138
| * | | | | | Tests/Contracts: Update VTK repository URLBrad King2019-12-141-1/+1
| |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | The vtk.org/vtk.git repository has long been superseded by the repository on gitlab.kitware.com. The former is no longer available.
* | | | | | Merge topic 'pch-force-include'Brad King2019-12-161-1/+1
|\ \ \ \ \ \ | |/ / / / / |/| | | | / | | |_|_|/ | |/| | | | | | | | | | | | | c5c218fa0d PCH: Append pch header file to list of forced include files Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4135
| * | | | PCH: Append pch header file to list of forced include filesCristian Adam2019-12-131-1/+1
| | | | | | | | | | | | | | | | | | | | Fixes: #20088
* | | | | Merge topic 'function-var-current'Kyle Edwards2019-12-126-0/+128
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 24fdd51f45 Refactor: Replace CMAKE_CURRENT_LIST_DIR with CMAKE_CURRENT_FUNCTION_LIST_DIR 90e3e2a777 cmFunctionCommand: Introduce `CMAKE_CURRENT_FUNCTION*` variables dd54290dab Refactor: Modernize `function` command Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Ben Boeckel <ben.boeckel@kitware.com> Merge-request: !4000