bake-toolkit 2.19.1 → 2.19.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (49) hide show
  1. checksums.yaml +4 -4
  2. data/documentation/_build/html/_sources/changelog.txt +6 -0
  3. data/documentation/_build/html/_sources/index.txt +1 -1
  4. data/documentation/_build/html/_static/syntax.html +111 -111
  5. data/documentation/_build/html/changelog.html +13 -3
  6. data/documentation/_build/html/commandline/commandline.html +3 -3
  7. data/documentation/_build/html/concepts/build_hierarchy.html +3 -3
  8. data/documentation/_build/html/concepts/concepts.html +3 -3
  9. data/documentation/_build/html/concepts/link_order.html +3 -3
  10. data/documentation/_build/html/concepts/the_main_project.html +3 -3
  11. data/documentation/_build/html/concepts/the_project_meta_file.html +3 -3
  12. data/documentation/_build/html/genindex.html +3 -3
  13. data/documentation/_build/html/ide/eclipse/eclipse.html +3 -3
  14. data/documentation/_build/html/ide/eclipse/how_to_convert_existing_cdt_workspace.html +3 -3
  15. data/documentation/_build/html/ide/eclipse/how_to_create_a_new_project_in_eclipse.html +3 -3
  16. data/documentation/_build/html/ide/eclipse/how_to_create_a_workspace_in_eclipse.html +3 -3
  17. data/documentation/_build/html/ide/eclipse/how_to_debug_in_eclipse.html +3 -3
  18. data/documentation/_build/html/ide/eclipse/how_to_install_eclipse_plugin.html +3 -3
  19. data/documentation/_build/html/ide/eclipse/how_to_use_bake_in_eclipse.html +3 -3
  20. data/documentation/_build/html/ide/ide_integrations.html +3 -3
  21. data/documentation/_build/html/ide/vs/how_to_create_vs_projects.html +3 -3
  22. data/documentation/_build/html/ide/vs/how_to_debug_in_vs.html +3 -3
  23. data/documentation/_build/html/ide/vs/how_to_used_bake_in_vs.html +3 -3
  24. data/documentation/_build/html/ide/vs/vs.html +3 -3
  25. data/documentation/_build/html/ide/vs/vs_install.html +3 -3
  26. data/documentation/_build/html/index.html +6 -6
  27. data/documentation/_build/html/install/install_bake.html +3 -3
  28. data/documentation/_build/html/internal.html +3 -3
  29. data/documentation/_build/html/known_issues.html +3 -3
  30. data/documentation/_build/html/license.html +3 -3
  31. data/documentation/_build/html/performance/performance.html +3 -3
  32. data/documentation/_build/html/quickstart/quickstart.html +3 -3
  33. data/documentation/_build/html/search.html +3 -3
  34. data/documentation/_build/html/searchindex.js +1 -1
  35. data/documentation/_build/html/syntax/adapt_configs.html +3 -3
  36. data/documentation/_build/html/syntax/derive_configs.html +3 -3
  37. data/documentation/_build/html/syntax/project_meta_syntax.html +114 -114
  38. data/documentation/_build/html/syntax/syntax.html +3 -3
  39. data/documentation/_build/html/syntax/variable_substitutions.html +3 -3
  40. data/documentation/_build/html/tips_and_tricks/bundle.html +3 -3
  41. data/documentation/_build/html/tips_and_tricks/how_to_use_bake_with_cygwin.html +3 -3
  42. data/documentation/_build/html/tips_and_tricks/static_code_analysis.html +3 -3
  43. data/documentation/_build/html/tips_and_tricks/the_bakery.html +3 -3
  44. data/documentation/_build/html/tips_and_tricks/the_clang.html +3 -3
  45. data/documentation/_build/html/tips_and_tricks/tips_and_tricks.html +3 -3
  46. data/documentation/_build/html/why_bake/why_bake.html +5 -5
  47. data/lib/bake/toolchain/errorparser/ti_linker_error_parser.rb +1 -1
  48. data/lib/common/version.rb +1 -1
  49. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f77a73f57bec02d78cfe63d443287633efb6adc2
4
- data.tar.gz: 3f4d42bd64f0a3d4e034c21300272bbeb518f85e
3
+ metadata.gz: f884a69d7227c58640b9ce9ee280e1a4df32d187
4
+ data.tar.gz: 8a60282cc0cc332250ad468e39a8eca781bb926a
5
5
  SHA512:
6
- metadata.gz: ed0ca7c8b7cd428a78880e04a25426014729b9f4e78933cb0c786879f49e2560b8f1124bafba77d057b69acf83a4660d3e7bb43233349e2d16e8142fe4f0243e
7
- data.tar.gz: 04eaaa6ec9b2373ee99a22499058b33823710aa73a34a36431f0617632cb845513aca7bb258e77d351e2ba376b5251a484b951a11e2fd5326240cb011c813965
6
+ metadata.gz: e59eb35575c63eb6a3abc708ad22bc5ecda93e1e727ff4547bd66a970840249fc84127b5cc1451e91bfd0cb628bafc42557a012e372d01e850f9d16867e998f0
7
+ data.tar.gz: 440da1962f57b425975372251ab7fb44f8d1b5e9b89f6b0762ad2e777f32545a14e6868877e6bb8e9975081c81993cbdddc0b474089a51fa9c4ac5448ee6dfa2
@@ -1,6 +1,12 @@
1
1
  Changelog
