Mercurial > projects > dstep
view 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 |
line wrap: on
line source
[dstep] version (GNU){ buildflags += -framework Foundation -framework ApplicationServices -framework CoreFoundation -framework CoreServices -framework DiskArbitration -framework Security -framework QuartzCore -framework QTKit -framework AppKit -framework CoreData version (dylib) { postbuild = cd dsss_objs/G ; \ gcc *.o -dynamiclib -o libDG-dstep.dylib version (Tango) { postbuild += -lgtango } postbuild += -lgphobos -lgcc_eh -framework Foundation -framework ApplicationServices -framework CoreFoundation -framework CoreServices -framework DiskArbitration -framework Security -framework QuartzCore -framework QTKit -framework AppKit -framework CoreData; postbuild += mv libDG-dstep.dylib ../../; } version (framework) { postbuild = cd dsss_objs/G ; \ gcc *.o -dynamiclib -lgphobos -lgcc_eh version (Tango) { postbuild += -lgtango } 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; postbuild += cd ../../; postbuild += cp -R dstep DStep.framework/Headers/; } } version (LDC) { 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 } version (DigitalMars) { 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 pathToStdLib = /usr/local/dmd/lib/libtango.a version (dylib) { postbuild = cd dsss_objs/D ; \ gcc -framework Foundation -framework ApplicationServices -framework CoreFoundation -framework CoreServices -framework DiskArbitration -framework Security -framework QuartzCore -framework QTKit -framework AppKit -framework CoreData \ -dynamiclib *.o -o ../../libDD-dstep.dylib -install_name @rpath/libDD-dstep.dylib /usr/local/dmd/lib/libtango-s.a } version (framework) { postbuild = cd dsss_objs/D ; \ gcc *.o -dynamiclib $pathToStdLib 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; postbuild += cd ../../; postbuild += cp -R dstep DStep.framework/Headers/; } } #-L-dead_strip -L-x -L-S