Report a bug
If you spot a problem with this page, click here to create a Bugzilla issue.
Improve this page
Quickly fork, edit online, and submit a pull request for this page.
Requires a signed-in GitHub account. This works well for small changes.
If you'd like to make larger changes you may want to consider using
a local clone.
Visual C/C++ Project Integration
With Visual D 0.44 integration with Visual C/C++ projects has been added. This means that you can just add your D files into any C/C++ project and it will be compiled and linked with everything else in the project.
The project properties will be extended by a "D Compiler" section:
The General Page allows to select between DMD and LDC as the D compiler to be used by the current configuration.
A couple of things to note:
- Only COFF files are generated, there is no support for OMF files that DMD generates for Win32 by default.
- Selecting the C runtime library is supported starting with DMD 2.073
- The D project templates include a console application template based on a VC project, but just containing a D file.
Copyright © 1999-2022 by the D Language Foundation | Page generated by
Ddoc on Sun Oct 9 17:55:15 2022