News:

When registered with our forums, feel free to send a "here I am" post here to differ human beings from SPAM bots.

Main Menu

Using Code::Blocks with D

Started by Sasszem, August 10, 2016, 06:56:18 PM

Previous topic - Next topic

Sasszem

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?

MortenMacFly

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.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: [url="https://www.codeblocks.org/docs/main_codeblocks_en.html"]https://www.codeblocks.org/docs/main_codeblocks_en.html[/url]
C::B FAQ: [url="https://wiki.codeblocks.org/index.php?title=FAQ"]https://wiki.codeblocks.org/index.php?title=FAQ[/url]

stahta01

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.
C Programmer working to learn more about C++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. [url="http://wiki.codeblocks.org"]http://wiki.codeblocks.org[/url]