summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake
Commit message (Collapse)AuthorAgeFilesLines
* Merge topic 'cpp-named-module-export-infra'Brad King2022-07-0782-7/+1835
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | f62c3c3c72 RunCMake/CXXModules: test public modules requiring private modules c5d4dd713f RunCMake/CXXModules: add tests which export BMIs 4d55f1422e RunCMake/CXXModules: test installation of BMIs and interfaces eff45f790d RunCMake/CXXModules: fix example follow-on case names a87c39dad1 RunCMake/CXXModules: output example test output upon failure 727e3db07a RunCMake/CXXModules: append to the test options f899563ae4 cmGlobalNinjaGenerator: verify that private sources stay private 9ecd3e771b cmGlobalNinjaGenerator: generate install rules for BMI files ... Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Acked-by: Alex <leha-bot@yandex.ru> Merge-request: !7224
| * RunCMake/CXXModules: test public modules requiring private modulesBen Boeckel2022-07-067-0/+48
| |
| * RunCMake/CXXModules: add tests which export BMIsBen Boeckel2022-07-0625-0/+479
| |
| * RunCMake/CXXModules: test installation of BMIs and interfacesBen Boeckel2022-07-0611-0/+161
| |
| * RunCMake/CXXModules: fix example follow-on case namesBen Boeckel2022-07-061-2/+2
| |
| * RunCMake/CXXModules: output example test output upon failureBen Boeckel2022-07-061-1/+1
| |
| * RunCMake/CXXModules: append to the test optionsBen Boeckel2022-07-061-1/+1
| |
| * cmNinjaTargetGenerator: write out BMI install information for the collatorBen Boeckel2022-07-0610-0/+216
| |
| * cmNinjaTargetGenerator: write out export information for the collatorBen Boeckel2022-07-068-0/+277
| | | | | | | | | | The collator will use this to know where the target's export information needs to go so that module properties may be provided.
| * cmNinjaTargetGenerator: write out fileset information for the collatorBen Boeckel2022-07-066-0/+188
| | | | | | | | | | The collator will use this to generate property settings for the imported targets in the build and install export sets.
| * Tests/RunCMake/CXXModules: add a json comparison scriptBen Boeckel2022-07-061-0/+160
| |
| * cmExperimental: update `CXX_MODULE_CMAKE_API` UUIDBen Boeckel2022-07-064-4/+4
| | | | | | | | The set of features available has been expanded, so update the UUID.
| * cmExport*FileGenerator: support exporting C++ module propertiesBen Boeckel2022-07-067-0/+144
| | | | | | | | | | C++ module properties will be generated at build time, so generate code that includes the files actually responsible for the information.
| * install: support `CXX_MODULES_BMI` installation bitsBen Boeckel2022-07-0612-0/+126
| |
| * cmTargetSourcesCommand: allow `INTERFACE` C++ modules when importedBen Boeckel2022-07-065-0/+29
| | | | | | | | | | `PUBLIC` filesets become `INTERFACE` upon installation. Allow `INTERFACE` scopes for C++ modules when the target is imported.
* | Merge topic 'file-TIMESTAMP-relative-path'Brad King2022-07-073-0/+4
|\ \ | | | | | | | | | | | | | | | | | | | | | 733801b57f file(TIMESTAMP): Interpret relative paths w.r.t. the source tree Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !7440
| * | file(TIMESTAMP): Interpret relative paths w.r.t. the source treeTheBrokenRail2022-07-063-0/+4
| | | | | | | | | | | | Fixes: #23610
* | | Merge topic 'generator-makefiles-deps-messages-VERBOSE'Brad King2022-07-072-3/+3
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 9480ced81a Makefiles generator: dependencies messages in verbose mode Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7456
| * | | Makefiles generator: dependencies messages in verbose modeMarc Chevrier2022-07-062-3/+3
| | |/ | |/| | | | | | | Fixes: #23689
* | | Merge topic 'genex-LINK_LIBRARY-check-supported-properties'Brad King2022-07-0720-12/+68
|\ \ \ | |/ / |/| | | | | | | | | | | | | | | | | 913ea78d7a Genex LINK_LIBRARY and LINK_GROUP: check supported properties Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !7454
| * | Genex LINK_LIBRARY and LINK_GROUP: check supported propertiesMarc Chevrier2022-07-0620-12/+68
| | | | | | | | | | | | | | | | | | | | | Refines check for properties supporting these genex. Enhance error message. Fixes: #23699
| * | Merge topic 'nvhpc-Werror' into release-3.24Brad King2022-07-051-1/+1
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | 35ec676ace NVHPC: warnings as error flag is "-Werror" Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7415
| * \ \ Merge topic 'add_nvcc_compile_warning_support' into release-3.24Brad King2022-07-0523-45/+87
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | cd324110d2 CUDA: NVCC support for COMPILE_WARNING_AS_ERROR target property 2e9ac1d272 Tests: Refactor warn on error tests to support multiple languages Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7417
* | \ \ \ Merge topic 'command-arg-parser-optional'Brad King2022-07-0615-4/+46
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | bff468c988 cmFileCommand: Use cm::optional for keyword argument presence 2586afa31b cmCTest*Command:: Use cm::optional for keyword argument presence 5446b15c5c cmInstallCommand: Use cm::optional for keyword argument presence 298f226cb4 cmExportCommand: Use cm::optional for keyword argument presence 0a4c5164c9 cmArgumentParser: Offer cm::optional bindings to capture keyword presence f3dbf4b89d cmArgumentParser: Remove unnecessary local names for common types 2873f41bd9 cmArgumentParser: Require callers to consider unparsed arguments 1ee5a4a548 cmArgumentParser: Avoid allocating copies of keyword strings ... Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !7450
| * | | | | cmFileCommand: Use cm::optional for keyword argument presenceBrad King2022-07-054-4/+12
| | | | | |
| * | | | | file(GENERATE): Add test case covering use of both INPUT and CONTENTBrad King2022-07-054-0/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We have long incorrectly accepted both of these together, and used only the first one. Add a test to preserve compatibility.
| * | | | | file(CONFIGURE): Add test cases covering missing mandatory optionsBrad King2022-07-057-0/+14
| | | | | |
* | | | | | Merge topic 'enable_language-deduplicate'Brad King2022-07-063-0/+26
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | e3c8012ccd Help: Document enable_language accepting multiple languages b4fd385c9b cmMakefile: Dedupe languages when enabling them 66bfe14309 cmMakefile: Refactor parameter and variable names for EnableLanguage Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !7426
| * | | | | | cmMakefile: Dedupe languages when enabling themfriendlyanon2022-06-303-0/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | cmMakefile::EnableLanguage() now deduplicates the languages argument and emits an author warning listing the languages that were defined multiple times in a single call. Fixes: #23596
* | | | | | | Merge topic 'genex-LINK_LIBRARY-fix-generation'Brad King2022-07-064-0/+12
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | e8792da04b genex-LINK_LIBRARY: ensure correct generation inside LINK_GROUP genex Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7443
| * | | | | | | genex-LINK_LIBRARY: ensure correct generation inside LINK_GROUP genexMarc Chevrier2022-07-054-0/+12
| | |_|/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This fix ensures the following pattern is correctly handled: $<LINK_GROUP:group_feat,$<LINK_LIBRARY:lib_feat,mylib>> With: CMAKE_LINK_GROUP_USING_group_feat = "—START_GROUP" "—END_GROUP" CMAKE_LINK_LIBRARY_USING_lib_feat = "—PREFIX" "—LINK <LIBRARY>" "—SUFFIX" Before the fix, we get the following generation: —START_GROUP —PREFIX —LINK /path/to/mylib —END_GROUP —SUFFIX —END_GROUP and —SUFFIX are in the wrong order After the fix, we get the correct order: —START_GROUP —PREFIX —LINK /path/to/mylib —SUFFIX —END_GROUP
* | | | | | | Merge topic 'vs-test-arm64'Brad King2022-07-062-3/+3
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 190e3b93cd Tests: Exclude win/arm64 tests with CMAKE_VS_PLATFORM_NAME Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7449
| * | | | | | | Tests: Exclude win/arm64 tests with CMAKE_VS_PLATFORM_NAMENiyas Sait2022-07-052-3/+3
| | |_|/ / / / | |/| | | | |
* | | | | | | Merge topic 'pkgconfig-when-spaces-in-path'Brad King2022-07-061-1/+24
|\ \ \ \ \ \ \ | |/ / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | bcdac84961 Tests/FindPkgConfig: correctly handle broken pkg-config Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !7435
| * | | | | | Tests/FindPkgConfig: correctly handle broken pkg-configmakise-homura2022-07-011-1/+24
| | |_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Older versions of pkg-config (e.g. 0.21 and 0.22) do not handle correctly spaces in paths specified in .pc files. It breaks RunCMake.FindPkgConfig test, if CMake is built inside path containing spaces. In this case, we check if we're inside such path, and if pkg-config is broken; and if both are true, test is to be skipped.
* | | | | | Merge topic 'nvhpc-Werror'Brad King2022-07-051-1/+1
|\ \ \ \ \ \ | | |_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | 35ec676ace NVHPC: warnings as error flag is "-Werror" Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7415
| * | | | | NVHPC: warnings as error flag is "-Werror"Robert Maynard2022-07-011-1/+1
| | |_|_|/ | |/| | |
* | | | | Merge topic 'add_nvcc_compile_warning_support'Brad King2022-07-0523-45/+87
|\ \ \ \ \ | |/ / / / | | / / / | |/ / / |/| | | | | | | | | | | | | | | cd324110d2 CUDA: NVCC support for COMPILE_WARNING_AS_ERROR target property 2e9ac1d272 Tests: Refactor warn on error tests to support multiple languages Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7417
| * | | CUDA: NVCC support for COMPILE_WARNING_AS_ERROR target propertyRobert Maynard2022-07-019-1/+18
| | | |
| * | | Tests: Refactor warn on error tests to support multiple languagesRobert Maynard2022-06-2916-44/+69
| | | |
* | | | Merge topic 'file-archive-args'Brad King2022-07-017-0/+34
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 7c83265e59 file(ARCHIVE*): Simplify acceptance of empty list arguments dfff470d15 file(ARCHIVE*): Add test for keyword arguments with missing values Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !7427
| * | | | file(ARCHIVE*): Add test for keyword arguments with missing valuesBrad King2022-06-297-0/+34
| | | | |
* | | | | Merge topic 'genex-TARGET_BUNDLE_DIR_NAME'Brad King2022-07-013-0/+37
|\ \ \ \ \ | | |_|/ / | |/| | / | |_|_|/ |/| | | | | | | | | | | 8bd98b8117 Genex: Fix TARGET_BUNDLE_DIR_NAME incorrect extension Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7428
| * | | Genex: Fix TARGET_BUNDLE_DIR_NAME incorrect extensionBen Leadbetter2022-07-013-0/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix the genex from commit 997af2e1a6 (Genex: Add TARGET_BUNDLE_DIR_NAME, 2022-04-14, v3.24.0-rc1~233^2) to use the correct bundle directory extension for each bundle type. Fixes: #23683
| * | | Merge topic 'file-set-crash' into release-3.24Brad King2022-06-307-0/+28
| |\ \ \ | | |_|/ | |/| | | | | | | | | | | | | | | | | | 3fee5398bd install(EXPORT): Check for missing file sets at generate time Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7420
| * | | Merge topic 'vs-compile-batching' into release-3.24Brad King2022-06-231-1/+1
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 9a0a94fdaa VS: Add variable to to turn off Visual Studio compile batching a7ebb73929 Help: Improve formatting in VS_NO_COMPILE_BATCHING docs Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !7405
* | \ \ \ Merge topic 'file-set-crash'Brad King2022-06-307-0/+28
|\ \ \ \ \ | | |_|/ / | |/| | / | |_|_|/ |/| | | | | | | | | | | 3fee5398bd install(EXPORT): Check for missing file sets at generate time Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7420
| * | | install(EXPORT): Check for missing file sets at generate timeKyle Edwards2022-06-297-0/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Missing file sets were originally checked at configure time in install(TARGETS ... EXPORT), but were not checked at generate time. If a file set was added after install(TARGETS ... EXPORT) was called, an abortion error was thrown. Check again at generate time to gracefully display an error message instead of crashing. Fixes: #23680
| * | | Merge topic 'ci-xcode-13.3' into release-3.23Brad King2022-04-261-0/+1
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 65b6daf776 gitlab-ci: update macOS jobs to use Xcode 13.3 94361a1309 Tests: Ignore all classes in Xcode internal objc warnings da9f864513 Tests: Teach RunCMake to ignore Xcode extension point warnings Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7204
* | \ \ \ Merge topic 'log_level_command'Brad King2022-06-299-0/+70
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 23bbac941a Add cmake_language(GET_MESSAGE_LOG_LEVEL) sub command 2b6ef864e0 Move LogLevel enum out of cmake.h header Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !7348