dchip is a D2 port of the Chipmunk2D physics library for 2D games

Sönke Ludwig sludwig at outerproduct.org
Tue Nov 12 08:02:04 PST 2013


Am 12.11.2013 16:55, schrieb Dicebot:
> On Tuesday, 12 November 2013 at 15:39:27 UTC, Andrej Mitrovic wrote:
>> Btw, how did you make dub use a -version flag anyway? I can't figure
>> it out from the docs. I suppose it's something like:
>>
>> dub --build=release --version=?
>>
>> But I see that --version means something else in dub.
> 
> It is done via package.json modification, for whole project or some
> specific configurations : code.dlang.org/package-format
> 
> Also: "Note that setting the DFLAGS environment variable will override
> the build type with custom flags." (c) dub

Beat me to it... again ;)

Correction of my previous reply:

	DFLAGS="-release -O -inline -version=CHIP_USE_DOUBLES" dub


More information about the Digitalmars-d-announce mailing list