Rev 8454 | Rev 8724 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 8454 | Rev 8559 | ||
---|---|---|---|
Line 141... | Line 141... | ||
141 | \integer{v1=5} |
141 | \integer{v1=5} |
142 | \text{t1=this is target 2} |
142 | \text{t1=this is target 2} |
143 | #endif |
143 | #endif |
144 | </pre> |
144 | </pre> |
145 | in order to make the contents target-dependent. |
145 | in order to make the contents target-dependent. |
- | 146 | <p> |
|
- | 147 | The name of the file (in the example, |
|
- | 148 | <span class="tt wims_code_words">targ1</span>, ...) |
|
- | 149 | is available by the variable |
|
- | 150 | <span class="tt wims_code_words">OEFFILE</span>. |
|
- | 151 | In the following example, the title of the exercise will be |
|
- | 152 | <span class="tt wims_code_words">targ1</span> |
|
- | 153 | </p> |
|
- | 154 | <pre> |
|
- | 155 | #if defined TARGET_targ1 |
|
- | 156 | \title{OEFFILE} |
|
- | 157 | \integer{v1=3} |
|
- | 158 | \text{t1=dit is target 1} |
|
- | 159 | #endif |
|
- | 160 | </pre> |
|
- | 161 | ||
146 | <p> |
162 | <p> |
147 | Include files should also be put into the src/cpp directory, with extension |
163 | Include files should also be put into the src/cpp directory, with extension |
148 | .inc. A line |
164 | .inc. A line |
149 | </p> |
165 | </p> |
150 | <pre> |
166 | <pre> |