Re: WildCAD - a simple 2D drawing application

2023-01-29 Thread Siarhei Siamashka via Digitalmars-d-announce
On Monday, 30 January 2023 at 02:44:50 UTC, bachmeier wrote: if you put your code in directories that match the modules you want to import, there's no need for Dub and the corresponding poorly documented configuration. What is poorly documented? Can you suggest some documentation

Re: WildCAD - a simple 2D drawing application

2023-01-29 Thread bachmeier via Digitalmars-d-announce
On Sunday, 29 January 2023 at 15:01:40 UTC, Adam D Ruppe wrote: dub fights D compilers. This is why it forces me to write 600 lines of ugly configuration file for something that just works in dmd. I don't want to get sucked into another discussion of the pros and cons of Dub, but yeah, if

Re: WildCAD - a simple 2D drawing application

2023-01-29 Thread Adam D Ruppe via Digitalmars-d-announce
On Sunday, 29 January 2023 at 17:14:40 UTC, Johann Lermer wrote: right - but isn't one of make's features, that it compiles code only when the source changes? When you just compile the whole thing at once, I would expect that you get longer times than when you change just one source file and

Re: WildCAD - a simple 2D drawing application

2023-01-29 Thread Johann Lermer via Digitalmars-d-announce
On Sunday, 29 January 2023 at 15:01:40 UTC, Adam D Ruppe wrote: Fully operational executable created in under 3 seconds. right - but isn't one of make's features, that it compiles code only when the source changes? When you just compile the whole thing at once, I would expect that you get

Re: WildCAD - a simple 2D drawing application

2023-01-29 Thread Johann Lermer via Digitalmars-d-announce
On Sunday, 29 January 2023 at 13:55:41 UTC, Richard (Rikki) Andrew Cattermole wrote: You're fundamentally doing something that D compilers are not designed to handle. The problem is with -I flag. Being able to set a directory to look modules up in. I admit that's something I never fully

Re: WildCAD - a simple 2D drawing application

2023-01-29 Thread Adam D Ruppe via Digitalmars-d-announce
On Sunday, 29 January 2023 at 13:55:41 UTC, Richard (Rikki) Andrew Cattermole wrote: dub isn't the issue, people who fight it like this, fight the D compilers and end up having issues. dub fights D compilers. This is why it forces me to write 600 lines of ugly configuration file for something

Re: WildCAD - a simple 2D drawing application

2023-01-29 Thread Richard (Rikki) Andrew Cattermole via Digitalmars-d-announce
dub isn't the issue, people who fight it like this, fight the D compilers and end up having issues. You're fundamentally doing something that D compilers are not designed to handle. The problem is with -I flag. Being able to set a directory to look modules up in. Problem is it needs to

Re: WildCAD - a simple 2D drawing application

2023-01-29 Thread Johann Lermer via Digitalmars-d-announce
On Thursday, 26 January 2023 at 14:48:17 UTC, Ferhat Kurtulmuş wrote: I will give it a try, but I wish it would use dub as a build system. Well, I tried dub and wasn't convinced - maybe due to a lack of documentation but I couldn't get it running the way I wanted (that is, with my directory