summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake
Commit message (Collapse)AuthorAgeFilesLines
* Merge topic 'unity-lang-filename'Brad King2020-01-1511-15/+15
|\ | | | | | | | | | | | | 274a6f3699 Unity Build: include language in generated source file name Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4223
| * Unity Build: include language in generated source file nameCristian Adam2020-01-1411-15/+15
| | | | | | | | Fixes: #20206
* | Merge topic 'ctest-timeout-on-pipe'Brad King2020-01-157-0/+90
|\ \ | | | | | | | | | | | | | | | | | | | | | d1976cd1f2 CTest: Fix timeout when grandchild keeps pipes open 2f5eb1800b Tests: Add RunCMake.CTestTimeout test Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4217
| * | CTest: Fix timeout when grandchild keeps pipes openBrad King2020-01-143-0/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When a test's process creates its own child and exits, the grandchild may keep pipes open. Fix CTest logic to correctly timeout if the grandchild does not exit and close the pipes before the timeout expires. This was broken by commit b5e21d7d2e (CTest: Re-implement test process handling using libuv, 2017-12-10, v3.11.0-rc1~117^2) which added an unnecessary condition to the timeout handling. Fixes: #20116
| * | Tests: Add RunCMake.CTestTimeout testBrad King2020-01-146-0/+69
| | | | | | | | | | | | This test will consolidate CTest timeout-related tests.
* | | 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
| |/ /
* | | 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-134-4/+4
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-104-4/+4
| | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | | Merge topic 'fix-cpack-deb-description-file'Brad King2020-01-132-1/+3
|\ \ \ \ | |_|/ / |/| | / | | |/ | |/| | | | | | | 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-102-1/+3
| | | | | | | | | | | | Fixes: #20102
| * | ObjC: Add _COMPILE_LAUNCHER supportCristian Adam2020-01-0912-0/+32
| | | | | | | | | | | | Fixes: #20178
* | | 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.
* | | Merge topic 'add_target_deprecation'Kyle Edwards2020-01-036-0/+25
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-026-0/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| | |/ / | |/| |
* | | | Tests: do not use the same variable name in nested loopsRolf Eike Beer2019-12-311-3/+3
|/ / / | | | | | | | | | Spotted by LGTM.com.
* | | Merge topic 'ctest-resource-allocation-spec-message'Craig Scott2019-12-291-1/+2
|\ \ \ | | |/ | |/| | | | | | | | | | | | | 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-271-1/+2
| | | | | | | | | | | | Fixes: #20079
| * | 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 '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 '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
| | |_|_|/ | |/| | |
* | | | | cmCoreTryCompile::CleanupFiles now removes symlinks instead of their contents.Johnny Jazeix2019-12-262-0/+25
| | | | | | | | | | | | | | | | | | | | Fixes: #17522
* | | | | 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 '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-1687-35/+1770
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-1372-0/+1710
| | | | | |
| * | | | | Ninja: Add multi-config variantKyle Edwards2019-12-1316-35/+60
| |/ / / / | | | | | | | | | | | | | | | Co-Authored-by: vector-of-bool <vectorofbool@gmail.com>
* | | | | 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
| * | | | cmFunctionCommand: Introduce `CMAKE_CURRENT_FUNCTION*` variablesAlex Turbov2019-12-106-0/+128
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | `CMAKE_CURRENT_FUNCTION` Can be used for diagnostic or debugging messages like the `__PRETTY_FUNCTION__` macro of GCC. `CMAKE_CURRENT_FUNCTION_LIST_DIR` Eliminates the necessity of the additional "global" variables inside a module used to access additional "resource" files from functions defined in the module. ...
* | | | | Merge topic 'link-options-propagation'Brad King2019-12-121-3/+6
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | af9d4f24ae Link properties: must be transitive over private dependency on static library Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4130
| * | | | | Link properties: must be transitive over private dependency on static libraryMarc Chevrier2019-12-121-3/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Ensure transitivity over multiple static libraries. Fixes: bbba701899 (Link properties: must be transitive over private dependency on static library, 2019-12-06)
* | | | | | Merge topic 'add_cuda_meta_compiler_features'Brad King2019-12-121-5/+1
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2467a2b318 CUDA: Add cuda meta-features (e.g. ``cuda_std_11``) support Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3992
| * | | | | | CUDA: Add cuda meta-features (e.g. ``cuda_std_11``) supportRobert Maynard2019-12-101-5/+1
| | | | | | |
* | | | | | | Merge topic 'ctest-configuration-type'Kyle Edwards2019-12-114-0/+30
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | e6f758be6d ctest: Populate CTEST_CONFIGURATION_TYPE from the -C command line when set Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4109
| * | | | | | | ctest: Populate CTEST_CONFIGURATION_TYPE from the -C command line when setJulien Jomier2019-12-094-0/+30
| | | | | | | |