2
2
  =========
3
3
 
4
+ August 12, 2016 - bake-toolkit 2.19.2
5
+ * Bugfix: fixed TI linker error parser
6
+
7
+ August 4, 2016 - Eclipse plugin 1.7.1
8
+ * Bugfix: error markers may not created correctly if projects had "^" in the name
9
+
4
10
  August 1, 2016 - bake-toolkit 2.19.1
5
11
  * Bugfix: made the new "listening to raw character 0x3" more robust
6
12
 
@@ -1,4 +1,4 @@
1
- bake 2.19.1
1
+ bake 2.19.2
2
2
  ==========================================
3
3
  bake, building software **fast** and **easy**!
4
4
 
@@ -32,16 +32,16 @@ z-index: 100;
32
32
  }
33
33
  .help {
34
34
  color:blue
35
- }
35
+ }
36
36
  .showRadio {
37
37
  font-weight:bold;color:blue;text-decoration:overline underline
38
- }
38
+ }
39
39
  .hideRadio {
40
40
  color:#AAAAFF;
41
- }
41
+ }
42
42
  .mycomment {
43
43
  color:green
44
- }
44
+ }
45
45
  </style>
46
46
 
47
47
 
@@ -66,7 +66,7 @@ z-index: 100;
66
66
  &nbsp; <span class="showRadio" onMouseover="showExecutableConfig()" onMouseout="notip()" id="executableConfig">ExecutableConfig</span> |
67
67
  <span class="hideRadio" onMouseover="showLibraryConfig()" onMouseout="notip()" id="libraryConfig">LibraryConfig</span> |
68
68
  <span class="hideRadio" onMouseover="showCustomConfig()" onMouseout="notip()" id="customConfig">CustomConfig</span> &#60;name&#62;, <span class="help" onMouseover="showExtends()" onMouseout="notip()">extends</span>: &#60;parent(s)&#62; {<br><br>
69
-
69
+
70
70
  <span><span style="background-color:#EEEEEE;" class="show">
71
71
  &nbsp; &nbsp; <span class="mycomment"># Valid for all config types</span><br><br>
72
72
  &nbsp; &nbsp; <span class="help" onMouseover="showDescription()" onMouseout="notip()">Description</span> &#60;text&#62;<br>
@@ -86,8 +86,8 @@ z-index: 100;
86
86
  <span class="help" onMouseover="showStepDefault()" onMouseout="notip()">default</span>: on|off,
87
87
  <span class="help" onMouseover="showStepFilter()" onMouseout="notip()">filter</span>: &#60;name&#62;,
88
88
  <span class="help" onMouseover="showValidExitCodes()" onMouseout="notip()">validExitCodes</span>: &#60;[array]&#62; {<br>
89
- &nbsp; &nbsp; &nbsp; &nbsp; <span class="help" onMouseover="showMakefileFlags()" onMouseout="notip()">Flags</span> &#60;flags&#62;<br>
90
- &nbsp; &nbsp; &nbsp; }<br>
89
+ &nbsp; &nbsp; &nbsp; &nbsp; <span class="help" onMouseover="showMakefileFlags()" onMouseout="notip()">Flags</span> &#60;flags&#62;<br>
90
+ &nbsp; &nbsp; &nbsp; }<br>
91
91
  &nbsp; &nbsp; &nbsp; <span class="help" onMouseover="showCommandLine()" onMouseout="notip()">CommandLine</span> &#60;line&#62;,
92
92
  <span class="help" onMouseover="showStepDefault()" onMouseout="notip()">default</span>: on|off,
93
93
  <span class="help" onMouseover="showStepFilter()" onMouseout="notip()">filter</span>: &#60;name&#62;,
@@ -126,17 +126,17 @@ z-index: 100;
126
126
 
127
127
 
128
128
  &nbsp; &nbsp; <span class="help" onMouseover="showToolchainProject()" onMouseout="notip()">Toolchain</span> <span class="help" onMouseover="showOutputDir()" onMouseout="notip()">outputDir</span>: &#60;dir&#62; {<br>
129
- &nbsp; &nbsp; &nbsp; <span class="help" onMouseover="showCompiler()" onMouseout="notip()">Compiler</span> ASM | CPP | C,
130
- <span class="help" onMouseover="showCommand()" onMouseout="notip()">command</span>: &#60;cmd&#62; {</i><br>
129
+ &nbsp; &nbsp; &nbsp; <span class="help" onMouseover="showCompiler()" onMouseout="notip()">Compiler</span> ASM | CPP | C,
130
+ <span class="help" onMouseover="showCommand()" onMouseout="notip()">command</span>: &#60;cmd&#62; {</i><br>
131
131
  &nbsp; &nbsp; &nbsp; &nbsp; <span class="help" onMouseover="showFlags()" onMouseout="notip()">Flags</span> &#60;flags&#62;, add: &#60;flags&#62;, remove: &#60;flags&#62;<br>
