summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/CXXModules/examples/export-interface-install
Commit message (Collapse)AuthorAgeFilesLines
* cxxmodules: scan C++ sources for imports by defaultBen Boeckel2023-10-022-2/+2
| | | | | Existing projects are not using C++ modules in their sources, so introduce policy CMP0155 to enable scanning by default.
* cmExperimental: remove the flag for C++ modulesBen Boeckel2023-10-021-2/+0
| | | | | | | All the major compilers now have scheduled releases with support for scanning, so remove the experimental gate. Fixes: #18355
* cmExperimental: recycle the C++ modules API UUIDBen Boeckel2023-08-171-1/+1
| | | | Supporting modules on IMPORTED targets is worth an update.
* cmExperimental: recycle the C++ modules API UUIDBen Boeckel2023-07-311-1/+1
| | | | `try_compile` and `try_run` now support C++ modules.
* cmExperimental: refresh the C++ modules UUIDBen Boeckel2023-07-131-1/+1
| | | | | The transitive support for Clang is a change in support for the ecosystem.
* cxxmodules: update the experimental UUIDBen Boeckel2023-05-311-1/+1
| | | | | Syntactic support for C++ header units has been removed, so a new UUID is warranted.
* cxxmodules: Fix exported path to installed module sources in subdirsTyler2023-05-233-1/+11
| | | | | | | | When generating the `IMPORTED_CXX_MODULES_[CONFIG]` target property, there was a missing path separator after a non-empty relative directory part of the path to a module source file. Co-authored-by: Brad King <brad.king@kitware.com>
* cxxmodules: Do not expect collator install scripts with no CXX_MODULESTyler2023-05-232-1/+6
| | | | | | | | | | | | Calling `install(EXPORT)` with the `CXX_MODULES_DIRECTORY` parameter leads to installation rules being generated which `include()` CMake scripts that set the `IMPORTED_CXX_MODULES_[CONFIG]` target property for relevant targets. However, these scripts don't get generated for targets in an export set which don't have any C++20 modules. When the installation rules attempt to `include()` the missing scripts, the install fails. Co-authored-by: Brad King <brad.king@kitware.com>
* Tests: Improve RunCMake.CXXModules expectation matching and error reportingBrad King2023-05-231-5/+15
|
* Tests/RunCMake/CXXModules: declare `forwarding` as `extern "C++"`Ben Boeckel2023-02-031-0/+2
| | | | It is not part of any module, so it needs to be declared as such.
* Tests/RunCMake/CXXModules: add tests which don't export C++ module propertiesBen Boeckel2023-01-272-7/+9
| | | | | | | The existing `export-interfaces-{build,install}` tests were actually doing this, but make those test exporting the interfaces and copy the existing tests to tests which explicitly test the "no properties" condition.
* cxxmodules: support new round of Clang patchesBen Boeckel2022-12-151-1/+1
| | | | | | | | | | These patches now support the `-MF` output, so remove the `none` support added just for the old patchset which did not use it. Also update the flag name to `-fmodule-output=`. Due to the new Clang module mapper flag, use a new experimental support UUID as well.
* cmExperimental: recycle C++20 module support UUIDBen Boeckel2022-12-011-1/+1
| | | | Visual Studio support warrants a new ID.
* RunCMake/CXXModules: add tests which export BMIsBen Boeckel2022-07-065-0/+108