summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake
Commit message (Collapse)AuthorAgeFilesLines
* Merge topic 'vs-dotnet-standard-core'Brad King2020-01-248-0/+134
|\ | | | | | | | | | | | | ae1e1909a1 VS: Add support for .NET Standard and .NET Core Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4240
| * VS: Add support for .NET Standard and .NET CoreJoerg Bornemann2020-01-248-0/+134
| | | | | | | | Fixes: #20105
* | Merge topic 'trace_json_timestamp'Brad King2020-01-241-4/+8
|\ \ | | | | | | | | | | | | | | | | | | | | | c829f0cfca trace: Add time and stack level to JSON output format Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Volo Zyko <volo.zyko@gmail.com> Merge-request: !4242
| * | trace: Add time and stack level to JSON output formatFrank Winklmeier2020-01-221-4/+8
| |/ | | | | | | | | | | | | | | Add the timestamp and stack depth of the function call to the JSON trace output format. This information can be useful for cmake profiling and call stack inspection (see e.g. https://github.com/volo-zyko/cmake-profile-stats). Improve unit test to allow for varying set of keys to check in trace lines.
* | Merge topic 'get-runtime-dependencies-keyword-args'Brad King2020-01-232-2/+20
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | 3573f62a16 Merge branch 'backport-get-runtime-dependencies-keyword-args' c998c8d560 file(GET_RUNTIME_DEPENDENCIES): Tolerate empty list arguments 4c8a917a87 file(GET_RUNTIME_DEPENDENCIES): Tolerate empty list arguments Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4262
| * | file(GET_RUNTIME_DEPENDENCIES): Tolerate empty list argumentsKyle Edwards2020-01-222-2/+20
| | | | | | | | | | | | | | | Also list all keywords that were missing values instead of only the first one.
* | | Ninja Multi-Config: Add variable to control aliases in build.ninjaKyle Edwards2020-01-225-0/+140
| | |
* | | Refactor: Split Ninja files into impl-<Config>.ninja and build-<Config>.ninjaKyle Edwards2020-01-224-0/+142
|/ /
* | Merge topic 'mark_as_advanced-without-cache'Brad King2020-01-229-0/+87
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 3ec82b713e cmMarkAsAdvancedCommand: ignore variables which don't exist in the cache 701a5c60e0 cmake: avoid marking local or unused variables as advanced af158149e7 FindOpenSSL: do not mark a local variable as advanced 74f659f1f2 FindCurses: only mark CURSES_EXTRA_LIBRARY when it is used 7e2ae4e96d FindOpenGL: only mark declared cache variables as advanced 7cc02a0c29 FindLua: only mark LUA_MATH_LIBRARY as advanced if required 85cd26b8a6 FindBoost: only mark Boost_DIR as advanced if defined 338c7916ba CTest: avoid marking undeclared cache variables as advanced ... Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4150
| * | cmMarkAsAdvancedCommand: ignore variables which don't exist in the cacheBen Boeckel2020-01-209-0/+87
| | | | | | | | | | | | Fixes: #18331
* | | Merge topic 'multi-ninja-pch'Brad King2020-01-209-2/+43
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | a55df20499 Multi-Ninja: Add precompile headers support Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4201
| * | | Multi-Ninja: Add precompile headers supportCristian Adam2020-01-179-2/+43
| | | | | | | | | | | | | | | | Fixes: #19789
* | | | Merge topic 'fphsa-name-mismatch'Brad King2020-01-208-0/+55
|\ \ \ \ | |_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | be4d1bdf9a FPHSA: acknowledge the name mismatches in CMake-owned modules ee4673c1ae FPHSA: detect package name mismatches Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Eric Noulard <eric.noulard@gmail.com> Merge-request: !4123
| * | | FPHSA: detect package name mismatchesBen Boeckel2020-01-148-0/+55
| | |/ | |/| | | | | | | | | | | | | | | | The `FPHSA_NAME_MISMATCHED` variable may be set if this is intentional (but should be cleared after the call to not affect other FPHSA calls). It may also be passed via the `NAME_MISMATCHED` option for new-signature FPHSA calls.
* | | Merge topic 'out-of-dir-link-list'Brad King2020-01-178-8/+26
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | f0e67da061 target_link_libraries: Fix out-of-dir linking of a list of targets acee629103 cmTargetLinkLibrariesCommand: Move HandleLibrary to helper struct ba675f1ecc Tests: Enable CMP0022 in ExportImport out-of-dir linking case Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4226
| * | | target_link_libraries: Fix out-of-dir linking of a list of targetsBrad King2020-01-168-8/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In a case like target_link_libraries(targetInOtherDir PUBLIC "$<1:a;b>") then all entries in the list need to be looked up in the caller's scope. Previously our `::@(directory-id)` suffix would apply only to the last entry. Instead surround the entire entry by a pair `::@(directory-id);...;::@` so that the `::@` syntax can encode a directory lookup scope change evaluated as the list is processed. Fixes: #20204
* | | | Merge topic 'cmake-ctest-arguments'Brad King2020-01-173-0/+19
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 4153d8445b Add CMAKE_CTEST_ARGUMENTS variable to pass command-line arguments to ctest Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4168
| * | | | Add CMAKE_CTEST_ARGUMENTS variable to pass command-line arguments to ctestRobert Goulet2020-01-153-0/+19
| | |/ / | |/| | | | | | | | | | Fixes: #20172
* | | | Merge topic 'rename-cross-config-variable'Brad King2020-01-171-7/+7
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 310b58e961 Ninja Multi-Config: Rename variable to be more consistent Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4234
| * | | | Ninja Multi-Config: Rename variable to be more consistentKyle Edwards2020-01-161-7/+7
| | |_|/ | |/| | | | | | | | | | Also make some tweaks to the documentation.
* | | | Merge topic 'cpack-custom-dmg-names'Craig Scott2020-01-177-1/+75
|\ \ \ \ | |/ / / |/| | | | | | | | | | | | | | | | | | | | | | | 6d6f4b9316 CPack/DragNDrop: Support CPACK_DMG_<component>_FILE_NAME b53230fbee Tests: Add DragNDrop as a testable CPack generator Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4227
| * | | CPack/DragNDrop: Support CPACK_DMG_<component>_FILE_NAMEAndrew Fuller2020-01-163-1/+7
| | | |
| * | | Tests: Add DragNDrop as a testable CPack generatorAndrew Fuller2020-01-164-0/+68
| | | |
* | | | 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