Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: Sasszem on August 10, 2016, 06:56:18 pm

Title: Using Code::Blocks with D
Post by: Sasszem on August 10, 2016, 06:56:18 pm
I've just started using Code::Blocks with tha D language, and I'm having a problem.
I want to let Code::Blocks use DUB to build my projects, becouse that's the standard way of doing that, but Code::Blocks uses DMD as a compiler.
I know that it's a simple problem, but I'm new. How can I do that?
Title: Re: Using Code::Blocks with D
Post by: MortenMacFly on August 10, 2016, 08:08:41 pm
Support fir the D compiler was contributed to C::B. I'm afraid none of us (devs) uses D these days. I personally don't even know what "DUB" is. If its just a different name for the compiler that you can adopt the compiler setup to support that. Compilers can be added or modified quite easily and to quite some extend. If DUB is a D build system with magic foo in it it won't be that easy and my require to adopt the plugin behind the compiler.
Title: Re: Using Code::Blocks with D
Post by: stahta01 on August 10, 2016, 11:17:12 pm
Dub is a build tool from what the Internet says.

I would suggest using an Custom Makefile project instead of a normal project.

Tim S.