is it posible to compile individual module separately?

Paul Backus snarwin at gmail.com
Tue Feb 16 18:54:08 UTC 2021


On Tuesday, 16 February 2021 at 17:49:42 UTC, Anonymouse wrote:
> On Tuesday, 16 February 2021 at 17:26:06 UTC, Paul Backus wrote:
>> On Tuesday, 16 February 2021 at 17:15:25 UTC, Anonymouse wrote:
>>> You can also use dub build --build-mode=singleFile, and it 
>>> will compile one file at a time. It'll be slow but slow is 
>>> better than OOM.
>>
>> singleFile is for single-file packages [1]. The option you're 
>> thinking of is --build-mode=separate.
>>
>> [1] https://dub.pm/advanced_usage.html#single-file
>
> No, I do mean singleFile.
>
> $ dub build --build-mode=singleFile --force
> [...]

I stand corrected. Shouldn't have trusted the documentation so 
much, I guess.


More information about the Digitalmars-d-learn mailing list