Mercurial > projects > dstep
comparison dsss.conf @ 25:b9de51448c6b
Added an id constructor. Changed the string mixin to a template mixin. Added support for building as a dynamic library
author | Jacob Carlborg <doob@me.com> |
---|---|
date | Tue, 06 Apr 2010 11:37:27 +0200 |
parents | 420969b22201 |
children | 57371c29ef73 |
comparison
equal
deleted
inserted
replaced
24:ab33fc0c3fc1 | 25:b9de51448c6b |
---|---|
1 [main.d] | 1 [dstep] |
2 target=cocoa-d-test | 2 #target = cocoa-d-test |
3 | 3 |
4 version (GNU){ | 4 version (GNU){ |
5 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 | 6 |
7 version (dylib) { | 7 version (dylib) { |
8 postbuild = cd dsss_objs/G ; \ | 8 postbuild = cd dsss_objs/G ; \ |
9 gcc *.o -dynamiclib -o ../../libDG-dstep.dylib | 9 gcc *.o -dynamiclib -o libDG-dstep.dylib |
10 | 10 |
11 version (Tango) { | 11 version (Tango) { |
12 postbuild += -lgtango | 12 postbuild += -lgtango |
13 } | 13 } |
14 | 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 | 15 postbuild += -lgphobos -lgcc_eh -framework Foundation -framework ApplicationServices -framework CoreFoundation -framework CoreServices -framework DiskArbitration -framework Security -framework QuartzCore -framework QTKit -framework AppKit -framework CoreData; |
16 postbuild += mv libDG-dstep.dylib ../../; | |
16 } | 17 } |
17 | 18 |
18 version (framework) { | 19 version (framework) { |
19 postbuild = cd dsss_objs/G ; \ | 20 postbuild = cd dsss_objs/G ; \ |
20 gcc *.o -dynamiclib -lgphobos -lgcc_eh | 21 gcc *.o -dynamiclib -lgphobos -lgcc_eh |
21 | 22 |
22 version (Tango) { | 23 version (Tango) { |
23 postbuild += -lgtango | 24 postbuild += -lgtango |
24 } | 25 } |
25 | 26 |
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 += -o ../../DStep.framework/Versions/Current/DStep -install_name @loader_path/../Frameworks/DStep.framework/Versions/A/DStep -framework Cocoa -framework QTKit -framework QuartzCore -framework Security -framework DiskArbitration -framework CoreServices -framework CoreFoundation -framework ApplicationServices; |
27 postbuild += cd ../../; | 28 postbuild += cd ../../; |
28 postbuild += cp -R dstep DStep.framework/Headers/ | 29 postbuild += cp -R dstep DStep.framework/Headers/; |
29 } | 30 } |
30 } | 31 } |
31 | 32 |
32 version (LDC) { | 33 version (LDC) { |
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 | 34 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 |
34 } | 35 } |
35 | 36 |
36 version (DigitalMars) { | 37 version (DigitalMars) { |
37 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 | 38 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 |
39 | |
40 version (dylib) { | |
41 postbuild = cd dsss_objs/D ; \ | |
42 gcc -framework Foundation -framework ApplicationServices -framework CoreFoundation -framework CoreServices -framework DiskArbitration -framework Security -framework QuartzCore -framework QTKit -framework AppKit -framework CoreData \ | |
43 -dynamiclib *.o /usr/local/dmd/lib/libtango.dylib -o ../../libDD-dstep.dylib -install_name ~/d/lib/libDD-dstep.dylib | |
44 } | |
38 } | 45 } |
39 | 46 |
40 #-L-dead_strip -L-x -L-S | 47 #-L-dead_strip -L-x -L-S |