summaryrefslogtreecommitdiffstats
path: root/Tests
Commit message (Collapse)AuthorAgeFilesLines
* Merge topic 'ninja_multi_config_support_cuda'Kyle Edwards2020-01-147-0/+104
|\ | | | | | | | | | | | | c7ac13e8ed CUDA: Mult-Config Ninja generator now supports CUDA Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4187
| * CUDA: Mult-Config Ninja generator now supports CUDARobert Maynard2020-01-137-0/+104
| |
* | Merge topic 'tutorial'Brad King2020-01-141-2/+3
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | a7d25358a0 Tutorial: Add the PRIVATE keyword to target_link_libraries command cf2afb1065 Tutorial: Remove 'Consumer' example 77b515f3eb Tutorial: Improve "MultiPackage" example 3a510a47b0 Tutorial: Add links to relevant CMake documentation Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4113
| * | Tutorial: Improve "MultiPackage" exampleBetsy McPhail2020-01-101-2/+3
| | | | | | | | | | | | Rename to Step 12 and ensure that it follows Step 11
* | | Ninja Multi-Config: Improve error handling when not doing cross-config buildKyle Edwards2020-01-132-6/+2
| |/ |/|
* | Merge topic 'target_compile_options-BEFORE-keyword'Brad King2020-01-138-1/+54
|\ \ | | | | | | | | | | | | | | | | | | 2678e31053 target_compile_options: ensure BEFORE keyword is handled in all scopes Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4203
| * | target_compile_options: ensure BEFORE keyword is handled in all scopesMarc Chevrier2020-01-118-1/+54
| | | | | | | | | | | | Fixes: #20200
* | | Merge topic 'ninja-cross-build-disable'Brad King2020-01-1316-5/+106
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | e8032e202e Ninja Multi-Config: Make cross-config building opt-in Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4205
| * | | Ninja Multi-Config: Make cross-config building opt-inKyle Edwards2020-01-1016-5/+106
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Many users will want to use the Ninja Multi-Config generator like a traditional Visual Studio-style multi-config generator, which doesn't mix configurations - custom commands are built using target executables of the same configuration the command is for. We do not want to force these people to generate an N*N build matrix when they only need N*1, especially if they have lots of targets. Add a new variable, CMAKE_NINJA_CROSS_CONFIG_ENABLE, to opt-in to the cross-config build matrix.
* | | | Merge topic 'out-of-dir-link-keyword'Brad King2020-01-135-5/+8
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 09721ca078 target_link_libraries: Fix out-of-dir calls with debug/optimized keywords c40229968c target_link_libraries: Add FIXME comment for out-of-dir genex list Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4202
| * | | | target_link_libraries: Fix out-of-dir calls with debug/optimized keywordsBrad King2020-01-105-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In commit a1ad0a699b (target_link_libraries: Allow use with targets in other directories, 2018-09-07, v3.13.0-rc1~94^2) we added use of `<...>` to encode a directory id, but the closing `>` can incorrectly terminate a surrounding generator expression early. Encode the directory id using `(...)` instead. Fixes: #20202
| * | | | target_link_libraries: Add FIXME comment for out-of-dir genex listBrad King2020-01-101-0/+3
| | |/ / | |/| | | | | | | | | | Issue: #20204
* | | | Merge topic 'fix-cpack-deb-description-file'Brad King2020-01-134-5/+9
|\ \ \ \ | |_|/ / |/| | | | | | | | | | | | | | | | | | | d491f34a5e CPack: Fix regression in DEB generator description Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4204
| * | | CPack: Fix regression in DEB generator descriptionKyle Edwards2020-01-104-5/+9
| | | | | | | | | | | | | | | | Fixes: #20102
| * | | Merge topic 'cuda-device-link-only-cuda' into release-3.16Brad King2020-01-103-0/+9
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 7ffa42288e Merge branch 'backport-3.15-cuda-device-link-only-cuda' 071c4f1a2a CUDA: Do not device link if target has no CUDA usage Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4191
| * | | | ObjC: Add _COMPILE_LAUNCHER supportCristian Adam2020-01-0912-0/+32
| | | | | | | | | | | | | | | | | | | | Fixes: #20178
* | | | | Merge topic 'nsis-headerimage'Kyle Edwards2020-01-108-0/+91
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ebfffc609e CPack/NSIS: Add option for setting MUI_HEADERIMAGE_BITMAP Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4157
| * | | | | CPack/NSIS: Add option for setting MUI_HEADERIMAGE_BITMAPJohnny Jazeix2020-01-028-0/+91
| | | | | | | | | | | | | | | | | | | | | | | | Fixes: #20120
* | | | | | Merge topic 'cuda-device-link-only-cuda'Brad King2020-01-103-0/+9
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 01c90d76a1 Merge branch 'backport-3.16-cuda-device-link-only-cuda' 7ffa42288e Merge branch 'backport-3.15-cuda-device-link-only-cuda' 071c4f1a2a CUDA: Do not device link if target has no CUDA usage Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4191
| * \ \ \ \ \ Merge branch 'backport-3.16-cuda-device-link-only-cuda'Brad King2020-01-093-0/+9
| |\ \ \ \ \ \ | | | |_|/ / / | | |/| | | / | | |_|_|_|/ | |/| | | |
| | * | | | Merge branch 'backport-3.15-cuda-device-link-only-cuda'Brad King2020-01-093-0/+9
| | |\ \ \ \ | | | |_|/ / | | |/| | |
| | | * | | CUDA: Do not device link if target has no CUDA usageRobert Maynard2020-01-093-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When CUDA is enabled, and a pure non-CUDA target has CMAKE_CUDA_SEPARABLE_COMPILATION enabled, don't actually perform the device linking step, as it will fail. A target that has CMAKE_CUDA_SEPARABLE_COMPILATION enabled must also have CUDA usage (either itself, or something it links to). Fixes: #20182
| | | * | | Merge branch 'backport-findpostgres-10-and-older' into release-3.15Brad King2019-11-071-3/+12
| | | |\ \ \ | | | | | | | | | | | | | | | | | | | | | Merge-request: !4007
| | | | * | | FindPostgreSQL: support version encoding used in pre-10 releasesBen Boeckel2019-11-071-3/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | With the 10.x release, PostgreSQL upstream started encoding the version as `MMmmmm` where `M` is major and `m` is minor. Prior to that, `MMmmPP` was used where `P` was the patch number. Detect this difference and decode it based on the used encoding. Fixes: #19912
| | | * | | | Xcode: Restore CMAKE_XCODE_GENERATE_SCHEME for custom targetsBrad King2019-10-022-0/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The target property introduced by commit 413b71485a (Xcode: Create Xcode schemes per target, 2019-03-11, v3.15.0-rc1~347^2) was accidentally not initialized by `CMAKE_XCODE_GENERATE_SCHEME` for custom targets. Fix it and update the test. Fixes: #19759
* | | | | | | Merge topic 'objc-compiler-launcher'Brad King2020-01-1022-0/+46
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | f6ef6e5a73 Merge branch 'backport-3.16-objc-compiler-launcher' 1a9f6bad98 ObjC: Add _COMPILE_LAUNCHER support a05b9d4239 ObjC: Add _COMPILE_LAUNCHER support Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4189
| * | | | | | | ObjC: Add _COMPILE_LAUNCHER supportCristian Adam2020-01-0922-0/+46
| |/ / / / / / | | | | | | | | | | | | | | | | | | | | | Fixes: #20178
* | | | | | | Merge topic 'reduce_verbosity_find_package_debug_mode'Brad King2020-01-102-5/+10
|\ \ \ \ \ \ \ | |_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 6c92df382f find_package: Improve debug logging output Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4175
| * | | | | | find_package: Improve debug logging outputRobert Maynard2020-01-012-5/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The find_package debug log messages are now easier to read when enabled by the `--debug-find` command-line option or `CMAKE_FIND_DEBUG_MODE` variable.
* | | | | | | FindPython: Add variable Python_SOABIMarc Chevrier2020-01-092-0/+40
| |/ / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | This variable holds the standard extension suffix for modules. Fixes: #20150
* | | | | | 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