sbsv2/raptor/notes/traces_mmpkeyword.txt
author jascui
Tue, 16 Nov 2010 15:56:27 +0800
changeset 683 8e0eb519ef53
parent 625 a1925fb7753a
permissions -rw-r--r--
Solve incorrect handling of ExportName=SymbolName@Ordinal syntax

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.