sbsv2/raptor/notes/traces_mmpkeyword.txt
author lorewang
Wed, 17 Nov 2010 11:24:29 +0800
changeset 685 39f7ecf8fbc7
parent 625 a1925fb7753a
permissions -rw-r--r--
pull from trunk

The traces mmp keyword is used to explicitly indicate Raptor to run trace compiler. It is designed to replace the implicit way, which is specifying trace folder in userinclude.  However, the old way is still supported for compatibility reason. 

The keyword could be used as a swtich with no parameter, which automatically set trace folder to be:

../traces/<target>_<targetext>

When the keyword is used with a parameter, it set trace folder to be:

<parameter>traces/<target>_<targetext>

So e.g. if the mmp file is at the same level with trace folder and you want the trace folder directory to be: "./traces/<target>_<targetext>", in your mmp it should say:

traces ./

N.B. The trace folder directory is relative to the directory of the mmp file where traces keyword is used.