[Issue 12723] Support compiling C/C++ files in D projects

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Fri May 16 22:25:01 PDT 2014


https://issues.dlang.org/show_bug.cgi?id=12723

--- Comment #2 from Manu <turkeyman at gmail.com> ---
Custom build tool is really awkward when build dependencies and linkage are all
required steps.

I'm not saying it's an urgent feature, but I feel it would be pretty valuable,
since I don't think it's uncommon by any means, and would probably allow a lot
of people a lot less friction to get their project running.

Most Visual Studio users have no idea how to execute a compiler via the command
line (and consequently hook it all up via a custom build tool). I mean, that
kinda the point of VS integration.

I think it'd only need a couple of the most important options, and for GDC/LDC
builds, a lot of the options are shared (optimisation, debuginfo, linker, etc).


On a separate note, I was looking at the builtin MSBuild scripts for C/C++, and
it occurred to me that it might be possible to hack D support into the official
vcxproj stuff. Did you ever look into that?
I expect that approach would have no way to hook special code for autocomplete
and stuff though right? (I have no idea about the VS extensibility API)

--


More information about the Digitalmars-d-bugs mailing list