diff example/scenegraph/xml/tasks.xml @ 350:628cb162be88 draft

add tasts.xml renderer.xml
author admin@mcbk.cr.ie.u-ryukyu.ac.jp
date Fri, 10 Jul 2009 16:41:20 +0900
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/example/scenegraph/xml/tasks.xml	Fri Jul 10 16:41:20 2009 +0900
@@ -0,0 +1,55 @@
+<!-- Cerium Task Configuration
+     CPU_PPE = 0, // default
+     CPU_SPE = 1,
+     SPE_ANY = CPU_SPE,
+     SPE_0 = 2,
+     SPE_1 = 3,
+     SPE_2 = 4,
+     SPE_3 = 5,
+     SPE_4 = 6,
+     SPE_5 = 7,
+  -->
+
+<directory>
+  <path> task </path>
+
+    <target>
+      <path> spe </path>
+      <cpu> SPE_ANY </cpu>
+      <cc cc:compiler="spu-g++"/>
+    </target>
+
+    <target>
+      <path> ppe </path>
+      <cpu> CPU_PPE </cpu>
+      <cc cc:compiler="ppu-g++"/>
+    </target>
+
+    <target>
+      <path> macosx </path>
+      <cpu> CPU_PPE </cpu>
+      <cc cc:compiler="mac-g++"/>
+    </target>
+
+    <target name="linux">
+      <path> linux </path>
+      <cpu> CPU_PPE </cpu>
+      <cc cc:compiler="linux-g++"/>
+    </target>
+    <task name="move">
+    <source> move.cpp </source>
+
+  </task>
+
+  <task name="collision">
+    <source> collision.cpp </source>
+  </task>
+
+</directory>
+
+<directory>
+  <path> ${CERIUM}/Renderer/test_render </path>
+  <task name="Renderer">
+    <config> renderer.xml </config>
+  </task>
+</directory>