diff dsss.conf @ 10:4c3575400769

DefaultData largely rewritten with unittest, SDL input event handling completed with unittest, changes to Init threading. Init threads now catch own exceptions. Doc: assigned some inputID devisions. Added support for remaining SDL events. Input axes' output is now stored with a short instead of a real. Input unittest written (for SDL event handling). Rewrote most of mde.mergetag.defaultdata using generic programming to generate read & write rules for all types. As a direct result, defaultdata can now write properly. DefaultData unittest written (also provides testing for mergetag read/write). Moved mde.text.parse/format to tango.scrapple.text.convert.parseTo/parseFrom with many changes. committer: Diggory Hardy <diggory.hardy@gmail.com>
author Diggory Hardy <diggory.hardy@gmail.com>
date Mon, 18 Feb 2008 11:54:56 +0000
parents f63f4f41a2dc
children b940f267419e
line wrap: on
line diff
--- a/dsss.conf	Wed Jan 30 11:33:56 2008 +0000
+++ b/dsss.conf	Mon Feb 18 11:54:56 2008 +0000
@@ -1,8 +1,26 @@
+defaulttargets = mde/mde.d
+
+[*]
+version (Posix) {
+    buildflags=-L-ldl
+} else {
+    warn Only posix builds have been tested; elsewhere other libraries will probably need to be linked.
+}
+
 [mde/mde.d]
-buildflags=-L-ldl
-target=bin/mde
-#[mde/mergetag]
-#[mde/input]
-#[test/MTTest.d]
-#target=bin/MTTest
+version (Posix) {
+    target=bin/mde
+} else version (Windows) {
+    target=bin/mde.exe
+}
 
+[test/mdeTest.d]
+version (Posix) {
+    buildflags=-L-ldl -debug=mdeUnitTest -unittest
+    target=bin/mdeTest
+} else version (Windows) {
+    warn Extra linking probably needed!
+    buildflags=-debug=mdeUnitTest -unittest
+    target=bin/mdeTest.exe
+}
+noinstall
\ No newline at end of file