329
|
1 <!-- Cerium Task Configuration
|
|
2 CPU_PPE = 0, // default
|
|
3 CPU_SPE = 1,
|
|
4 SPE_ANY = CPU_SPE,
|
|
5 SPE_0 = 2,
|
|
6 SPE_1 = 3,
|
|
7 SPE_2 = 4,
|
|
8 SPE_3 = 5,
|
|
9 SPE_4 = 6,
|
|
10 SPE_5 = 7,
|
|
11 -->
|
|
12
|
|
13 <directory>
|
|
14 <path> Task </path>
|
|
15 <task name="Hello">
|
|
16 <target>
|
|
17 <path> spe </path>
|
|
18 <cpu> SPE_ANY </cpu>
|
|
19 <cc cc:compiler="spu-g++"/>
|
|
20 </target>
|
|
21
|
|
22 <target>
|
|
23 <path> ppe </path>
|
|
24 <cpu> CPU_PPE </cpu>
|
|
25 <cc cc:compiler="ppu-g++"/>
|
|
26 </target>
|
|
27
|
|
28 <target>
|
|
29 <path> macosx </path>
|
|
30 <cpu> CPU_PPE </cpu>
|
|
31 <cc cc:compiler="mac-g++"/>
|
|
32 </target>
|
|
33
|
|
34 <target name="linux">
|
|
35 <path> linux </path>
|
|
36 <cpu> CPU_PPE </cpu>
|
|
37 <cc cc:compiler="linux-g++"/>
|
|
38 </target>
|
|
39
|
|
40 <source> Hello.cc </source>
|
|
41 </task>
|
|
42
|
|
43 </directory>
|
|
44
|
|
45 <directory>
|
|
46 <path> ${CERIUM}/Renderer/Task </path>
|
|
47 <task name="Hello">
|
|
48 <target name="cell">
|
|
49 <path> spe </path>
|
|
50 <cpu> SPE_ANY </cpu>
|
|
51 <cc cc:compiler="spu-g++"/>
|
|
52 </target>
|
|
53
|
|
54 <target name="cell">
|
|
55 <path> ppe </path>
|
|
56 <cpu> CPU_PPE </cpu>
|
|
57 <cc cc:compiler="ppu-g++"/>
|
|
58 </target>
|
|
59
|
|
60 <target name="macosx">
|
|
61 <path> macosx </path>
|
|
62 <cpu> CPU_PPE </cpu>
|
|
63 <cc cc:compiler="mac-g++"/>
|
|
64 </target>
|
|
65
|
|
66 <target name="linux">
|
|
67 <path> linux </path>
|
|
68 <cpu> CPU_PPE </cpu>
|
|
69 <cc cc:compiler="linux-g++"/>
|
|
70 </target>
|
|
71
|
|
72 <source> Hello.cc </source>
|
|
73
|
|
74 </task>
|
|
75
|
|
76 </directory>
|