summaryrefslogtreecommitdiffstats
path: root/Tests
Commit message (Collapse)AuthorAgeFilesLines
* Merge topic 'fileapiAddMoreBacktraces'Brad King2019-09-112-4/+129
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 30006e199b fileapi: add backtraces for compile/link options 291c83f063 cmLocalGenerator: Add GetTargetCompileFlags overload with backtraces 8e973b8e8d cmLocalGenerator: Add GetTargetFlags overload with backtraces 4d5bbb7704 cmLocalGenerator: Add GetStaticLibraryFlags overload with backtraces 1f6a436bf4 cmLocalGenerator: Add AddCompileOptions overload with backtraces 5355a60fd0 cmLocalGenerator: Add AppendCompileOptions overload with backtraces a20d2c85d0 cmLocalGenerator: Add AppendFlags overload with backtraces b13207910e cmLocalGenerator: Clarify AddCompileOptions filter logic ... Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3775
| * fileapi: add backtraces for compile/link optionsJustin Goshi2019-09-102-4/+129
| |
* | Merge topic 'windows-auto-export-incremental-build'Brad King2019-09-102-3/+34
|\ \ | | | | | | | | | | | | | | | | | | ff5028c531 Windows: Prevent auto exports to be regenerated on every build Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3750
| * | Windows: Prevent auto exports to be regenerated on every buildDaniel Eiband2019-09-092-3/+34
| | | | | | | | | | | | | | | | | | | | | Check modified time stamps of input files against an existing exports file before generating the auto exports. Fixes: #19650
* | | clang-tidy: Fix bugprone-exception-escape diagnostic in test codeBrad King2019-09-091-1/+2
| |/ |/|
* | Merge topic 'cuda_resolve_device_symbols_on_static_lib_collect_deps_properly'Brad King2019-09-096-44/+42
|\ \ | | | | | | | | | | | | | | | | | | 2d7bb13da7 CUDA: static lib device linking computes required static libs Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3748
| * | CUDA: static lib device linking computes required static libsRobert Maynard2019-09-056-44/+42
| | | | | | | | | | | | | | | | | | Previously the CMake didn't compute the required set of libraries needed to properly device link a static library when CUDA_RESOLVE_DEVICE_SYMBOLS was enabled.
* | | Merge topic 'doxygen-add-docs-USE_STAMP_FILE'Craig Scott2019-09-064-0/+42
|\ \ \ | |_|/ |/| | | | | | | | | | | | | | 611eb26b9d FindDoxygen: add USE_STAMP_FILE option Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3238
| * | FindDoxygen: add USE_STAMP_FILE optionNikita Sirgienko2019-09-054-0/+42
| | | | | | | | | | | | The new option enables the behavior of only building if sources change.
* | | Merge topic 'unity-build'Brad King2019-09-0530-0/+388
|\ \ \ | |_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 7786a05c70 Unity build: Add XCode support 1353802af3 Unity build: Add unit tests 8dfeb5d278 Unity build: Add support for Visual Studio generator 7114c141e2 Unity build: Add support for Ninja and Makefile generators Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Stanislav Ershov <digital.stream.of.mind@gmail.com> Acked-by: Evgeniy Dushistov <dushistov@mail.ru> Acked-by: Viktor Kirilov <vik.kirilov@gmail.com> Merge-request: !3611
| * | Unity build: Add unit testsCristian Adam2019-08-3030-0/+388
| |/
* | Merge topic 'pch-fix-vs-test'Brad King2019-09-041-11/+8
|\ \ | | | | | | | | | | | | | | | | | | 383bf3b5e7 Precompile Headers: Fix Visual Studio 10 unit test Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3770
| * | Precompile Headers: Fix Visual Studio 10 unit testCristian Adam2019-09-031-11/+8
| | | | | | | | | | | | | | | | | | The unit test is more roboust, problems like c: vs C: or having relative paths of cmake_pch.cxx instead of absolute paths.
* | | Merge topic 'tidy-use-using'Brad King2019-09-041-1/+1
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 62e5f72289 clang-tidy: Replace typedef with using Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3731
| * | | clang-tidy: Replace typedef with usingRegina Pfeifer2019-09-031-1/+1
| | | |
* | | | Ninja: Pass preprocessor definitions when compiling with Intel FortranBrad King2019-09-033-0/+14
|/ / / | | | | | | | | | | | | | | | | | | | | | The Intel Fortran compiler supports an extension that allows conditional compilation based on preprocessor definitions specified on the command line even when not preprocessing. Fixes: #19664
* | | IWYU: Add missing cstddef includes for size_t and nullptr_tBrad King2019-09-031-0/+1
| | | | | | | | | | | | The IWYU tool we use for CI now diagnoses these.
* | | Merge topic 'FindPython-specify-artifacts-directly'Brad King2019-09-033-0/+164
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 06d9e67fbd FindPython: Add capability to specify directly artifacts cea2010b5c FindPython: Enhance python cache variables management. Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3690
| * | | FindPython: Add capability to specify directly artifactsMarc Chevrier2019-09-023-0/+164
| |/ / | | | | | | | | | Fixes: #19492
* | | Merge topic 'xcode11-bundles'Brad King2019-09-033-2/+12
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | e29a92f525 Xcode: Make BundleTests compatible with Xcode 11 Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3767
| * | | Xcode: Make BundleTests compatible with Xcode 11Gregor Jasny2019-09-013-2/+12
| | |/ | |/|
* | | Merge topic 'clang-ipo-support'Brad King2019-09-038-13/+36
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | dca9c33abc Tests: Remove old IPO test c856d4556b bindexplib: supporting llvm bitcode formats using llvm-nm 079b8e2916 Clang: prefer lld-link over link.exe 6e3655db2c Clang: add LTO support for GNU-command line clang on windows Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3527
| * | | Tests: Remove old IPO testZsolt Parragi2019-08-302-8/+0
| | | | | | | | | | | | | | | | | | | | This test didn't really result in IPO compilation, there are other better tests for this.
| * | | bindexplib: supporting llvm bitcode formats using llvm-nmZsolt Parragi2019-08-306-5/+36
| | | |
* | | | Merge topic 'vs-cuda-custom-dir'Brad King2019-09-037-7/+23
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 25f29b9741 cuda: Adapted tests to work with modified cuda toolset ee86770a3f cuda: Added docs for extended cuda toolset 0ad180d712 cuda: Extend cuda compiler detection to work with custom cuda path 55b0532128 cuda: Extend vs10 target generator to use custom cuda path df0247a371 cuda: Extend toolset argument to accept path Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3713
| * | | | cuda: Adapted tests to work with modified cuda toolsetBenjamin Wozniak2019-08-307-7/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - cuda version is only recognized if it contains no other characters than "0123456789." - cuda path is only tested with dummy value . Otherwise a cuda toolkit must be copied to the integration test machine
* | | | | Merge topic 'FindPkgConfig-module-name'Brad King2019-09-032-0/+29
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | fe68387695 FindPkgConfig: return the module found by pkg_search_module Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3749
| * | | | | FindPkgConfig: return the module found by pkg_search_moduleChristophe Giboudeaux2019-08-292-0/+29
| | |/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When running `pkg_search_module`, it may be useful to get the matching module name in order to run `pkg_get_variable`. `pkg_search_module` now defines `<prefix>_MODULE_NAME` which contains the first matching module name. Fixes: #19648
* | | | | Merge topic 'cpack-install-multiple-configurations'Brad King2019-09-034-0/+18
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | da5ac4bb60 cpack: Add `CPACK_INSTALL_CMAKE_CONFIGURATIONS` variable d4e6b2ae25 Refactor: Use `unique_ptr` instead of raw pointer Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3533
| * | | | | cpack: Add `CPACK_INSTALL_CMAKE_CONFIGURATIONS` variableAlex Turbov2019-08-304-0/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | For the multi-configuration generators one can specify the list of configurations to include in the package. E.g. having a project, where debug libraries have a suffix to distinct them from the release builds, one can build the package containing both `Debug` and `Release` binaries.
* | | | | | Merge topic 'FindBoost-1.71'Brad King2019-09-031-0/+5
|\ \ \ \ \ \ | |_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 7828577065 FindBoost: Add support for Boost 1.71 cf29fa18c8 FindBoost: Unwrap compatibility INTERFACE targets for legacy variables d7df3cd73f FindBoost: Remove incorrect 1.70 timer dependency 8ff43de1a5 FindBoost: Simplify conditional block for last known version Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Dennis Klein <d.klein@gsi.de> Merge-request: !3763
| * | | | | FindBoost: Unwrap compatibility INTERFACE targets for legacy variablesBrad King2019-08-301-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since commit 0dd6772a89 (FindBoost: Add legacy variables and targets for compatibility, 2019-06-14, v3.15.0-rc2~3^2~1) we extract information from imported targets provided by upstream `BoostConfig.cmake` files. However, upstream Boost 1.71 provides some imported targets only for compatibility. They are just INTERFACE libraries that wrap around the real target named by `INTERFACE_LINK_LIBRARIES`. Unwrap this layer so we can extract the real imported location. Fixes: #19656
* | | | | | Merge topic 'rel-nightly-test'Brad King2019-08-301-1/+2
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2c71208a78 Tests: Fix nightly binary tests to fail on error Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3755
| * | | | | | Tests: Fix nightly binary tests to fail on errorBrad King2019-08-291-1/+2
| | |_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We generate a small shell script to drive the steps. Previously a failure in the `release_cmake.cmake` script was not diagnosed and hidden from the script exit code by the following upload step. Tell the shell to terminate with failure on the first command that fails.
* | | | | | Merge topic 'remove_directory-symlink'Brad King2019-08-305-0/+23
|\ \ \ \ \ \ | |/ / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | e6c9a8bac3 cmake: Teach -E remove_directory to remove directory symlinks Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3738
| * | | | | cmake: Teach -E remove_directory to remove directory symlinksJon Chronopoulos2019-08-305-0/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If the argument to `remove_directory` is a symlink to a directory, remove the symlink instead. Issue: #19533
* | | | | | Merge topic 'CMakeParseImplicitLinkInfo-comma-separated'Brad King2019-08-29192-9/+594
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | b5f20da94d CMakeParseImplicitLinkInfo supports comma separated link lines 2200bc068b Introduce a ParseImplicitLinkInfo test Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3730
| * | | | | | CMakeParseImplicitLinkInfo supports comma separated link linesRobert Maynard2019-08-288-6/+309
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It is currently presumed that the linker will generate a space separated line. This is not the case for some compilers such as IBM XL where it can output space or comma separated. This is particularly apparent when IBM XL is used as the host compiler for CUDA as it generates a comma separated link line.
| * | | | | | Introduce a ParseImplicitLinkInfo testRobert Maynard2019-08-28186-8/+290
| |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | By sharing the information used by ParseImplicitIncludeInfo we can also verify the parsing of implicit link info such as directories.
* | | | | | Merge topic 'precompile-headers'Brad King2019-08-2923-0/+298
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 8da78d4efe Precompile headers: Update documentation 5772930164 Precompile headers: Add unit tests 519606704e Precompile headers: Add support for Visual Studio generators 28be170fbc Precompile headers: Add support for Xcode generator b8626261e9 Precompile headers: Add methods to generate PCH sources 375d01c680 PCH: add example/test 9b6797e71d PCH: add target_precompile_headers command 0467a2f91b PCH: add PRECOMPILE_HEADERS to special properties Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Daniel Pfeifer <daniel@pfeifer-mail.de> Acked-by: Ivan171 <heavenandhell171@gmail.com> Acked-by: Stanislav Ershov <digital.stream.of.mind@gmail.com> Acked-by: Steve Mokris <smokris@softpixel.com> Acked-by: Evgeniy Dushistov <dushistov@mail.ru> Acked-by: Danila Malyutin <flashmozzg@gmail.com> Acked-by: Viktor Kirilov <vik.kirilov@gmail.com> Acked-by: Lucas Zhao <zhaopf6@163.com> Merge-request: !3553
| * | | | | | Precompile headers: Add unit testsCristian Adam2019-08-2823-1/+254
| | | | | | |
| * | | | | | PCH: add example/testDaniel Pfeifer2019-08-275-0/+45
| | | | | | |
* | | | | | | Merge topic 'docker-rel-linux'Brad King2019-08-291-12/+12
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 689fdbfc61 Utilities/Release: Drop linux64 script in favor of docker build 2d7cfd30ac Utilities/Release: Drop source archive generation in scripts facc240a45 Utilities/Release: Add docker specs to build and test Linux binaries bf832ccf01 Utilities/Release: Add README.rst describing directory content ab153f17bf Utilities/Release: Drop machine-specific README ed294c1664 Add option to skip CMake tests that need network access 4b8a864d52 Add option to test CMake itself against its hosting CMake Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Gregor Jasny <gjasny@googlemail.com> Merge-request: !3727
| * | | | | | | Utilities/Release: Drop linux64 script in favor of docker buildBrad King2019-08-281-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Drop also drop the CMakeNightlyLinux64 test that uses the script.
| * | | | | | | Add option to skip CMake tests that need network accessBrad King2019-08-231-10/+12
| | |/ / / / / | |/| | | | |
* | | | | | | Merge topic 'find-no-name'Brad King2019-08-293-0/+4
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 84e33e6da4 Merge branch 'backport-find-no-name' into find-no-name 4c8760c9fb find_path: Fix crash on empty old-style list of names Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3751
| * \ \ \ \ \ \ Merge branch 'backport-find-no-name' into find-no-nameBrad King2019-08-283-0/+4
| |\ \ \ \ \ \ \ | | |_|_|_|_|/ / | |/| | | | | |
| | * | | | | | find_path: Fix crash on empty old-style list of namesBrad King2019-08-283-0/+4
| | | |_|/ / / | | |/| | | | | | | | | | | | | | | | | | Fixes: #19651
* | | | | | | Merge topic 'vs-ConfigurationType-genex'Brad King2019-08-282-2/+2
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 8909a450a6 VS: Add support for generator expressions to VS_CONFIGURATION_TYPE Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3746
| * | | | | | | VS: Add support for generator expressions to VS_CONFIGURATION_TYPEDaniel Eiband2019-08-262-2/+2
| | |_|/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Generator expressions in target property VS_CONFIGURATION_TYPE might be used to set the ConfigurationType to Utility for certain configurations to not build the target while still linking to the target in other configurations. Fixes: #19613