view 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
line wrap: on
line source

[main.d]
target=cocoa-d-test

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 -install_name ../Frameworks -framework Foundation -framework ApplicationServices -framework CoreFoundation -framework CoreServices -framework DiskArbitration -framework Security -framework QuartzCore -framework QTKit -framework AppKit -framework CoreData
	}
	
	version (framework) {
		postbuild = cd dsss_objs/G ; \
					gcc *.o -dynamiclib -lgphobos -lgcc_eh
		
		version (Tango) {
			postbuild += -lgtango 
		}
		
		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;
		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
}

#-L-dead_strip -L-x -L-S