summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/CXXModules/examples/export-usage-build
Commit message (Collapse)AuthorAgeFilesLines
* cmExportFileGenerator: export link libraries as-isBen Boeckel2024-02-201-1/+1
| | | | | | | This allows for transitive modules to work because `$<COMPILE_ONLY>`-wrapped dependencies do not end up in the `linked-target-dirs` collator property. Test suite exported property tests updated to account for the change.
* 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.
* Tests/RunCMake/CXXModules: add tests which use modules from imported targetsBen Boeckel2023-08-171-0/+2
|
* cmExportFileGenerator: export private compile info for C++ modulesBen Boeckel2023-08-175-0/+199
When consuming exported targets which contain C++ modules, the consuming project must be able to recompile BMI files using the original target's flags. This is because a module source may use some private target usage requirement but not want to propagate it to consumers. To facilitate this, export the private information as necessary for consumers to be able to perform the BMI compilations.