summaryrefslogtreecommitdiff
path: root/Tests
Commit message (Collapse)AuthorAgeFilesLines
* Merge topic 'clang-tidy-fixes'Brad King2021-01-271-1/+1
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | ef935b17ab clang-tidy: fix `readability-use-anyofallof` warnings 9ac8dbbb94 clang-tidy: fix `readability-simplify-boolean-expr` warnings ca505718f4 clang-tidy: fix `readability-redundant-string-init` warnings b3b6ede6a1 clang-tidy: fix `readability-redundant-access-specifiers` warnings cdfc4e3195 clang-tidy: fix `readability-qualified-auto` warnings 808b17b120 clang-tidy: fix `readability-make-member-function-const` warnings 4470eb5179 clang-tidy: fix `performance-trivially-destructible` warnings 4f396e6528 clang-tidy: fix `performance-no-automatic-move` warnings ... Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5731
| * clang-tidy: fix `readability-make-member-function-const` warningsBen Boeckel2021-01-271-1/+1
| |
* | Merge topic 'update-bison-parser'Brad King2021-01-276-8/+8
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 7c6192472b LexerParser: Suppress -Wused-but-marked-unused warning in cmExprParser 6f64300a01 LexerParser: Clean up includes following include-what-you-use 699d50e376 LexerParser: Regenerate parser files with GNU Bison 3.7.4 c95442b9b1 LexerParser: Manual removing code from Bison is no longer needed 5a8a61a798 LexerParser: Do not use GNU Bison's yacc mode, we use Bison extensions Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5730
| * | LexerParser: Regenerate parser files with GNU Bison 3.7.4Christoph GrĂ¼ninger2021-01-256-8/+8
| | | | | | | | | | | | Adjust expected test output.
* | | Merge topic 'outdir-target-genex'Brad King2021-01-277-0/+81
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 64c3857780 OUTPUT_DIRECTORY: Support tgt genex in output artifact vars Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5690
| * | | OUTPUT_DIRECTORY: Support tgt genex in output artifact varsAsit Dhal2021-01-267-0/+81
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Following variables now support target dependent generator expressions. - CMAKE_RUNTIME_OUTPUT_DIRECTORY - CMAKE_LIBRARY_OUTPUT_DIRECTORY - CMAKE_ARCHIVE_OUTPUT_DIRECTORY Fixes: #18055
* | | | Merge topic 'cpack-compression-threads'Brad King2021-01-275-4/+6
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | bdf30bdad8 CPack: add CPACK_THREADS variable to control compression threads bcdb5b52a0 libarchive: Fix lzma_stream_encoder_mt detection Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5716
| * | | | CPack: add CPACK_THREADS variable to control compression threadsRodolfo Lima2021-01-265-4/+6
| | |_|/ | |/| | | | | | | | | | | | | | | | | | | | | | This allows setting how many threads the compressor will use. Currently only implemented for XZ when using system's lzma library. Fixes: #21715
* | | | Merge topic 'ExternalProject-vcs-tests'Brad King2021-01-275-7/+136
|\ \ \ \ | |/ / / |/| | | | | | | | | | | | | | | | | | | | | | | 195809914f Tests: Generate simpler ExternalProject sample Git repositories Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Ben Boeckel <ben.boeckel@kitware.com> Merge-request: !5741
| * | | Tests: Generate simpler ExternalProject sample Git repositoriesBrad King2021-01-255-7/+136
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | The `gitrepo.tgz` repository contains a project that enables both C and CXX languages and builds source code. This take a long time to repeat over and over, particularly on Visual Studio and Xcode generators. Add and use a script to generate a new test repository that has a much simpler project. Issue: #20733
* | | Merge topic 'nmc-cache-targets'Brad King2021-01-264-0/+12
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | ccbedb80e4 Ninja Multi-Config: Restore rebuild_cache and edit_cache targets 6fdbe9201f cmNinjaUtilityTargetGenerator: Remove leftover development comment Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5740
| * | | Ninja Multi-Config: Restore rebuild_cache and edit_cache targetsBrad King2021-01-254-0/+12
| |/ / | | | | | | | | | | | | | | | | | | | | | Since commit dcf9f4d2f7 (Ninja Multi-Config: Add support for cross-config custom commands, 2020-12-09) we were not generating these targets. Restore them and add a test. Fixes: #21722
* | | Merge topic 'reproducible-unity-id'Brad King2021-01-263-1/+16
|\ \ \ | |/ / |/| | | | | | | | | | | | | | ee9da76972 Unity: Generate reproducible unity IDs for anonymous namespaces Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5727
| * | Unity: Generate reproducible unity IDs for anonymous namespacesCraig Scott2021-01-233-1/+16
| | | | | | | | | Fixes: #21564
* | | Merge topic 'cpack-deb-shlibdeps-private-search-dirs'Brad King2021-01-2511-3/+224
|\ \ \ | |_|/ |/| | | | | | | | | | | | | | d586a4ad60 CPackDeb: dpkg-shlibdeps now supports searching for private shared libs Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5718
| * | CPackDeb: dpkg-shlibdeps now supports searching for private shared libsDeniz Bahadir2021-01-2211-3/+224
| | | | | | | | | | | | | | | | | | | | | | | | | | | The new CPack variable `CPACK_DEBIAN_PACKAGE_SHLIBDEPS_PRIVATE_DIRS` can be set to a list of directories. If `CPACK_DEBIAN_PACKAGE_SHLIBDEPS` or `CPACK_DEBIAN_<component>_PACKAGE_SHLIBDEPS` are set to `ON` these directories will be searched by `dpkg-shlibdeps` in order to find private shared library dependencies of the libraries/executables that shall be packed.
* | | UseSWIG: use swig tool to generate dependenciesMarc Chevrier2021-01-213-2/+26
| |/ |/| | | | | | | | | add_custom_command() supports option DEPFILE when generator is Makefiles or Ninja. And swig tool is able to generate a dependencies file which is compatible with DEPFILE option.
* | Merge topic 'FindGit-cache-version'Brad King2021-01-213-25/+7
|\ \ | | | | | | | | | | | | | | | | | | | | | 76fdeb6d13 Tests: FindGit already provides the git version, re-use it 315a200f0c FindGit: Cache the GIT_EXECUTABLE version for the current run Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5712
| * | Tests: FindGit already provides the git version, re-use itCraig Scott2021-01-203-25/+7
| | |
* | | Merge topic 'macos-include-weak-dependencies'Brad King2021-01-212-2/+35
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 7e615a540e file(GET_RUNTIME_DEPENDENCIES): Fix weak macOS libraries not detected f2d92b983b GetPrerequisites: Include weak macOS dependencies Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5703
| * | | file(GET_RUNTIME_DEPENDENCIES): Fix weak macOS libraries not detectedBianca van Schaik2021-01-202-2/+35
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Starting with Clang 12, `otool -l` reports `LC_LOAD_WEAK_DYLIB` instead of `LC_LOAD_DYLIB` for weakly linked libraries. Update the implementation of `file(GET_RUNTIME_DEPENDENCIES)` to recognize these. Fixes: #21684
* | | | Merge topic 'ninja-custom_command-depfile'Brad King2021-01-2011-24/+27
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | b5c2163293 Ninja: add_custom_command(DEPFILE): Ensure dependencies consistency Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5710
| * | | | Ninja: add_custom_command(DEPFILE): Ensure dependencies consistencyMarc Chevrier2021-01-1911-24/+27
| | |/ / | |/| | | | | | | | | | Fixes: #21694
* | | | Utilities/Sphinx: Add role and directive for 'genex' in CMake domainBrad King2021-01-182-0/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This enables cross-reference syntax for CMake generator expressions: :genex:`SOME_GENEX` :genex:`$<SOME_GENEX>` :genex:`$<SOME_GENEX:...>` and definition of CMake generator expressions via a directive: .. genex:: SOME_GENEX .. genex:: $<SOME_GENEX> .. genex:: $<SOME_GENEX:...> It also adds generator expressions defined by the directive and by `Help/genex/SOME_GENEX.rst` documents to the index.
* | | | cmRST: Add support for 'envvar' directiveBrad King2021-01-182-0/+16
| |_|/ |/| | | | | | | | | | | | | | This was accidentally left out of commit 8acf46caf1 (Utilities/Sphinx: Add role and directive for 'envvar' in CMake domain, 2018-04-19, v3.12.0-rc1~200^2~1).
* | | Merge topic 'ep-stash-options'Brad King2021-01-182-5/+17
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | ac4a8002a5 ExternalProject: Don't git stash ignored files Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5390
| * | | ExternalProject: Don't git stash ignored filesCraig Scott2021-01-162-5/+17
| |/ / | | | | | | | | | | | | | | | The change to the binary gitrepo.tgz file adds a commit which adds a .gitignore file. Fixes: #21278
* | | Merge topic 'issue-17794'Brad King2021-01-181-0/+6
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 8f33674491 cpack(DEB): Issue warning if custom script for control file is missing Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5705
| * | | cpack(DEB): Issue warning if custom script for control file is missingAsit Dhal2021-01-151-0/+6
| |/ / | | | | | | | | | Fixes: #17794
* | | Merge topic 'FindPostgreSQL-server-component'Brad King2021-01-181-1/+1
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 8b066f1a65 FindPostgreSQL: Add server component Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Ben Boeckel <ben.boeckel@kitware.com> Merge-request: !5680
| * | | FindPostgreSQL: Add server componentAlexey Edelev2021-01-151-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Require the server-specific artifacts only if the Server component is requested. Issue: #17223
* | | | Tests: Remove outdated CMakeTestMultipleConfigures testBrad King2021-01-152-180/+0
| |/ / |/| | | | | | | | | | | | | | | | | | | | In practice this test has not helped us find any problems AFAIK. Tests like RunCMake.BuildDepends and other RunCMake tests cover much of what this test was meant to do. Since CMakeTestMultipleConfigures takes a long time to run on some generator/platform combinations, it is not worth what it covers. Remove the test.
* | | Merge topic 'cmake_path-stabilization'Marc Chevrier2021-01-152-5/+5
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 76f0bcdfb6 cmake_path: various updates Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5695
| * | | cmake_path: various updatesMarc Chevrier2021-01-132-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | To follow discussions in #21385 and !5682: * Fix bug in cmCMakePath::IsSuffix() method * cmake_path(HASH) always normalized paths (NORMALIZE option removed)
* | | | Merge topic 'fileapi-toolchains'Brad King2021-01-1410-1/+151
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 6418dabb87 Tests: Add test for toolchains-v1 File API object 1c5bd1bed5 Tests: Add toolchains kind to capabilities test f72bb2ee0d Help: Add documentation for "toolchains" object kind bb069c0857 cmFileAPI: Add "toolchains" object kind. Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5678
| * | | | Tests: Add test for toolchains-v1 File API objectBen McMorran2021-01-129-0/+150
| | | | |
| * | | | Tests: Add toolchains kind to capabilities testBen McMorran2021-01-121-1/+1
| | | | |
* | | | | Merge topic 'fuzz1'Brad King2021-01-142-0/+35
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | b0107165b7 Tests: Add a fuzzer for oss-fuzz Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5668
| * | | | | Tests: Add a fuzzer for oss-fuzzAdamKorcz2021-01-132-0/+35
| | | | | |
* | | | | | Merge topic 'install-FILES-rename-genex'Brad King2021-01-146-0/+21
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ac3ccc393e install(files): Support genex in rename option Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5694
| * | | | | | install(files): Support genex in rename optionAsit Dhal2021-01-136-0/+21
| | |_|/ / / | |/| | | | | | | | | | | | | | | | Fixes: #19903
* | | | | | Merge topic 'ExternalProject-configure-handled-by-build'Brad King2021-01-133-0/+77
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 7155e358c9 ExternalProject: Add CONFIGURE_HANDLED_BY_BUILD option Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5626
| * | | | | | ExternalProject: Add CONFIGURE_HANDLED_BY_BUILD optionDaan De Meyer2021-01-123-0/+77
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes #21592.
* | | | | | | Merge topic 'issue-21663'Brad King2021-01-133-2/+7
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 38e2299fc8 list(REMOVE_ITEM): Make removal of an empty item a no-op. Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5693
| * | | | | | | list(REMOVE_ITEM): Make removal of an empty item a no-op.Asit Dhal2021-01-123-2/+7
| | |_|_|_|/ / | |/| | | | | | | | | | | | | | | | | | | Fixes: #21663
* | | | | | | Merge topic 'depend_make_refine'Brad King2021-01-131-7/+1
|\ \ \ \ \ \ \ | |_|_|/ / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 4d509437cb cmDepends: disable long line dependencies for nmake Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5689
| * | | | | | cmDepends: disable long line dependencies for nmakeKai Wang2021-01-111-7/+1
| |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is a follow-up to commit b696f78073 (cmDepends: merge dependers of depend makefile, 2020-12-18). NMake of visual studio has many versions that not support long line dependencies of make rule. Signed-off-by: Wangkai <wangkai86@huawei.com> Fixes: #21681
* | | | | | Merge topic 'ninja-multi-config-post-build'Brad King2021-01-124-0/+17
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 98805a11ce Ninja Multi-Config: Run POST_BUILD when BYPRODUCTS don't overlap Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5673
| * | | | | | Ninja Multi-Config: Run POST_BUILD when BYPRODUCTS don't overlapKyle Edwards2021-01-074-0/+17
| | |_|_|/ / | |/| | | | | | | | | | | | | | | | Fixes: #21252
* | | | | | Merge topic 'trace_expand_bracket'Brad King2021-01-121-0/+1
|\ \ \ \ \ \ | |_|/ / / / |/| | | | / | | |_|_|/ | |/| | | | | | | | | | | | | e6e7f2cab9 cmMakefile: Don't expand bracket arguments in --trace-expand Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5687