CMake support for D

King_DuckZ via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Mon Jan 16 03:40:03 PST 2017


On Sunday, 3 January 2016 at 17:30:15 UTC, Dibyendu Majumdar 
wrote:
> Does CMake recognise D in the enable_language command?
>
> If not is there a workaround?
>
> Thanks and Regards
> Dibyendu

One year later, is there any progress on this? Now that gdc has 
gained support for .so (it seems), lack of cmake support is the 
only thing that is preventing me from adopting D. I agree that 
cmake is not the prettiest thing out there, but I think there are 
many good reasons for wanting it:

1) As already said, it's needed for CLion
2) Many programmers, including myself, are already familiar with 
its syntax - pretty or not, learning a new tool is extra work
3) As far as I know, you can't mix C++ and D with dub
4) I could just drop D code in my pre-existing C++ projects 
without much effort on the build system

I hope to hear some promising news on this side!


More information about the Digitalmars-d-learn mailing list