Re: Generate list of module dependencies

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 3 May 2023 at 05:53, Wilhelm Meier <wilhelm.meier@xxxxxxxx> 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.



[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux