Google Summer of Code
Regan Heath
regan at netmail.co.nz
Mon Mar 7 09:33:11 PST 2011
On Mon, 07 Mar 2011 16:45:52 -0000, Jonathan M Davis <jmdavisProg at gmx.com>
wrote:
> Andrei decided that it was not reasonable to require that -D _have_ to
> be done
> in a separate build for your average program, so druntime and Phobos
> will be
> switching to using version(StdDoc) to version the documentation (using -
> version=StdDoc as part of the build target which builds the docs for the
> std
> libs), and that will be in by the next release. However, in the interim
> (and
> permanently for any code which uses version(D_Ddoc)), you'll likely need
> to do -
> D in a separate build if you want your code to work correctly.
>
> How that relates to visual D, I have no idea. I've never used it.
As it turns out Visual D doesn't seem to allow me to define a custom build
rule per-file. It appears I can only define a rule per-project. So, I
created a script which iterated my source and called dmd -D -o- -c on each
:)
--
Using Opera's revolutionary email client: http://www.opera.com/mail/
More information about the Digitalmars-d
mailing list