summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake
Commit message (Collapse)AuthorAgeFilesLines
* cmake: Add -E create_hardlinkSibi Siddharthan2020-07-1510-0/+49
| | | | | Fixes: #20950 Signed-off-by: Sibi Siddharthan <sibisiddharthan.github@gmail.com>
* Merge topic 'genx-COMPILE_LANGUAGE-support'Brad King2020-07-144-0/+36
|\ | | | | | | | | | | | | 6491d2503c Genex $<COMPILE_LANGUAGE>: Extend contexts supported Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5005
| * Genex $<COMPILE_LANGUAGE>: Extend contexts supportedMarc Chevrier2020-07-134-0/+36
| | | | | | | | | | | | | | | | When genex $<TARGET_PROPERTY:...> for properties like INCLUDE_DIRECTORIES is evaluated as part of add_custom_command or add_custom_target, genex $<COMPILE_LANGUAGE> and $<COMPLIE_LANG_AND_ID> should be supported. Fixes: #20926
* | Merge topic 'macos-11-file-GET_RUNTIME_DEPENDENCIES'Brad King2020-07-141-12/+14
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | d9af90504f Tests: Update file(G_R_D) test to make system library optional c51400033c file: Update GET_RUNTIME_DEPENDENCIES for macOS 11 dylib cache Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Kyle Edwards <kyle.edwards@kitware.com> Merge-request: !4998
| * | Tests: Update file(G_R_D) test to make system library optionalKyle Edwards2020-07-131-12/+14
| | | | | | | | | | | | | | | Since the system library may not exist on the filesystem on macOS 11, skip it if it doesn't exist.
* | | Merge topic 'profiling-case-insensitive-command-names'Brad King2020-07-142-1/+18
|\ \ \ | |_|/ |/| | | | | | | | | | | | | | 7cf2f7d2af cmake: Store lowercase command names in profiling output Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5007
| * | cmake: Store lowercase command names in profiling outputCraig Scott2020-07-132-1/+18
| |/ | | | | | | | | | | | | This ensures commands can be properly aggregated by tools processing the profiling output. Fixes: #20946
* | Merge topic 'cuda-memcheck'Brad King2020-07-136-0/+289
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | cee92a9fb0 Help: add release notes for CTest cuda-memcheck support f38e4a1871 Tests: Add cases for CTest cuda-memcheck parser fe062800f0 CTest: add cuda-memcheck support Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: tcojean <terry.cojean@kit.edu> Merge-request: !4952
| * | Tests: Add cases for CTest cuda-memcheck parserTobias Ribizel2020-07-096-0/+289
| | |
* | | Merge topic 'imported-local-target-alias'Brad King2020-07-134-6/+25
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 7b0f6508a0 ALIAS targets: Non-global aliases must be propagated to sub-directories Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5002
| * | | ALIAS targets: Non-global aliases must be propagated to sub-directoriesMarc Chevrier2020-07-114-6/+25
| | |/ | |/| | | | | | | Fixes: #20942
* | | Merge topic 'source_file_both_props'Brad King2020-07-102-4/+4
|\ \ \ | |/ / | | | | | | | | | | | | | | | | | | | | | 961ee62faa Help: Update get_property and get_source_file_property docs 1235f2d747 set_property: Allow both DIRECTORY and TARGET_DIRECTORY together 177052d6b8 set_property: Fix name of TARGET_DIRECTORY option in error messages Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4994
| * | set_property: Fix name of TARGET_DIRECTORY option in error messagesAlexandru Croitor2020-07-092-4/+4
| | |
* | | Merge topic 'file-GENERATE-tmp'Brad King2020-07-093-0/+15
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 4d40253f1c Tests: Cover file(GENERATE) using 'foo.tmp' as input for output 'foo' eaa420e99c cmGeneratedFileStream: Use random temporary file extension by default 09ff1cb650 cmCTest: Explicitly specify '.tmp' extension on in-progress log files 0d3a034725 cmGeneratedFileStream: Optionally use custom temporary file extension Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4992
| * | | Tests: Cover file(GENERATE) using 'foo.tmp' as input for output 'foo'Brad King2020-07-083-0/+15
| | | | | | | | | | | | | | | | Fixes: #20873
* | | | Merge topic 'ctest-resource-spec-file-doc'Craig Scott2020-07-086-1/+26
|\ \ \ \ | | |/ / | |/| | | | | | | | | | | | | | | | | | c57695a2f4 Help: Clarify search order for resource spec file Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4983
| * | | Help: Clarify search order for resource spec fileKyle Edwards2020-07-076-1/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Clarify the order in which --resource-spec-file, RESOURCE_SPEC_FILE, and CTEST_RESOURCE_SPEC_FILE are searched, and add tests to enforce this. Fixes: #20914
* | | | Merge topic 'languageStandardMultipleBacktraceSupport'Brad King2020-07-082-2/+17
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2f383d852d fileapi: Support multiple backtraces for language standard cc96fb617b Add BTs helper to support multiple backtraces Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4960
| * | | | fileapi: Support multiple backtraces for language standardJustin Goshi2020-07-062-2/+17
| | |/ / | |/| |
* | | | Tests: Cover using RTF for DMG SLAsBrad King2020-07-033-7/+11
|/ / /
* | | Merge topic 'cpack-dmg-sla'Brad King2020-07-0311-0/+67
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | b9737ead1f Tests: Add case for CPack DMG multi-language SLAs 925c026c31 Tests: Verify SLA in CPackComponentsForAll-DragNDrop-* DMG files Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4969
| * | | Tests: Add case for CPack DMG multi-language SLAsBrad King2020-07-0211-0/+67
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Add a test for the feature added by commit f88533cc06 (CPackDMG: Add support for multilingual SLAs, 2015-10-19, v3.5.0-rc1~232^2). Issue: #20889
* | | | Merge topic 'restore-cwd-translation-map'Brad King2020-07-036-0/+52
|\ \ \ \ | |/ / / |/| / / | |/ / | | | | | | | | | 85a945a607 Restore handling of build directory inside a symlinked path Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4963
| * | Restore handling of build directory inside a symlinked pathBrad King2020-07-026-0/+52
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In commit dd8365b3f1 (Merge branch 'upstream-KWSys' into update-kwsys, 2020-04-06, v3.18.0-rc1~397^2) we imported KWSys commit `019afb6ea` (SystemTools: Drop GetCurrentWorkingDirectory 'collapse' argument, 2020-04-03). That caused `GetCurrentWorkingDirectory` to no longer send paths through the KWSys translation map and broke CMake's detection of the absolute path to a build directory containing a symbolic link. Add our own `cmSystemTools::GetCurrentWorkingDirectory` wrapper around the KWSys method in order to restore that mapping. Test-case-by: Ben Boeckel <ben.boeckel@kitware.com> Issue: #16228 Fixes: #20900
| * | Merge topic 'file-ARCHIVE-files-dirs' into release-3.18Brad King2020-07-012-14/+14
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | bbcff21f71 file(ARCHIVE*): Collapse FILES and DIRECTORY options Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4955
| * \ \ Merge topic 'file-CONFIGURE-subdir' into release-3.18Brad King2020-06-304-0/+7
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | e5f5eeca2f file: Fix CONFIGURE output relative path Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4951
| * \ \ \ Merge topic 'find_library-file-readable' into release-3.18Brad King2020-06-304-2/+22
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | f2c903fb9a find_library: Check that library files are readable Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4945
* | \ \ \ \ Merge topic 'gtest-xml-add-test'Brad King2020-07-024-0/+57
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 7b92e11683 Tests: Add test for GoogleTest XML_OUTPUT_DIR Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4954
| * | | | | | Tests: Add test for GoogleTest XML_OUTPUT_DIRStefan Floeren2020-07-014-0/+57
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add tests to make sure the XML_OUTPUT_DIR is generated correctly and the correct files are getting created.
* | | | | | | Merge topic 'configure_file-permission-control'Brad King2020-07-013-0/+14
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 27b03281e2 configure_file: Add option to control file permissions transfer to copy Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4941
| * | | | | | | configure_file: Add option to control file permissions transfer to copyRahul Gottipati2020-06-303-0/+14
| | |_|_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | Issue: #20866
* | | | | | | Merge topic 'file-ARCHIVE-files-dirs'Brad King2020-07-012-14/+14
|\ \ \ \ \ \ \ | |_|/ / / / / |/| | | | | / | | |_|_|_|/ | |/| | | | | | | | | | | | | | | | bbcff21f71 file(ARCHIVE*): Collapse FILES and DIRECTORY options Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4955
| * | | | | file(ARCHIVE*): Collapse FILES and DIRECTORY optionsCraig Scott2020-06-302-14/+14
| | |/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The two options were concatenated internally for both ARCHIVE_CREATE and ARCHIVE_EXTRACT. The distinction between files and dirs was not meaningful. Therefore, replace them with PATHS or PATTERNS to more accurately describe the way the options are used. Fixes: #20884
* | | | | Merge topic 'file-CONFIGURE-subdir'Brad King2020-06-304-0/+7
|\ \ \ \ \ | | |_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | e5f5eeca2f file: Fix CONFIGURE output relative path Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4951
| * | | | file: Fix CONFIGURE output relative pathBrad King2020-06-294-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In commit a6fee09484 (file: Add CONFIGURE subcommand, 2020-03-06, v3.18.0-rc1~584^2) we accidentally treated relative path outputs with respect to the current working directory. Treat them with respect to the current binary directory instead. Fixes: #20885
* | | | | Merge topic 'find_library-file-readable'Brad King2020-06-304-2/+22
|\ \ \ \ \ | |_|_|/ / |/| | | / | | |_|/ | |/| | | | | | | | | | f2c903fb9a find_library: Check that library files are readable Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4945
| * | | find_library: Check that library files are readableBrad King2020-06-294-2/+22
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | Refactoring in commit 6b85166920 (ENH: Refactor find_library search logic, 2008-09-22, v2.8.0~1665) dropped a call to `FileExists` on the path under the assumption that the presence of a file in a directory listing means it exists. However, dropping that also dropped a check that verifies the file is readable. Restore the `FileExists` call to ensure that we only find readable libraries.
* | | Merge topic 'fileApiAddLanguageStandardBacktrace'Brad King2020-06-2910-2/+305
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 7d6861f367 fileapi: Extend codemodel targets with language standard ba835874a4 Add backtrace support for language standard e43486a639 cmGeneratorTarget: Clarify name of language property lookup helper Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4798
| * | | fileapi: Extend codemodel targets with language standardJustin Goshi2020-06-2610-2/+305
| | | |
* | | | Merge topic 'file-ARCHIVE_CREATE-rename-TYPE-option'Brad King2020-06-2919-18/+31
|\ \ \ \ | | |_|/ | |/| | | | | | | | | | | | | | | | | | | | | | 95159b7dea file(ARCHIVE_CREATE): Rename TYPE option to COMPRESSION bc45bdc819 Help: Fix contents indenting for file(ARCHIVE_...) subcommands Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4948
| * | | file(ARCHIVE_CREATE): Rename TYPE option to COMPRESSIONCraig Scott2020-06-2719-18/+31
| | | | | | | | | | | | Fixes: #20883
* | | | Merge topic 'install-default-directory-permissions'Kyle Edwards2020-06-2620-0/+47
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | d4812a955b cmake-install: implement default directory permissions Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4927
| * | | | cmake-install: implement default directory permissionsAsit Dhal2020-06-2520-0/+47
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | provide an argument for default directory permissions in cmake --install Fixes: #20700
* | | | | Merge topic 'visual-studio-android'Brad King2020-06-269-11/+95
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 6051a49c78 Visual Studio: Add Android support bbcaf9689e Refactor: Add IsAndroidGuiExecutable() method to cmTarget 14456923bd cmGlobalVisualStudio10Generator: Move variable initialization to header d5b5c19278 cmGlobalGenerator: FindMakeProgram() before CMakeDetermineSystem Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4898
| * | | | | Visual Studio: Add Android supportKyle Edwards2020-06-249-11/+95
| | |_|/ / | |/| | |
* | | | | Merge topic 'config_genex_support_multiple_types'Brad King2020-06-267-10/+43
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | eae15dce6a Genex: $<CONFIG:> now supports multiple configurations c4cc21d20b cmVisualStudio10TargetGenerator: Do not segfault on empty config Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4924
| * | | | | Genex: $<CONFIG:> now supports multiple configurationsRobert Maynard2020-06-247-10/+43
| |/ / / / | | | | | | | | | | | | | | | | | | | | Instead of having to do $<OR:$<CONFIG:Release>,$<CONFIG:MinSizeRel>> you can do $<CONFIG:Release,MinSizeRel>
* | | | | Merge topic 'GoogleTest-DISCOVERY_MODE-cleanups'Brad King2020-06-264-8/+4
|\ \ \ \ \ | |_|/ / / |/| | / / | | |/ / | |/| | | | | | | | | | | | | | | | | | 1458b4c048 Help: Add CMAKE_GTEST_DISCOVER_TESTS_DISCOVERY_MODE to release notes 642ea49115 GoogleTest: Replace SEND_ERROR with FATAL_ERROR 09c38e8de6 Tests: Don't ask for things not required for GoogleTest Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4938
| * | | Tests: Don't ask for things not required for GoogleTestCraig Scott2020-06-244-8/+4
| | | | | | | | | | | | | | | | The test cases only need C or C++, but not both. The CTest module is also not needed because we are not running a dashboard script.
* | | | Merge topic 'deprecate-pre-2.8.12'Craig Scott2020-06-2389-81/+201
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5845c218d7 Deprecate compatibility with CMake versions older than 2.8.12 7b07ccdd2b Tests/*Only: Update cmake_minimum_required versions 9b99b4bfc8 Tests/RunCMake: Update cmake_minimum_required versions fcea4a3b45 cmStateSnapshot: Invert CanPopPolicyScope return value to match name Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Ben Boeckel <ben.boeckel@kitware.com> Merge-request: !4897