132
132
  &nbsp; &nbsp; &nbsp; &nbsp; <span class="help" onMouseover="showDefine()" onMouseout="notip()">Define</span> &#60;define&#62;<br>
133
133
  &nbsp; &nbsp; &nbsp; }<br>
134
134
  &nbsp; &nbsp; &nbsp; <span class="help" onMouseover="showArchiver()" onMouseout="notip()">Archiver</span>
135
- <span class="help" onMouseover="showCommand()" onMouseout="notip()">command</span>: &#60;cmd&#62; {</i><br>
135
+ <span class="help" onMouseover="showCommand()" onMouseout="notip()">command</span>: &#60;cmd&#62; {</i><br>
136
136
  &nbsp; &nbsp; &nbsp; &nbsp; <span class="help" onMouseover="showFlags()" onMouseout="notip()">Flags</span> &#60;flags&#62;, add: &#60;flags&#62;, remove: &#60;flags&#62;<br>
137
137
  &nbsp; &nbsp; &nbsp; }<br>
138
138
  &nbsp; &nbsp; &nbsp; <span class="help" onMouseover="showLinker()" onMouseout="notip()">Linker</span>
139
- <span class="help" onMouseover="showCommand()" onMouseout="notip()">command</span>: &#60;cmd&#62; {</i><br>
139
+ <span class="help" onMouseover="showCommand()" onMouseout="notip()">command</span>: &#60;cmd&#62; {</i><br>
140
140
  &nbsp; &nbsp; &nbsp; &nbsp; <span class="help" onMouseover="showFlags()" onMouseout="notip()">Flags</span> &#60;flags&#62;, add: &#60;flags&#62;, remove: &#60;flags&#62<br>
141
141
  &nbsp; &nbsp; &nbsp; &nbsp; <span class="help" onMouseover="showLibPrefixFlags()" onMouseout="notip()">LibPrefixFlags</span> &#60;flags&#62;, add: &#60;flags&#62;, remove: &#60;flags&#62<br>
142
142
  &nbsp; &nbsp; &nbsp; &nbsp; <span class="help" onMouseover="showLibPostfixFlags()" onMouseout="notip()">LibPostfixFlags</span> &#60;flags&#62;, add: &#60;flags&#62;, remove: &#60;flags&#62<br>
@@ -173,8 +173,8 @@ z-index: 100;
173
173
  <span class="help" onMouseover="showStepDefault()" onMouseout="notip()">default</span>: on|off,
174
174
  <span class="help" onMouseover="showStepFilter()" onMouseout="notip()">filter</span>: &#60;name&#62;,
175
175
  <span class="help" onMouseover="showValidExitCodes()" onMouseout="notip()">validExitCodes</span>: &#60;[array]&#62; {<br>
176
- &nbsp; &nbsp; &nbsp; <span class="help" onMouseover="showMakefileFlags()" onMouseout="notip()">Flags</span> &#60;flags&#62;<br>
177
- &nbsp; &nbsp; }<br>
176
+ &nbsp; &nbsp; &nbsp; <span class="help" onMouseover="showMakefileFlags()" onMouseout="notip()">Flags</span> &#60;flags&#62;<br>
177
+ &nbsp; &nbsp; }<br>
178
178
  </span>
179
179
  <span style="background-color:#DDDDDD;" id="commandline_part" class="hide">&#60;line&#62;,
180
180
  <span class="help" onMouseover="showStepDefault()" onMouseout="notip()">default</span>: on|off,
@@ -246,8 +246,8 @@ function showExecutableConfig() {
246
246
  document.getElementById('executableConfig').className="showRadio"
247
247
  document.getElementById('libraryConfig').className="hideRadio"
248
248
  document.getElementById('customConfig').className="hideRadio"
249
-
250
- str = 'This is the main config of an application. This is the only config type which has dependencies.'
249
+
250
+ str = 'This is usually the main config of an application.'
251
251
  ddrivetip("ExecutableConfig", "No","0..n","-",str)
252
252
  }
253
253
 
@@ -258,7 +258,7 @@ function showLibraryConfig() {
258
258
  document.getElementById('executableConfig').className="hideRadio"
259
259
  document.getElementById('libraryConfig').className="showRadio"
260
260
  document.getElementById('customConfig').className="hideRadio"
261
-
261
+
262
262
  str = 'This config is used for a source library. The library will be linked automatically to the executable.'
263
263
  ddrivetip("LibraryConfig", "No","0..n","-",str)
264
264
  }
