[cmake-developers] Experiments in CMake support for Clang (header & standard) modules

2018-10-15 Thread Whisperity
Dear List, (Unfortunately, I can't reply to the previous threads because I just got to know and subscribed to this list.) I have (from what it seems, also) created an implementation for C++ Modules TS support (in Clang specifically) for CMake. This is part of an ongoing research project of mine

Re: [cmake-developers] Experiments in CMake support for Clang (header & standard) modules

2018-08-30 Thread David Blaikie
On Fri, Aug 24, 2018 at 2:35 AM Stephen Kelly wrote: > > On 24/08/18 02:32, David Blaikie wrote: > > On Tue, Jul 24, 2018 at 3:20 PM Stephen Kelly wrote: > >> David Blaikie wrote: >> >> > (just CC'ing you Richard in case you want to read my ramblings/spot any >> > inaccuracies, etc) >> > >> >

Re: [cmake-developers] Experiments in CMake support for Clang (header & standard) modules

2018-08-24 Thread Stephen Kelly
On 24/08/18 02:32, David Blaikie wrote: On Tue, Jul 24, 2018 at 3:20 PM Stephen Kelly > wrote: David Blaikie wrote: > (just CC'ing you Richard in case you want to read my ramblings/spot any > inaccuracies, etc) > > Excuse the delay - coming

Re: [cmake-developers] Experiments in CMake support for Clang (header & standard) modules

2018-08-23 Thread David Blaikie
On Tue, Jul 24, 2018 at 3:20 PM Stephen Kelly wrote: > David Blaikie wrote: > > > (just CC'ing you Richard in case you want to read my ramblings/spot any > > inaccuracies, etc) > > > > Excuse the delay - coming back to this a bit now. Though the varying > > opinions on what modules will take to

Re: [cmake-developers] Experiments in CMake support for Clang (header & standard) modules

2018-08-07 Thread David Blaikie
On Mon, Aug 6, 2018 at 2:37 PM Stephen Kelly wrote: > Stephen Kelly wrote: > >> The build.sh script shows the commands required to build it (though I > >> haven't checked the exact fmodule-file dependencies to check that > they're > >> all necessary, etc) - and with current Clang top-of-tree it

Re: [cmake-developers] Experiments in CMake support for Clang (header & standard) modules

2018-08-06 Thread Stephen Kelly
Stephen Kelly wrote: >> The build.sh script shows the commands required to build it (though I >> haven't checked the exact fmodule-file dependencies to check that they're >> all necessary, etc) - and with current Clang top-of-tree it does build >> and run the example dinnerparty program. > > Ok.

Re: [cmake-developers] Experiments in CMake support for Clang (header & standard) modules

2018-07-24 Thread Stephen Kelly
David Blaikie wrote: > (just CC'ing you Richard in case you want to read my ramblings/spot any > inaccuracies, etc) > > Excuse the delay - coming back to this a bit now. Though the varying > opinions on what modules will take to integrate with build system still > weighs on me a bit Can you

Re: [cmake-developers] Experiments in CMake support for Clang (header & standard) modules

2018-07-19 Thread David Blaikie
(just CC'ing you Richard in case you want to read my ramblings/spot any inaccuracies, etc) Excuse the delay - coming back to this a bit now. Though the varying opinions on what modules will take to integrate with build system still weighs on me a bit - but I'm trying to find small ways/concrete

Re: [cmake-developers] Experiments in CMake support for Clang (header & standard) modules

2018-05-15 Thread Brad King
On 05/15/2018 03:22 AM, Stephen Kelly wrote: > So, the answer for cmake might be that CMake can learn to extract that > stuff, but ignore certain cases like imports within ifdefs. We'd need to do the extraction from already-preprocessed sources. This is how Fortran+Ninja+CMake works.

Re: [cmake-developers] Experiments in CMake support for Clang (header & standard) modules

2018-05-15 Thread Stephen Kelly
David Blaikie wrote: >> Nope, scratch that ^ I had thought that was the case, but talking more >> with Richard Smith it seems there's an expectation that modules will be >> somewhere between header and library granularity (obviously some small >> libraries today have one or only a few headers,

Re: [cmake-developers] Experiments in CMake support for Clang (header & standard) modules

2018-05-15 Thread Stephen Kelly
Brad King wrote: > On 05/07/2018 12:01 PM, Stephen Kelly wrote: >> Hopefully Brad or someone else can provide other input from research >> already done. > > I'm not particularly familiar with what compiler writers or the modules > standard specification expects build systems to do w.r.t modules.

Re: [cmake-developers] Experiments in CMake support for Clang (header & standard) modules

2018-05-09 Thread David Blaikie
On Mon, May 7, 2018 at 10:13 AM Brad King wrote: > On 05/07/2018 12:01 PM, Stephen Kelly wrote: > > Hopefully Brad or someone else can provide other input from research > already done. > > I'm not particularly familiar with what compiler writers or the modules > standard

Re: [cmake-developers] Experiments in CMake support for Clang (header & standard) modules

2018-05-09 Thread David Blaikie
Forwarding to the developers list, since my original reply bounced as I wasn't subscribed to the list yet. -- Forwarded message - From: David Blaikie Date: Wed, May 9, 2018 at 3:23 PM Subject: Re: Experiments in CMake support for Clang (header & standard)

Re: [cmake-developers] Experiments in CMake support for Clang (header & standard) modules

2018-05-07 Thread Brad King
On 05/07/2018 12:01 PM, Stephen Kelly wrote: > Hopefully Brad or someone else can provide other input from research already > done. I'm not particularly familiar with what compiler writers or the modules standard specification expects build systems to do w.r.t modules. However, IIUC at least at

Re: [cmake-developers] Experiments in CMake support for Clang (header & standard) modules

2018-05-07 Thread Stephen Kelly
I think this discussion is more suited to the cmake-developers mailing list. Moving there. Hopefully Brad or someone else can provide other input from research already done. On 05/07/2018 12:49 AM, David Blaikie wrote: > >> The basic commands required are: >> >>   clang++ -fmodules -xc++