January 10, 2021
On Sunday, 10 January 2021 at 12:09:08 UTC, kinke wrote:
> You'll probably have to re-run CMake to have the ninja scripts updated, removing the vanished source file.

Yes, I did, and that worked, of course.

> I guess that's the price to pay for globbing the source files. - Without a dirty source tree, i.e., when git-committing the changes before a build, ninja re-runs CMake automatically.

Hm, I guess I should read a tutorial on Ninja...

A side note, is there any reason for building "mars.d"? LDC has its own main. Was a bit confusing... :-)

January 10, 2021
On Sunday, 10 January 2021 at 12:30:23 UTC, Ola Fosheim Grøstad wrote:
> A side note, is there any reason for building "mars.d"? LDC has its own main. Was a bit confusing... :-)

Heh - LDC has its own C main, a D main and a manual cppmain; the main program flow is shared with DMD however, so parts of mars.d and DMD's main() are re-used.
January 11, 2021
On Sunday, 10 January 2021 at 12:47:37 UTC, kinke wrote:
> On Sunday, 10 January 2021 at 12:30:23 UTC, Ola Fosheim Grøstad wrote:
>> A side note, is there any reason for building "mars.d"? LDC has its own main. Was a bit confusing... :-)
>
> Heh - LDC has its own C main, a D main and a manual cppmain; the main program flow is shared with DMD however, so parts of mars.d and DMD's main() are re-used.

Hm... I will consider merging this into one... or are there good reasons for keeping this fragmented structure?

1 2
Next ›   Last »