Mercurial > projects > dstep
comparison dsss.conf @ 23:420969b22201
Removed an import to a private library. Added support for building as a dynamic library and framework
author | Jacob Carlborg <doob@me.com> |
---|---|
date | Wed, 10 Feb 2010 17:29:12 +0100 |
parents | f8a3b67adfcb |
children | b9de51448c6b |
comparison
equal
deleted
inserted
replaced
22:f8a3b67adfcb | 23:420969b22201 |
---|---|
1 [dstep] | 1 [main.d] |
2 #target=cocoa-d-test | 2 target=cocoa-d-test |
3 | |
4 | 3 |
5 version (GNU){ | 4 version (GNU){ |
6 buildflags += -framework Foundation -framework ApplicationServices -framework CoreFoundation -framework CoreServices -framework DiskArbitration -framework Security -framework QuartzCore -framework QTKit -framework AppKit -framework CoreData | 5 buildflags += -framework Foundation -framework ApplicationServices -framework CoreFoundation -framework CoreServices -framework DiskArbitration -framework Security -framework QuartzCore -framework QTKit -framework AppKit -framework CoreData |
6 | |
7 version (dylib) { | |
8 postbuild = cd dsss_objs/G ; \ | |
9 gcc *.o -dynamiclib -o ../../libDG-dstep.dylib | |
10 | |
11 version (Tango) { | |
12 postbuild += -lgtango | |
13 } | |
14 | |
15 postbuild += -lgphobos -lgcc_eh -install_name ../Frameworks -framework Foundation -framework ApplicationServices -framework CoreFoundation -framework CoreServices -framework DiskArbitration -framework Security -framework QuartzCore -framework QTKit -framework AppKit -framework CoreData | |
16 } | |
17 | |
18 version (framework) { | |
19 postbuild = cd dsss_objs/G ; \ | |
20 gcc *.o -dynamiclib -lgphobos -lgcc_eh | |
21 | |
22 version (Tango) { | |
23 postbuild += -lgtango | |
24 } | |
25 | |
26 postbuild += -install_name ../Frameworks -o ../../DStep.framework/Versions/Current/DStep -framework Cocoa -framework QTKit -framework QuartzCore -framework Security -framework DiskArbitration -framework CoreServices -framework CoreFoundation -framework ApplicationServices; | |
27 postbuild += cd ../../; | |
28 postbuild += cp -R dstep DStep.framework/Headers/ | |
29 } | |
7 } | 30 } |
8 | 31 |
9 version (LDC) { | 32 version (LDC) { |
10 buildflags += -L-framework -LFoundation -L-framework -LApplicationServices -L-framework -LCoreFoundation -L-framework -LCoreServices -L-framework -LDiskArbitration -L-framework -LSecurity -L-framework -LQuartzCore -L-framework -LQTKit -L-framework -LAppKit -L-framework -LCoreData | 33 buildflags += -L-framework -LFoundation -L-framework -LApplicationServices -L-framework -LCoreFoundation -L-framework -LCoreServices -L-framework -LDiskArbitration -L-framework -LSecurity -L-framework -LQuartzCore -L-framework -LQTKit -L-framework -LAppKit -L-framework -LCoreData |
11 } | 34 } |