@@ -270,13 +270,13 @@ function showCustomConfig() {
270
270
  document.getElementById('executableConfig').className="hideRadio"
271
271
  document.getElementById('libraryConfig').className="hideRadio"
272
272
  document.getElementById('customConfig').className="showRadio"
273
-
273
+
274
274
  str = 'This config is used for special projects, e.g. for Makefile projects.<br>'+
275
275
  'It is valid to leave a CustomConfig completely empty - nothing will be done in that case.'
276
276
  ddrivetip("CustomConfig", "No","0..n","-",str)
277
277
  }
278
278
 
279
- function showExternalLibrary() {
279
+ function showExternalLibrary() {
280
280
  str = 'Every config can specify libs which have to be linked to the executable.<br>'+
281
281
  'It\'s possible to add a path, e.g.:<br>'+
282
282
  '<i> &nbsp; &nbsp; ExternalLibrary "xy/z/ab"</i><br>'+
@@ -285,7 +285,7 @@ function showExternalLibrary() {
285
285
  ddrivetip("ExternalLibrary", "No","0..n","-",str)
286
286
  }
287
287
 
288
- function showExternalLibrarySearch() {
288
+ function showExternalLibrarySearch() {
289
289
  str = 'If the attribute "search: false" is specified, the lib will not be searched but linked with the full name, e.g.<br>'+
290
290
  '<i> &nbsp; &nbsp; ExternalLibrary "xy/z/libpq.a", search: false</i><br>'+
291
291
  'will link "xy/z/libpq.a" to the executable.<br>'+
@@ -293,7 +293,7 @@ function showExternalLibrarySearch() {
293
293
  ddrivetip("search", "No","-","true",str)
294
294
  }
295
295
 
296
- function showUserLibrary() {
296
+ function showUserLibrary() {
297
297
  str = 'A user library will be linked <i>before</i> any other libraries or objects to the executable.<br>'+
298
298
  'It is also possible to specify an object file.<br>'+
299
299
  'The library will be searched like an ExternalLibrary, but with the full name, e.g.<br>'+
@@ -304,78 +304,78 @@ function showUserLibrary() {
304
304
  ddrivetip("UserLibrary", "No","0..n","-",str)
305
305
  }
306
306
 
307
- function showExternalLibrarySearchPath() {
307
+ function showExternalLibrarySearchPath() {
308
308
  str = 'The linker looks for libraries in search paths.<br>'+
309
309
  'Search paths can be defined implicitly by ExternalLibrary/UserLibrary or explicitly by this tag.'
310
310
  ddrivetip("ExternalLibrarySearchPath", "No","0..n","-",str)
311
311
  }
312
312
 
313
- function showPreSteps() {
313
+ function showPreSteps() {
314
314
  str = 'PreSteps are executed before compiling files of the project.<br>'+
315
315
  'The number of steps are not limited.<br>'+
316
316
  'If a step fails, all further steps of the project will be skipped.'
317
317
  ddrivetip("PreSteps", "No","0..1","-",str)
318
318
  }
319
319
 
320
- function showPostSteps() {
320
+ function showPostSteps() {
321
321
  str = 'PostSteps are executed after the main task of the project, e.g. linking an executable.<br>'+
322
322
  'The number of steps are not limited.<br>'+
323
323
  'If a step fails, all further steps of the project will be skipped.'
324
324
  ddrivetip("PostSteps", "No","0..1","-",str)
325
325
  }
326
326
 
327
- function showStartupSteps() {
327
+ function showStartupSteps() {
328
328
  str = 'StartupSteps of ALL projects are executed before building the first project.<br>'+
329
329
  'The number of steps are not limited.'
330
330
  ddrivetip("StartupSteps", "No","0..1","-",str)
331
331
  }
332
332
 
333
- function showExitSteps() {
333
+ function showExitSteps() {
334
334
  str = 'ExitSteps of ALL projects are executed after building complete workspace even if the build has failed.<br>'+
335
335
  'The number of steps are not limited.'
336
336
  ddrivetip("ExitSteps", "No","0..1","-",str)
337
337
  }
338
338
 
339
- function showStepDefault() {
339
+ function showStepDefault() {
340
340
  str = 'Specifies if a step will be executed by default.<br>'+
341
341
  'Disabling a step by default is useful if the step shall not be executed every build, e.g. special steps for releasing a software or some kind of developer test steps.'
342
342
  ddrivetip("default", "No","-","on",str)
343
343
  }
344
344
 
345
- function showStepFilter() {
345
+ function showStepFilter() {
346
346
  str = 'A step can be switched on or off explicitly regardless of the "default" attribute with the command line options<br>'+
347
347
  '<i> &nbsp; &nbsp; --do &#60;filter name&#62;</i><br>'+
348
348
  '<i> &nbsp; &nbsp; --omit &#60;filter name&#62;</i><br>'
349
349
  ddrivetip("filter", "No","-","-",str)
350
350
  }
351
351
 
352
- function showValidExitCodes() {
352
+ function showValidExitCodes() {
353
353
  str = 'Define it as an array, e.g.:<br>'+
354
354
  '..., validExitCodes: [200,201,202]'
355
355
  ddrivetip("validExitCodes", "No","-","[0]",str)
356
356
  }
357
357
 
358
358
 
359
- function getMakefileDesc() {
359
+ function getMakefileDesc() {
360
360
  return 'Makefile to be started, e.g.:<br>'+
361
361
  '<i> &nbsp; &nbsp; Makefile "subDir/makefile"</i><br>'
362
362
  }
363
363
 
364
- function showMakefile() {
364
+ function showMakefile() {
365
365
  ddrivetip("Makefile", "No","0..n","-",getMakefileDesc())
366
366
  }
367
367
 
368
- function showMakefileLib() {
368
+ function showMakefileLib() {
369
369
  str = 'If the result of the makefile is a library which shall be linked to the executable, name it here.'
370
370
  ddrivetip("lib", "No","-","-",str)
371
371
  }
372
372
 
373
- function showMakefileTarget() {
373
+ function showMakefileTarget() {
374
374
  str = 'The target of the makefile.'
375
375
  ddrivetip("target", "No","-","all",str)
376
376
  }
377
377
 
378
- function showMakefilePathTo() {
378
+ function showMakefilePathTo() {
379
379
  str = 'Comma separated list, e.g. "common, abc, xy".<br>'+
380
380
  'The makefile can use variables like $(PATH_TO_common). This is very useful if paths to other projects are needed in the makefile.<br>'+
381
381
  'Remember that more than one workspace root can exist and a hardcoded "../common" is not reliable in that case.<br>'+
@@ -388,8 +388,8 @@ function showMakefilePathTo() {
388
388
  ddrivetip("pathTo", "No","-","-",str)
389
389
  }
390
390
 
391
- function showMakefileFlags() {
392
- ddrivetip("Flags", "No","0..n","-j","Additional makefile flags.")
391
+ function showMakefileFlags() {
392
+ ddrivetip("Flags", "No","0..n","-j","Additional makefile flags.")
393
393
  }
394
394
 
395
395
  function getCommandLineDesc() {
@@ -398,8 +398,8 @@ function getCommandLineDesc() {
398
398
  '<i> &nbsp; &nbsp; CommandLine "echo Hello world!"</i><br>'
399
399
  }
400
400
 
401
- function showCommandLine() {
402
- ddrivetip("CommandLine", "No","0..n","-",getCommandLineDesc())
401
+ function showCommandLine() {
402
+ ddrivetip("CommandLine", "No","0..n","-",getCommandLineDesc())
403
403
  }
404
404
 
405
405
 
@@ -409,24 +409,24 @@ function showEclipseOrder() {
409
409
  'If true, files are compiled in alphabetical order within a folder, '+
410
410
  'but the folders are sorted in reverse alphabetical order.<br>'+
411
411
  'This is only used for backward compatibility.'
412
- ddrivetip("eclipseOrder", "No","-","false",str)
412
+ ddrivetip("eclipseOrder", "No","-","false",str)
413
413
  }
414
414
 
415
- function showOutputDir() {
415
+ function showOutputDir() {
416
416
  str = 'Specifies the output folder.<p>'+
417
417
  'Use always relative paths, not absolute paths due to portability.<p>'+
418
418
  'Use always "/" and not "\\".<p>'+
419
419
  'If the first part of the path is equal to a project name, it is used as a shortcut to this project root. <br>'+
420
420
  'To avoid this magic, use something like this: <br>'+
421
421
  '<i> &nbsp; &nbsp; IncludeDir "./abc/include"</i><br>'
422
- ddrivetip("outputdir", "No","0..1","-",str)
422
+ ddrivetip("outputdir", "No","0..1","-",str)
423
423
  }
424
424
 
425
425
  function showExtends() {
426
- ddrivetip("extends", "No","0..1","-","Inherit settings from parent config(s).<br>For more information see docu page 'Derive configs'.")
426
+ ddrivetip("extends", "No","0..1","-","Inherit settings from parent config(s).<br>For more information see docu page 'Derive configs'.")
427
427
  }
428
428
 
429
- function showFiles() {
429
+ function showFiles() {
430
430
  str = 'Specifies the files to build.<br>'+
431
431
  'It\'s valid to specify a single file, e.g.<br>'+
432
432
  '<i> &nbsp; &nbsp; Files "src/abc/def.asm"</i><br>'+
@@ -435,16 +435,16 @@ function showFiles() {
435
435
  'which builds all files with the ending ".cpp" in all subdirectories.<br>'+
436
436
  'Note: ".." is not allowed in the file path. All files must be located within the project.<br>'+
437
437
  'Note: if patterns are used, Flags and Define are ignored.'
438
- ddrivetip("Files", "No","0..n","-",str)
438
+ ddrivetip("Files", "No","0..n","-",str)
439
439
  }
440
440
 
441
- function showExcludeFiles() {
441
+ function showExcludeFiles() {
442
442
  str = 'Used to ignore files or directories.<br>'+
443
443
  'ExcludeFiles has higher priority than Files.'
444
- ddrivetip("ExcludeFiles", "No","0..n","-",str)
444
+ ddrivetip("ExcludeFiles", "No","0..n","-",str)
445
445
  }
446
446
 
447
- function showIncludeDir() {
447
+ function showIncludeDir() {
448
448
  str = 'Specifies the include directories for the assembler, C and C++ compiler.<p>'+
449
449
  'Use always relative paths, not absolute paths due to portability.<p>'+
450
450
  'Use always "/" and not "\\".<p>'+
@@ -456,31 +456,31 @@ function showIncludeDir() {
456
456
  'To include directories of the current project, the project name can be omitted like this:<br>'+
457
457
  '<i> &nbsp; &nbsp; IncludeDir "include"</i><br>'+
458
458
  '<i> &nbsp; &nbsp; IncludeDir "generated/include"</i><br>'
459
- ddrivetip("IncludeDir", "No","0..n","-",str)
459
+ ddrivetip("IncludeDir", "No","0..n","-",str)
460
460
  }
461
461
 
462
- function showInherit() {
462
+ function showInherit() {
463
463
  str = 'Inherits the include to all projects, which depend on this project.'
464
- ddrivetip("inherit", "No","0..1","false",str)
464
+ ddrivetip("inherit", "No","0..1","false",str)
465
465
  }
466
466
 
467
- function showInfix() {
467
+ function showInfix() {
468
468
  str = 'Injects the include path to all childs, either at the front (e.g. for mocking code) or at the end.'
469
- ddrivetip("inject", "No","0..1","-",str)
469
+ ddrivetip("inject", "No","0..1","-",str)
470
470
  }
471
471
 
472
- function showSet() {
472
+ function showSet() {
473
473
  str = 'Sets a variable for this and all dependent projects.<br>'+
474
474
  'The variable can be a simple value or the result of a cmd, e.g. \"cat myVar.txt\".'
475
- ddrivetip("Set", "No","0..n","-",str)
475
+ ddrivetip("Set", "No","0..n","-",str)
476
476
  }
477
477
 
478
- function showEnv() {
478
+ function showEnv() {
479
479
  str = 'Stores the variable also in system environment, which makes it available in everything which is executed by bake, e.g. in Pre- and PostSteps.'
480
- ddrivetip("env", "No","-","false",str)
480
+ ddrivetip("env", "No","-","false",str)
481
481
  }
482
482
 
483
- function showDependency() {
483
+ function showDependency() {
484
484
  str = 'Specifies another project to be built before this project.<br>'+
485
485
  'The archive, linker libs and search paths are imported from this project to the this project automatically.<br>'+
486
486
  'If you omit the project, the current project will be used.<br>'+
@@ -488,28 +488,28 @@ function showDependency() {
488
488
  '<b>Examples:</b><br>'+
489
489
  '&nbsp;&nbsp; <i>Dependency gtest, config: lib<br>'+
490
490
  '&nbsp;&nbsp; Dependency "my/folder/proj"</i>'
491
- ddrivetip("Dependency", "No","0..n","-",str)
491
+ ddrivetip("Dependency", "No","0..n","-",str)
492
492
  }
493
493
 
494
- function showDependencyConfig() {
494
+ function showDependencyConfig() {
495
495
  str = 'Config name of the project to build.'
496
- ddrivetip("config", "Yes","-","-",str)
496
+ ddrivetip("config", "Yes","-","-",str)
497
497
  }
498
498
 
499
- function showLinkerScript() {
499
+ function showLinkerScript() {
500
500
  str = 'Specifies the name including path of the linker script.'
501
- ddrivetip("Dependency", "No","0..1","-",str)
501
+ ddrivetip("Dependency", "No","0..1","-",str)
502
502
  }
503
503
 
504
- function showMapFile() {
504
+ function showMapFile() {
505
505
  str = 'A mapfile will be written by the linker.'
506
- ddrivetip("MapFile", "No","0..1","If name attribute is omitted: $(OutputDir)/$(ArtifactNameBase).map",str)
506
+ ddrivetip("MapFile", "No","0..1","If name attribute is omitted: $(OutputDir)/$(ArtifactNameBase).map",str)
507
507
  }
508
508
 
509
- function showArtifactName() {
509
+ function showArtifactName() {
510
510
  str = 'The artifact name inclusive file ending.<br>'+
511
511
  'The artifact will be placed in the output directory.'
512
- ddrivetip("ArtifactName","No","0..1","Executable: project name + toolchain dependent file ending. Library: 'lib' + project name + '.a'",str)
512
+ ddrivetip("ArtifactName","No","0..1","Executable: project name + toolchain dependent file ending. Library: 'lib' + project name + '.a'",str)
513
513
  }
514
514
 
515
515
  function showMakefileCustom() {
@@ -517,7 +517,7 @@ function showMakefileCustom() {
517
517
  document.getElementById('commandline_part').className="hide"
518
518
  document.getElementById('makefile').className="showRadio"
519
519
  document.getElementById('commandline').className="hideRadio"
520
- ddrivetip("Makefile", "No","0..1 - Either Makefile or CommandLine","-",getMakefileDesc())
520
+ ddrivetip("Makefile", "No","0..1 - Either Makefile or CommandLine","-",getMakefileDesc())
521
521
  }
522
522
 
523
523
  function showCommandlineCustom() {
@@ -525,13 +525,13 @@ function showCommandlineCustom() {
525
525
  document.getElementById('commandline_part').className="showInline"
526
526
  document.getElementById('makefile').className="hideRadio"
527
527
  document.getElementById('commandline').className="showRadio"
528
- ddrivetip("CommandLine", "No","0..1 - Either Makefile or CommandLine","-",getCommandLineDesc())
528
+ ddrivetip("CommandLine", "No","0..1 - Either Makefile or CommandLine","-",getCommandLineDesc())
529
529
  }
530
530
 
531
531
  function flagExample() {
532
532
  return "<br>For removing flags use regular expressions which can be interpreted by ruby.<br>"+
533
533
  "Regex options for start and stop string are automatically added in order to avoid substring matches.<br><br>"+
534
- "Flag strings are always splitted at spaces and computed individually.<br><br>"+
534
+ "Flag strings are always splitted at spaces and computed individually.<br><br>"+
535
535
  "<b>Examples:</b><br>"+
536
536
  "&nbsp;&nbsp; <i>Flags \"-x -y\"</i> overwrites the inherited flags<br><br>"+
537
537
  "&nbsp;&nbsp; <i>Flags add: \"-x -y\"</i> adds -x and -y if not exist<br><br>"+
@@ -540,99 +540,99 @@ function flagExample() {
540
540
  "&nbsp;&nbsp; <i>Flags remove: \"-x\", add: \"-y\"</i><br><br>"+
541
541
  "&nbsp;&nbsp; To remove -g followed by any string, e.g. -g3, the command is:<br>"+
542
542
  "&nbsp;&nbsp; <i>Flags remove: \"-g.*\"</i><br>"+
543
- "&nbsp;&nbsp; An inherited flag string \"-abc -g3 -xy\" will end up in \"-abc -xy\"."
543
+ "&nbsp;&nbsp; An inherited flag string \"-abc -g3 -xy\" will end up in \"-abc -xy\"."
544
544
  }
545
545
 
546
546
 
547
- function showToolchainProject() {
547
+ function showToolchainProject() {
548
548
  str = 'Toolchain adaptions for a project.'
549
- ddrivetip("Toolchain", "No","0..1","The DefaultToolchain settings from the main project",str)
549
+ ddrivetip("Toolchain", "No","0..1","The DefaultToolchain settings from the main project",str)
550
550
  }
551
551
 
552
- function showDefaultToolchain() {
552
+ function showDefaultToolchain() {
553
553
  str = 'Settings which are valid for all projects and files unless they will be overwritten.<br>'+
554
554
  'The attribute "basedOn" specifies the basic toolchain configuration provided by bake, e.g. "GCC", "Diab", etc.'
555
- ddrivetip("DefaultToolchain", "In main project","0..1","-",str)
555
+ ddrivetip("DefaultToolchain", "In main project","0..1","-",str)
556
556
  }
557
557
 
558
- function showFilesFlags() {
559
- ddrivetip("Flags", "No","0..n","Flags from project","Flags from the project can be overwritten, extended or (partly) removed.<br>"+flagExample())
558
+ function showFilesFlags() {
559
+ ddrivetip("Flags", "No","0..n","Flags from project","Flags from the project can be overwritten, extended or (partly) removed.<br>"+flagExample())
560
560
  }
561
561
 
562
- function showFilesDefine() {
563
- ddrivetip("Define", "No","0..n","-","Defines which are valid only for a specific file.")
562
+ function showFilesDefine() {
563
+ ddrivetip("Define", "No","0..n","-","Defines which are valid only for a specific file.")
564
564
  }
565
565
 
566
- function showFlags() {
567
- ddrivetip("Flags", "No","0..n","Flags from DefaultToolchain","Flags from the DefaultToolchain can be overwritten, extended or (partly) removed.<br>"+flagExample())
566
+ function showFlags() {
567
+ ddrivetip("Flags", "No","0..n","Flags from DefaultToolchain","Flags from the DefaultToolchain can be overwritten, extended or (partly) removed.<br>"+flagExample())
568
568
  }
569
569
 
570
- function showDefine() {
571
- ddrivetip("Define", "No","0..n","-","Defines valid for all files in the project.")
570
+ function showDefine() {
571
+ ddrivetip("Define", "No","0..n","-","Defines valid for all files in the project.")
572
572
  }
573
573
 
574
- function showLibPrefixFlags() {
574
+ function showLibPrefixFlags() {
575
575
  ddrivetip("LibPrefixFlags", "No","0..n","-","Linker libs can be prefixed if needed, e.g. with \"-Wl,--whole-archive\".")
576
576
  }
577
577
 
578
- function showLibPostfixFlags() {
578
+ function showLibPostfixFlags() {
579
579
  ddrivetip("LibPostfixFlags", "No","0..n","-","Linker libs can be postfixed if needed, e.g. with \"-Wl,--no-whole-archive\".")
580
580
  }
581
581
 
582
- function showCompiler() {
583
- ddrivetip("Compiler", "No","0..3 (for each compiler type: ASM, CPP, C)","-","Flags and defines can be specified independently for each compiler type.")
582
+ function showCompiler() {
583
+ ddrivetip("Compiler", "No","0..3 (for each compiler type: ASM, CPP, C)","-","Flags and defines can be specified independently for each compiler type.")
584
584
  }
585
585
 
586
- function showArchiver() {
587
- ddrivetip("Archiver", "No","0..1","-","Settings for the archiver.")
586
+ function showArchiver() {
587
+ ddrivetip("Archiver", "No","0..1","-","Settings for the archiver.")
588
588
  }
589
589
 
590
- function showLinker() {
591
- ddrivetip("Linker", "No","0..1","-","Makes sense only for ExecutableConfigs.")
590
+ function showLinker() {
591
+ ddrivetip("Linker", "No","0..1","-","Makes sense only for ExecutableConfigs.")
592
592
  }
593
593
 
594
- function showLintPolicy() {
595
- ddrivetip("LintPolicy", "No","0..n","-","lnt-file - but it can be used for any other command line option for Lint.")
594
+ function showLintPolicy() {
595
+ ddrivetip("LintPolicy", "No","0..n","-","lnt-file - but it can be used for any other command line option for Lint.")
596
596
  }
597
597
 
598
- function showDocu() {
599
- ddrivetip("Docu", "No","0..1","-","Command to build the documentation. e.g.:<br>doxygen main.cfg")
598
+ function showDocu() {
599
+ ddrivetip("Docu", "No","0..1","-","Command to build the documentation. e.g.:<br>doxygen main.cfg")
600
600
  }
601
601
 
602
- function showDefaultFlags() {
603
- ddrivetip("Flags", "No","0..n","-","Default flags.")
602
+ function showDefaultFlags() {
603
+ ddrivetip("Flags", "No","0..n","-","Default flags.")
604
604
  }
605
605
 
606
- function showDefaultDefine() {
607
- ddrivetip("Define", "No","0..n","-","Defines which are valid for all files.")
606
+ function showDefaultDefine() {
607
+ ddrivetip("Define", "No","0..n","-","Defines which are valid for all files.")
608
608
  }
609
609
 
610
- function showInternalDefines() {
611
- ddrivetip("InternalDefines", "No","0..1","-","File with list of compiler internal defines.<br>One define per line.<br>Empty lines and comments with # are allowed.")
610
+ function showInternalDefines() {
611
+ ddrivetip("InternalDefines", "No","0..1","-","File with list of compiler internal defines.<br>One define per line.<br>Empty lines and comments with # are allowed.")
612
612
  }
613
613
 
614
- function showInternalIncludes() {
615
- ddrivetip("InternalIncludes", "No","0..1","-","File with list of compiler internal include folders.<br>One folder per line.<br>Empty lines and comments with # are allowed.")
614
+ function showInternalIncludes() {
615
+ ddrivetip("InternalIncludes", "No","0..1","-","File with list of compiler internal include folders.<br>One folder per line.<br>Empty lines and comments with # are allowed.")
616
616
  }
617
617
 
618
- function showDefaultCompiler() {
619
- ddrivetip("Compiler", "No","0..3 (for each compiler type: ASM, CPP, C)","-","Default compiler settings.")
618
+ function showDefaultCompiler() {
619
+ ddrivetip("Compiler", "No","0..3 (for each compiler type: ASM, CPP, C)","-","Default compiler settings.")
620
620
  }
621
621
 
622
- function showDefaultArchiver() {
623
- ddrivetip("Archiver", "No","0..1","-","Default settings for the archiver.")
622
+ function showDefaultArchiver() {
623
+ ddrivetip("Archiver", "No","0..1","-","Default settings for the archiver.")
624
624
  }
625
625
 
626
- function showDefaultLinker() {
627
- ddrivetip("Linker", "No","0..1","-","Default settings for the linker.")
626
+ function showDefaultLinker() {
627
+ ddrivetip("Linker", "No","0..1","-","Default settings for the linker.")
628
628
  }
629
629
 
630
- function showDefaultLintPolicy() {
631
- ddrivetip("LintPolicy", "No","0..n","-","lnt-file - but it can be used for any other command line option for Lint.")
630
+ function showDefaultLintPolicy() {
631
+ ddrivetip("LintPolicy", "No","0..n","-","lnt-file - but it can be used for any other command line option for Lint.")
632
632
  }
633
633
 
634
- function showCommand() {
635
- ddrivetip("command", "No","-","Depending on toolchain, e.g. \"gcc\"","Change command, e.g. \"$(PATH_TO_EXE)/gcc_speciale.exe\"")
634
+ function showCommand() {
635
+ ddrivetip("command", "No","-","Depending on toolchain, e.g. \"gcc\"","Change command, e.g. \"$(PATH_TO_EXE)/gcc_speciale.exe\"")
636
636
  }
637
637
 
638
638