view example/task_config/tasks.xml @ 0:04e28d8d3c6f

first commit
author Daiki KINJYO <e085722@ie.u-ryukyu.ac.jp>
date Mon, 08 Nov 2010 01:23:25 +0900
parents
children
line wrap: on
line source

<!-- 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>
  <task name="Hello">
    <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>

    <source> Hello.cc </source>

  </task>
</directory>

<directory>
  <path> ${CERIUM}/Renderer/Task </path>
  <task name="Hello">
    <target name="cell">
      <path> spe </path>
      <cpu> SPE_ANY </cpu>
      <cc cc:compiler="spu-g++"/>
    </target>
    
    <target name="cell">
      <path> ppe </path>
      <cpu> CPU_PPE </cpu>
      <cc cc:compiler="ppu-g++"/>
    </target>
    
    <target name="macosx">
      <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>
    
    <source> Hello.cc </source>

  </task>
</directory>

<directory>
  <path> ${CERIUM}/Renderer/test_render </path>
  <task name="CreatePolygon">
    <target name="cell">
      <path> spe </path>
      <cpu> SPE_ANY </cpu>
      <cc cc:compiler="spu-g++"/>
    </target>
    
    <target name="cell">
      <path> ppe </path>
      <cpu> CPU_PPE </cpu>
      <cc cc:compiler="ppu-g++"/>
    </target>
    
    <target name="macosx">
      <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>
    
    <source> CreatePolygon.cc </source>

  </task>
</directory>

<directory>
  <path> ${CERIUM}/Renderer/test_render </path>
  <task name="CreateSpan">
    <target name="cell">
      <path> spe </path>
      <cpu> SPE_ANY </cpu>
      <cc cc:compiler="spu-g++"/>
    </target>
    
    <target name="cell">
      <path> ppe </path>
      <cpu> CPU_PPE </cpu>
      <cc cc:compiler="ppu-g++"/>
    </target>
    
    <target name="macosx">
      <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>
    
    <source> CreateSpan.cc </source>

  </task>
</directory>

<directory>
  <path> ${CERIUM}/Renderer/test_render </path>
  <task name="DrawBack">
    <target name="cell">
      <path> spe </path>
      <cpu> SPE_ANY </cpu>
      <cc cc:compiler="spu-g++"/>
    </target>
    
    <target name="cell">
      <path> ppe </path>
      <cpu> CPU_PPE </cpu>
      <cc cc:compiler="ppu-g++"/>
    </target>
    
    <target name="macosx">
      <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>
    
    <source> DrawBack.cc </source>

  </task>
</directory>

<directory>
  <path> ${CERIUM}/Renderer/test_render </path>
  <task name="DrawSpan">
    <target name="cell">
      <path> spe </path>
      <cpu> SPE_ANY </cpu>
      <cc cc:compiler="spu-g++"/>
    </target>
    
    <target name="cell">
      <path> ppe </path>
      <cpu> CPU_PPE </cpu>
      <cc cc:compiler="ppu-g++"/>
    </target>
    
    <target name="macosx">
      <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>
    
    <source> DrawSpan.cc </source>

  </task>
</directory>

<directory>
  <path> ${CERIUM}/Renderer/test_render </path>
  <task name="DrawSpanRenew">
    <target name="cell">
      <path> spe </path>
      <cpu> SPE_ANY </cpu>
      <cc cc:compiler="spu-g++"/>
    </target>
    
    <target name="cell">
      <path> ppe </path>
      <cpu> CPU_PPE </cpu>
      <cc cc:compiler="ppu-g++"/>
    </target>
    
    <target name="macosx">
      <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>
    
    <source> DrawSpanRenew.cc </source>

  </task>
</directory>

<directory>
  <path> ${CERIUM}/Renderer/test_render </path>
  <task name="Load_Texture">
    <target name="cell">
      <path> spe </path>
      <cpu> SPE_ANY </cpu>
      <cc cc:compiler="spu-g++"/>
    </target>
    
    <target name="cell">
      <path> ppe </path>
      <cpu> CPU_PPE </cpu>
      <cc cc:compiler="ppu-g++"/>
    </target>
    
    <target name="macosx">
      <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>
    
    <source> Load_Texture.cc </source>

  </task>
</directory>

<directory>
  <path> ${CERIUM}/Renderer/test_render </path>
  <task name="Set_Texture">
    <target name="cell">
      <path> spe </path>
      <cpu> SPE_ANY </cpu>
      <cc cc:compiler="spu-g++"/>
    </target>
    
    <target name="cell">
      <path> ppe </path>
      <cpu> CPU_PPE </cpu>
      <cc cc:compiler="ppu-g++"/>
    </target>
    
    <target name="macosx">
      <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>
    
    <source> Set_Texture.cc </source>

  </task>
</directory>

<directory>
  <path> ${CERIUM}/Renderer/test_render </path>
  <task name="TileHash">
    <target name="cell">
      <path> spe </path>
      <cpu> SPE_ANY </cpu>
      <cc cc:compiler="spu-g++"/>
    </target>
    
    <target name="cell">
      <path> ppe </path>
      <cpu> CPU_PPE </cpu>
      <cc cc:compiler="ppu-g++"/>
    </target>
    
    <target name="macosx">
      <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>
    
    <source> TileHash.cc </source>

  </task>
</directory>

<directory>
  <path> ${CERIUM}/Renderer/test_render </path>
  <task name="viewer_types">
    <target name="cell">
      <path> spe </path>
      <cpu> SPE_ANY </cpu>
      <cc cc:compiler="spu-g++"/>
    </target>
    
    <target name="cell">
      <path> ppe </path>
      <cpu> CPU_PPE </cpu>
      <cc cc:compiler="ppu-g++"/>
    </target>
    
    <target name="macosx">
      <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>
    
    <source> viewer_types.cc </source>

  </task>
</directory>

<directory>
  <path> ${CERIUM}/Renderer/test_render </path>
  <task name="Set_Texture">
    <target name="cell">
      <path> spe </path>
      <cpu> SPE_ANY </cpu>
      <cc cc:compiler="spu-g++"/>
    </target>
    
    <target name="cell">
      <path> ppe </path>
      <cpu> CPU_PPE </cpu>
      <cc cc:compiler="ppu-g++"/>
    </target>
    
    <target name="macosx">
      <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>
    
    <source> Set_Texture.cc </source>

  </task>
</directory>