Mercurial > projects > dstep
annotate 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 |
rev | line source |
---|---|
25
b9de51448c6b
Added an id constructor. Changed the string mixin to a template mixin. Added support for building as a dynamic library
Jacob Carlborg <doob@me.com>
parents:
23
diff
changeset
|
1 [dstep] |
b9de51448c6b
Added an id constructor. Changed the string mixin to a template mixin. Added support for building as a dynamic library
Jacob Carlborg <doob@me.com>
parents:
23
diff
changeset
|
2 #target = cocoa-d-test |
22 | 3 |
16
19885b43130e
Huge update, the bridge actually works now
Jacob Carlborg <doob@me.com>
parents:
11
diff
changeset
|
4 version (GNU){ |
23
420969b22201
Removed an import to a private library. Added support for building as a dynamic library and framework
Jacob Carlborg <doob@me.com>
parents:
22
diff
changeset
|
5 buildflags += -framework Foundation -framework ApplicationServices -framework CoreFoundation -framework CoreServices -framework DiskArbitration -framework Security -framework QuartzCore -framework QTKit -framework AppKit -framework CoreData |
420969b22201
Removed an import to a private library. Added support for building as a dynamic library and framework
Jacob Carlborg <doob@me.com>
parents:
22
diff
changeset
|
6 |
420969b22201
Removed an import to a private library. Added support for building as a dynamic library and framework
Jacob Carlborg <doob@me.com>
parents:
22
diff
changeset
|
7 version (dylib) { |
420969b22201
Removed an import to a private library. Added support for building as a dynamic library and framework
Jacob Carlborg <doob@me.com>
parents:
22
diff
changeset
|
8 postbuild = cd dsss_objs/G ; \ |
25
b9de51448c6b
Added an id constructor. Changed the string mixin to a template mixin. Added support for building as a dynamic library
Jacob Carlborg <doob@me.com>
parents:
23
diff
changeset
|
9 gcc *.o -dynamiclib -o libDG-dstep.dylib |
23
420969b22201
Removed an import to a private library. Added support for building as a dynamic library and framework
Jacob Carlborg <doob@me.com>
parents:
22
diff
changeset
|
10 |
420969b22201
Removed an import to a private library. Added support for building as a dynamic library and framework
Jacob Carlborg <doob@me.com>
parents:
22
diff
changeset
|
11 version (Tango) { |
420969b22201
Removed an import to a private library. Added support for building as a dynamic library and framework
Jacob Carlborg <doob@me.com>
parents:
22
diff
changeset
|
12 postbuild += -lgtango |
420969b22201
Removed an import to a private library. Added support for building as a dynamic library and framework
Jacob Carlborg <doob@me.com>
parents:
22
diff
changeset
|
13 } |
420969b22201
Removed an import to a private library. Added support for building as a dynamic library and framework
Jacob Carlborg <doob@me.com>
parents:
22
diff
changeset
|
14 |
25
b9de51448c6b
Added an id constructor. Changed the string mixin to a template mixin. Added support for building as a dynamic library
Jacob Carlborg <doob@me.com>
parents:
23
diff
changeset
|
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; |
b9de51448c6b
Added an id constructor. Changed the string mixin to a template mixin. Added support for building as a dynamic library
Jacob Carlborg <doob@me.com>
parents:
23
diff
changeset
|
16 postbuild += mv libDG-dstep.dylib ../../; |
23
420969b22201
Removed an import to a private library. Added support for building as a dynamic library and framework
Jacob Carlborg <doob@me.com>
parents:
22
diff
changeset
|
17 } |
420969b22201
Removed an import to a private library. Added support for building as a dynamic library and framework
Jacob Carlborg <doob@me.com>
parents:
22
diff
changeset
|
18 |
420969b22201
Removed an import to a private library. Added support for building as a dynamic library and framework
Jacob Carlborg <doob@me.com>
parents:
22
diff
changeset
|
19 version (framework) { |
420969b22201
Removed an import to a private library. Added support for building as a dynamic library and framework
Jacob Carlborg <doob@me.com>
parents:
22
diff
changeset
|
20 postbuild = cd dsss_objs/G ; \ |
420969b22201
Removed an import to a private library. Added support for building as a dynamic library and framework
Jacob Carlborg <doob@me.com>
parents:
22
diff
changeset
|
21 gcc *.o -dynamiclib -lgphobos -lgcc_eh |
420969b22201
Removed an import to a private library. Added support for building as a dynamic library and framework
Jacob Carlborg <doob@me.com>
parents:
22
diff
changeset
|
22 |
420969b22201
Removed an import to a private library. Added support for building as a dynamic library and framework
Jacob Carlborg <doob@me.com>
parents:
22
diff
changeset
|
23 version (Tango) { |
420969b22201
Removed an import to a private library. Added support for building as a dynamic library and framework
Jacob Carlborg <doob@me.com>
parents:
22
diff
changeset
|
24 postbuild += -lgtango |
420969b22201
Removed an import to a private library. Added support for building as a dynamic library and framework
Jacob Carlborg <doob@me.com>
parents:
22
diff
changeset
|
25 } |
420969b22201
Removed an import to a private library. Added support for building as a dynamic library and framework
Jacob Carlborg <doob@me.com>
parents:
22
diff
changeset
|
26 |
25
b9de51448c6b
Added an id constructor. Changed the string mixin to a template mixin. Added support for building as a dynamic library
Jacob Carlborg <doob@me.com>
parents:
23
diff
changeset
|
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; |
23
420969b22201
Removed an import to a private library. Added support for building as a dynamic library and framework
Jacob Carlborg <doob@me.com>
parents:
22
diff
changeset
|
28 postbuild += cd ../../; |
25
b9de51448c6b
Added an id constructor. Changed the string mixin to a template mixin. Added support for building as a dynamic library
Jacob Carlborg <doob@me.com>
parents:
23
diff
changeset
|
29 postbuild += cp -R dstep DStep.framework/Headers/; |
23
420969b22201
Removed an import to a private library. Added support for building as a dynamic library and framework
Jacob Carlborg <doob@me.com>
parents:
22
diff
changeset
|
30 } |
16
19885b43130e
Huge update, the bridge actually works now
Jacob Carlborg <doob@me.com>
parents:
11
diff
changeset
|
31 } |
19885b43130e
Huge update, the bridge actually works now
Jacob Carlborg <doob@me.com>
parents:
11
diff
changeset
|
32 |
19885b43130e
Huge update, the bridge actually works now
Jacob Carlborg <doob@me.com>
parents:
11
diff
changeset
|
33 version (LDC) { |
22 | 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 |
16
19885b43130e
Huge update, the bridge actually works now
Jacob Carlborg <doob@me.com>
parents:
11
diff
changeset
|
35 } |
19885b43130e
Huge update, the bridge actually works now
Jacob Carlborg <doob@me.com>
parents:
11
diff
changeset
|
36 |
19885b43130e
Huge update, the bridge actually works now
Jacob Carlborg <doob@me.com>
parents:
11
diff
changeset
|
37 version (DigitalMars) { |
22 | 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 |
25
b9de51448c6b
Added an id constructor. Changed the string mixin to a template mixin. Added support for building as a dynamic library
Jacob Carlborg <doob@me.com>
parents:
23
diff
changeset
|
39 |
b9de51448c6b
Added an id constructor. Changed the string mixin to a template mixin. Added support for building as a dynamic library
Jacob Carlborg <doob@me.com>
parents:
23
diff
changeset
|
40 version (dylib) { |
b9de51448c6b
Added an id constructor. Changed the string mixin to a template mixin. Added support for building as a dynamic library
Jacob Carlborg <doob@me.com>
parents:
23
diff
changeset
|
41 postbuild = cd dsss_objs/D ; \ |
b9de51448c6b
Added an id constructor. Changed the string mixin to a template mixin. Added support for building as a dynamic library
Jacob Carlborg <doob@me.com>
parents:
23
diff
changeset
|
42 gcc -framework Foundation -framework ApplicationServices -framework CoreFoundation -framework CoreServices -framework DiskArbitration -framework Security -framework QuartzCore -framework QTKit -framework AppKit -framework CoreData \ |
b9de51448c6b
Added an id constructor. Changed the string mixin to a template mixin. Added support for building as a dynamic library
Jacob Carlborg <doob@me.com>
parents:
23
diff
changeset
|
43 -dynamiclib *.o /usr/local/dmd/lib/libtango.dylib -o ../../libDD-dstep.dylib -install_name ~/d/lib/libDD-dstep.dylib |
b9de51448c6b
Added an id constructor. Changed the string mixin to a template mixin. Added support for building as a dynamic library
Jacob Carlborg <doob@me.com>
parents:
23
diff
changeset
|
44 } |
18 | 45 } |
46 | |
47 #-L-dead_strip -L-x -L-S |