* Generate list of module dependencies
@ 2023-05-03 4:52 Wilhelm Meier
2023-05-04 12:29 ` Jonathan Wakely
0 siblings, 1 reply; 2+ messages in thread
From: Wilhelm Meier @ 2023-05-03 4:52 UTC (permalink / raw)
To: gcc-help
Hi all,
how do I generate a list of imported modules?
I tried
/usr/local/bin/g++ -c -MMD -std=c++23 -fconcepts -fmodules-ts test400.cc
But this errors if for the imported modules no gcm files exist. So this
doesn't help because I need this list of modules the file test400.cc
imports because I want to generate the gcm files as needed.
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Generate list of module dependencies
2023-05-03 4:52 Generate list of module dependencies Wilhelm Meier
@ 2023-05-04 12:29 ` Jonathan Wakely
0 siblings, 0 replies; 2+ messages in thread
From: Jonathan Wakely @ 2023-05-04 12:29 UTC (permalink / raw)
To: Wilhelm Meier; +Cc: gcc-help
On Wed, 3 May 2023 at 05:53, Wilhelm Meier <wilhelm.meier@hs-kl.de> wrote:
>
> Hi all,
>
> how do I generate a list of imported modules?
>
> I tried
>
> /usr/local/bin/g++ -c -MMD -std=c++23 -fconcepts -fmodules-ts test400.cc
>
> But this errors if for the imported modules no gcm files exist. So this
> doesn't help because I need this list of modules the file test400.cc
> imports because I want to generate the gcm files as needed.
There is currently no automatic way to do that. Build system support
for C++ modules is still evolving.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-05-04 12:29 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-05-03 4:52 Generate list of module dependencies Wilhelm Meier
2023-05-04 12:29 ` Jonathan Wakely
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).