Mercurial > projects > dstep
comparison dsss.conf @ 27:57371c29ef73 default tip
ObjcWrap is now automatically mixed in. Added support for building as a dylib with DMD.
author | Jacob Carlborg <doob@me.com> |
---|---|
date | Fri, 09 Apr 2010 23:00:22 +0200 |
parents | b9de51448c6b |
children |
comparison
equal
deleted
inserted
replaced
26:6825fcc47e39 | 27:57371c29ef73 |
---|---|
1 [dstep] | 1 [dstep] |
2 #target = cocoa-d-test | |
3 | 2 |
4 version (GNU){ | 3 version (GNU){ |
5 buildflags += -framework Foundation -framework ApplicationServices -framework CoreFoundation -framework CoreServices -framework DiskArbitration -framework Security -framework QuartzCore -framework QTKit -framework AppKit -framework CoreData | 4 buildflags += -framework Foundation -framework ApplicationServices -framework CoreFoundation -framework CoreServices -framework DiskArbitration -framework Security -framework QuartzCore -framework QTKit -framework AppKit -framework CoreData |
6 | 5 |
7 version (dylib) { | 6 version (dylib) { |
22 | 21 |
23 version (Tango) { | 22 version (Tango) { |
24 postbuild += -lgtango | 23 postbuild += -lgtango |
25 } | 24 } |
26 | 25 |
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; | 26 postbuild += -o ../../DStep.framework/Versions/Current/DStep -install_name @rpath/DStep.framework/Versions/A/DStep -framework Cocoa -framework QTKit -framework QuartzCore -framework Security -framework DiskArbitration -framework CoreServices -framework CoreFoundation -framework ApplicationServices; |
28 postbuild += cd ../../; | 27 postbuild += cd ../../; |
29 postbuild += cp -R dstep DStep.framework/Headers/; | 28 postbuild += cp -R dstep DStep.framework/Headers/; |
30 } | 29 } |
31 } | 30 } |
32 | 31 |
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 | 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 |
35 } | 34 } |
36 | 35 |
37 version (DigitalMars) { | 36 version (DigitalMars) { |
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 | 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 pathToStdLib = /usr/local/dmd/lib/libtango.a | |
39 | 39 |
40 version (dylib) { | 40 version (dylib) { |
41 postbuild = cd dsss_objs/D ; \ | 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 \ | 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 | 43 -dynamiclib *.o -o ../../libDD-dstep.dylib -install_name @rpath/libDD-dstep.dylib /usr/local/dmd/lib/libtango-s.a |
44 } | |
45 | |
46 version (framework) { | |
47 postbuild = cd dsss_objs/D ; \ | |
48 gcc *.o -dynamiclib $pathToStdLib | |
49 | |
50 postbuild += -o ../../DStep.framework/Versions/Current/DStep -L-install_name -L@rpath/DStep.framework/Versions/A/DStep -framework Foundation -framework ApplicationServices -framework CoreFoundation -framework CoreServices -framework DiskArbitration -framework Security -framework QuartzCore -framework QTKit -framework AppKit -framework CoreData; | |
51 postbuild += cd ../../; | |
52 postbuild += cp -R dstep DStep.framework/Headers/; | |
44 } | 53 } |
45 } | 54 } |
46 | 55 |
47 #-L-dead_strip -L-x -L-S | 56 #-L-dead_strip -L-x -L-S |