summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/CXXModules/NoCXX-stderr.txt
Commit message (Collapse)AuthorAgeFilesLines
* cxxmodules: Add more suggestions to no-modules-support diagnosticsBrad King2023-11-281-2/+9
| | | | | | Tell users what generators *do* support C++ modules. Report the current generator to make clear it is not one of those supporting modules. Also clarify the purpose of the existing documentation references.
* cxxmodules: Reference documentation in no-modules-support diagnosticsBrad King2023-10-111-4/+5
| | | | | | Help users avoid errors about module support when they may not need it. While at it, polish sentence syntax in the diagnostic messages.
* Tests: Enforce RunCMake.CXXModules no-modules-support diagnostics strictlyBrad King2023-10-111-6/+7
| | | | | Previously the expected output expressions used `(...)*` which did not actually have to match anything.
* cxxmodules: rework control logic for scanning regular C++ sourcesBen Boeckel2023-10-021-9/+4
| | | | | | | | | | | Now that scanning support is no longer experimental, the logic for whether or not to scan C++ 20 sources is now important because all projects are now exposted to the logic. Make the scanning rules explicit in the documentation and rework the queries to localize all of the associated logic. A policy to handle the ultimate fallback logic will be implemented in a following commit.
* cmExperimental: remove the flag for C++ modulesBen Boeckel2023-10-021-7/+0
| | | | | | | All the major compilers now have scheduled releases with support for scanning, so remove the experimental gate. Fixes: #18355
* Tests/CXXModules: relax line number matching in stderrBen Boeckel2023-09-261-2/+2
|
* Merge branch 'cxxmodules-non-compiled-source-release' into ↵Ben Boeckel2023-09-121-0/+5
|\ | | | | | | | | | | | | cxxmodules-non-compiled-source * cxxmodules-non-compiled-source-release: cxxmodules: detect and message about non-compiled sources
| * cxxmodules: detect and message about non-compiled sourcesBen Boeckel2023-09-121-0/+5
| | | | | | | | | | | | | | | | Previously an internal error was raised which ended up causing an internal exception to be thrown. This is a typo situation that should fall into an explicit error. Fixes: #25207
* | cxxmodules: improve error messages for C++ module setupBen Boeckel2023-08-231-6/+6
|/ | | | | | | Make it clear that: - the quoted string is a target name; and - C++ sources that export modules is the important detail.
* cmTarget: add support for C++ module fileset typesBen Boeckel2022-06-161-0/+20
C++ modules have two variants which are of importance to CMake: - `CXX_MODULES`: interface modules (those using `export module M;`, `export module M:part;`, or `module M:internal_part;`) - `CXX_MODULE_HEADER_UNITS`: importable header units Creating C++ modules or partitions are *not* supported in any other source listing. This is because the source files must be installed (so their scope matters), but not part of usage requirements (what it means for a module source to be injected into a consumer is not clear at this moment). Due to the way `FILE_SET` works with scopes, they are a perfect fit as long as `INTERFACE` is not allowed (which it is not).