DSSS: More than one build per project
Urban Hafner
urban at bettong.net
Sun May 27 07:57:48 PDT 2007
In article <f3a2bk$1rvc$1 at digitalmars.com>,
Gregor Richards <Richards at codu.org> wrote:
> This isn't really how DSSS is designed to work. dsss.conf effectively
> describes the flags/etc of your project at release time. To build a
> version with unit testing, debug info, coverage, etc, you should just
> pass those flags to dsss build, e.g.:
>
> dsss build -full -unittest -g -cov
>
> If you really want to force DSSS to do this, I'd create a dummy section,
> either as an extra section:
>
> [+housebot_cov]
> prebuild=rebuild housebot.d -ofhousebot_cov -unittest -g -cov
>
> Or as a dummy file named something like housebot_cov.d which contains
> only a module declaration and import of housebot.d:
>
> [housebot_cov.d]
> buildflags=-whatever -cov
Thanks. I'll have a look what I can come up with.
Urban
More information about the Digitalmars-d
mailing list