bake-toolkit 2.29.4 → 2.30.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (300) hide show
  1. checksums.yaml +4 -4
  2. data/lib/adapt/config/loader.rb +2 -2
  3. data/lib/bake/cache.rb +45 -15
  4. data/lib/bake/config/loader.rb +0 -7
  5. data/lib/bake/mergeConfig.rb +14 -6
  6. data/lib/bake/options/options.rb +12 -1
  7. data/lib/bake/options/showDoc.rb +53 -20
  8. data/lib/bake/options/usage.rb +1 -0
  9. data/lib/bakeqac/options/options.rb +10 -1
  10. data/lib/bakery/options/options.rb +11 -1
  11. data/lib/common/options/finder.rb +13 -0
  12. data/lib/common/version.rb +1 -1
  13. metadata +3 -289
  14. data/documentation/_build/html/_images/AddRepository.png +0 -0
  15. data/documentation/_build/html/_images/AvailableSoftware.png +0 -0
  16. data/documentation/_build/html/_images/FirstSelect.png +0 -0
  17. data/documentation/_build/html/_images/Import.png +0 -0
  18. data/documentation/_build/html/_images/InstallNewSoftware.png +0 -0
  19. data/documentation/_build/html/_images/Licenses.png +0 -0
  20. data/documentation/_build/html/_images/New.png +0 -0
  21. data/documentation/_build/html/_images/Restart.png +0 -0
  22. data/documentation/_build/html/_images/Result.png +0 -0
  23. data/documentation/_build/html/_images/Script.png +0 -0
  24. data/documentation/_build/html/_images/SecondSelect.png +0 -0
  25. data/documentation/_build/html/_images/SelectExport.png +0 -0
  26. data/documentation/_build/html/_images/SelectImport.png +0 -0
  27. data/documentation/_build/html/_images/SelectNew.png +0 -0
  28. data/documentation/_build/html/_images/TrustMe.png +0 -0
  29. data/documentation/_build/html/_images/WrongSelect.png +0 -0
  30. data/documentation/_build/html/_images/bake_build_hierachy.png +0 -0
  31. data/documentation/_build/html/_images/bake_tagcloud.png +0 -0
  32. data/documentation/_build/html/_images/buildFile.png +0 -0
  33. data/documentation/_build/html/_images/buildMain.png +0 -0
  34. data/documentation/_build/html/_images/console.png +0 -0
  35. data/documentation/_build/html/_images/cvsp.png +0 -0
  36. data/documentation/_build/html/_images/cygwin_mount.png +0 -0
  37. data/documentation/_build/html/_images/cygwin_ruby.png +0 -0
  38. data/documentation/_build/html/_images/cygwin_tty.png +0 -0
  39. data/documentation/_build/html/_images/debug_app.png +0 -0
  40. data/documentation/_build/html/_images/debug_debug.png +0 -0
  41. data/documentation/_build/html/_images/debug_flag.png +0 -0
  42. data/documentation/_build/html/_images/debug_map.png +0 -0
  43. data/documentation/_build/html/_images/debug_path.png +0 -0
  44. data/documentation/_build/html/_images/dot.png +0 -0
  45. data/documentation/_build/html/_images/dotP.png +0 -0
  46. data/documentation/_build/html/_images/dotPC.png +0 -0
  47. data/documentation/_build/html/_images/eclipse.png +0 -0
  48. data/documentation/_build/html/_images/emacs.png +0 -0
  49. data/documentation/_build/html/_images/keys.png +0 -0
  50. data/documentation/_build/html/_images/misra.png +0 -0
  51. data/documentation/_build/html/_images/notepad.png +0 -0
  52. data/documentation/_build/html/_images/pref.png +0 -0
  53. data/documentation/_build/html/_images/problem.png +0 -0
  54. data/documentation/_build/html/_images/vim.png +0 -0
  55. data/documentation/_build/html/_images/visualstudio-pro.png +0 -0
  56. data/documentation/_build/html/_images/vs_2010_install.png +0 -0
  57. data/documentation/_build/html/_images/vs_debug.png +0 -0
  58. data/documentation/_build/html/_images/vs_error.png +0 -0
  59. data/documentation/_build/html/_images/vs_install1.png +0 -0
  60. data/documentation/_build/html/_images/vs_installed.png +0 -0
  61. data/documentation/_build/html/_images/vs_options.png +0 -0
  62. data/documentation/_build/html/_images/vs_select_config.png +0 -0
  63. data/documentation/_build/html/_images/vs_show_config.png +0 -0
  64. data/documentation/_build/html/_images/vs_update.png +0 -0
  65. data/documentation/_build/html/_images/vs_update_site.png +0 -0
  66. data/documentation/_build/html/_sources/changelog.txt +0 -588
  67. data/documentation/_build/html/_sources/commandline/commandline.txt +0 -109
  68. data/documentation/_build/html/_sources/concepts/build_hierarchy.txt +0 -34
  69. data/documentation/_build/html/_sources/concepts/concepts.txt +0 -14
  70. data/documentation/_build/html/_sources/concepts/inject.txt +0 -65
  71. data/documentation/_build/html/_sources/concepts/link_order.txt +0 -91
  72. data/documentation/_build/html/_sources/concepts/prebuild.txt +0 -57
  73. data/documentation/_build/html/_sources/concepts/the_main_project.txt +0 -45
  74. data/documentation/_build/html/_sources/concepts/the_project_meta_file.txt +0 -72
  75. data/documentation/_build/html/_sources/ide/eclipse/eclipse.txt +0 -25
  76. data/documentation/_build/html/_sources/ide/eclipse/how_to_convert_existing_cdt_workspace.txt +0 -31
  77. data/documentation/_build/html/_sources/ide/eclipse/how_to_create_a_new_project_in_eclipse.txt +0 -18
  78. data/documentation/_build/html/_sources/ide/eclipse/how_to_create_a_workspace_in_eclipse.txt +0 -27
  79. data/documentation/_build/html/_sources/ide/eclipse/how_to_debug_in_eclipse.txt +0 -38
  80. data/documentation/_build/html/_sources/ide/eclipse/how_to_install_eclipse_plugin.txt +0 -44
  81. data/documentation/_build/html/_sources/ide/eclipse/how_to_use_bake_in_eclipse.txt +0 -86
  82. data/documentation/_build/html/_sources/ide/ide_integrations.txt +0 -40
  83. data/documentation/_build/html/_sources/ide/vs/how_to_create_vs_projects.txt +0 -15
  84. data/documentation/_build/html/_sources/ide/vs/how_to_debug_in_vs.txt +0 -35
  85. data/documentation/_build/html/_sources/ide/vs/how_to_used_bake_in_vs.txt +0 -35
  86. data/documentation/_build/html/_sources/ide/vs/vs.txt +0 -10
  87. data/documentation/_build/html/_sources/ide/vs/vs_install.txt +0 -43
  88. data/documentation/_build/html/_sources/index.txt +0 -33
  89. data/documentation/_build/html/_sources/install/install_bake.txt +0 -112
  90. data/documentation/_build/html/_sources/internal.txt +0 -50
  91. data/documentation/_build/html/_sources/known_issues.txt +0 -7
  92. data/documentation/_build/html/_sources/license.txt +0 -4
  93. data/documentation/_build/html/_sources/performance/performance.txt +0 -104
  94. data/documentation/_build/html/_sources/quickstart/quickstart.txt +0 -70
  95. data/documentation/_build/html/_sources/syntax/adapt_configs.txt +0 -254
  96. data/documentation/_build/html/_sources/syntax/auto_adjustment.txt +0 -43
  97. data/documentation/_build/html/_sources/syntax/derive_configs.txt +0 -93
  98. data/documentation/_build/html/_sources/syntax/project_meta_syntax.txt +0 -19
  99. data/documentation/_build/html/_sources/syntax/syntax.txt +0 -11
  100. data/documentation/_build/html/_sources/syntax/variable_substitutions.txt +0 -148
  101. data/documentation/_build/html/_sources/tips_and_tricks/bakeclean.txt +0 -11
  102. data/documentation/_build/html/_sources/tips_and_tricks/dot.txt +0 -34
  103. data/documentation/_build/html/_sources/tips_and_tricks/how_to_use_bake_with_cygwin.txt +0 -62
  104. data/documentation/_build/html/_sources/tips_and_tricks/qac.txt +0 -160
  105. data/documentation/_build/html/_sources/tips_and_tricks/the_bakery.txt +0 -72
  106. data/documentation/_build/html/_sources/tips_and_tricks/the_clang.txt +0 -43
  107. data/documentation/_build/html/_sources/tips_and_tricks/tips_and_tricks.txt +0 -35
  108. data/documentation/_build/html/_sources/why_bake/why_bake.txt +0 -40
  109. data/documentation/_build/html/_static/AddRepository.png +0 -0
  110. data/documentation/_build/html/_static/AvailableSoftware.png +0 -0
  111. data/documentation/_build/html/_static/FirstSelect.png +0 -0
  112. data/documentation/_build/html/_static/Import.png +0 -0
  113. data/documentation/_build/html/_static/InstallNewSoftware.png +0 -0
  114. data/documentation/_build/html/_static/Lib.meta +0 -8
  115. data/documentation/_build/html/_static/Licenses.png +0 -0
  116. data/documentation/_build/html/_static/Main.meta +0 -26
  117. data/documentation/_build/html/_static/New.png +0 -0
  118. data/documentation/_build/html/_static/PMetaMain.meta +0 -15
  119. data/documentation/_build/html/_static/PMetaSub.meta +0 -15
  120. data/documentation/_build/html/_static/Restart.png +0 -0
  121. data/documentation/_build/html/_static/Result.png +0 -0
  122. data/documentation/_build/html/_static/Script.png +0 -0
  123. data/documentation/_build/html/_static/SecondSelect.png +0 -0
  124. data/documentation/_build/html/_static/Select.png +0 -0
  125. data/documentation/_build/html/_static/SelectExport.png +0 -0
  126. data/documentation/_build/html/_static/SelectImport.png +0 -0
  127. data/documentation/_build/html/_static/SelectNew.png +0 -0
  128. data/documentation/_build/html/_static/TrustMe.png +0 -0
  129. data/documentation/_build/html/_static/WrongSelect.png +0 -0
  130. data/documentation/_build/html/_static/ajax-loader.gif +0 -0
  131. data/documentation/_build/html/_static/bake_build_hierachy.png +0 -0
  132. data/documentation/_build/html/_static/bake_tagcloud.png +0 -0
  133. data/documentation/_build/html/_static/basic.css +0 -599
  134. data/documentation/_build/html/_static/bootstrap-2.3.2/css/bootstrap-responsive.css +0 -1109
  135. data/documentation/_build/html/_static/bootstrap-2.3.2/css/bootstrap-responsive.min.css +0 -9
  136. data/documentation/_build/html/_static/bootstrap-2.3.2/css/bootstrap.css +0 -6167
  137. data/documentation/_build/html/_static/bootstrap-2.3.2/css/bootstrap.min.css +0 -9
  138. data/documentation/_build/html/_static/bootstrap-2.3.2/img/glyphicons-halflings-white.png +0 -0
  139. data/documentation/_build/html/_static/bootstrap-2.3.2/img/glyphicons-halflings.png +0 -0
  140. data/documentation/_build/html/_static/bootstrap-2.3.2/js/bootstrap.js +0 -2287
  141. data/documentation/_build/html/_static/bootstrap-2.3.2/js/bootstrap.min.js +0 -6
  142. data/documentation/_build/html/_static/bootstrap-3.3.4/css/bootstrap-theme.css +0 -476
  143. data/documentation/_build/html/_static/bootstrap-3.3.4/css/bootstrap-theme.css.map +0 -1
  144. data/documentation/_build/html/_static/bootstrap-3.3.4/css/bootstrap-theme.min.css +0 -5
  145. data/documentation/_build/html/_static/bootstrap-3.3.4/css/bootstrap.css +0 -6584
  146. data/documentation/_build/html/_static/bootstrap-3.3.4/css/bootstrap.css.map +0 -1
  147. data/documentation/_build/html/_static/bootstrap-3.3.4/css/bootstrap.min.css +0 -5
  148. data/documentation/_build/html/_static/bootstrap-3.3.4/fonts/glyphicons-halflings-regular.eot +0 -0
  149. data/documentation/_build/html/_static/bootstrap-3.3.4/fonts/glyphicons-halflings-regular.svg +0 -288
  150. data/documentation/_build/html/_static/bootstrap-3.3.4/fonts/glyphicons-halflings-regular.ttf +0 -0
  151. data/documentation/_build/html/_static/bootstrap-3.3.4/fonts/glyphicons-halflings-regular.woff +0 -0
  152. data/documentation/_build/html/_static/bootstrap-3.3.4/fonts/glyphicons-halflings-regular.woff2 +0 -0
  153. data/documentation/_build/html/_static/bootstrap-3.3.4/js/bootstrap.js +0 -2317
  154. data/documentation/_build/html/_static/bootstrap-3.3.4/js/bootstrap.min.js +0 -7
  155. data/documentation/_build/html/_static/bootstrap-3.3.4/js/npm.js +0 -13
  156. data/documentation/_build/html/_static/bootstrap-sphinx.css +0 -186
  157. data/documentation/_build/html/_static/bootstrap-sphinx.js +0 -162
  158. data/documentation/_build/html/_static/bootswatch-2.3.2/amelia/bootstrap.min.css +0 -9
  159. data/documentation/_build/html/_static/bootswatch-2.3.2/cerulean/bootstrap.min.css +0 -9
  160. data/documentation/_build/html/_static/bootswatch-2.3.2/cosmo/bootstrap.min.css +0 -9
  161. data/documentation/_build/html/_static/bootswatch-2.3.2/cyborg/bootstrap.min.css +0 -9
  162. data/documentation/_build/html/_static/bootswatch-2.3.2/flatly/bootstrap.min.css +0 -9
  163. data/documentation/_build/html/_static/bootswatch-2.3.2/img/glyphicons-halflings-white.png +0 -0
  164. data/documentation/_build/html/_static/bootswatch-2.3.2/img/glyphicons-halflings.png +0 -0
  165. data/documentation/_build/html/_static/bootswatch-2.3.2/journal/bootstrap.min.css +0 -9
  166. data/documentation/_build/html/_static/bootswatch-2.3.2/readable/bootstrap.min.css +0 -9
  167. data/documentation/_build/html/_static/bootswatch-2.3.2/simplex/bootstrap.min.css +0 -9
  168. data/documentation/_build/html/_static/bootswatch-2.3.2/slate/bootstrap.min.css +0 -9
  169. data/documentation/_build/html/_static/bootswatch-2.3.2/spacelab/bootstrap.min.css +0 -9
  170. data/documentation/_build/html/_static/bootswatch-2.3.2/spruce/bootstrap.min.css +0 -9
  171. data/documentation/_build/html/_static/bootswatch-2.3.2/superhero/bootstrap.min.css +0 -9
  172. data/documentation/_build/html/_static/bootswatch-2.3.2/united/bootstrap.min.css +0 -9
  173. data/documentation/_build/html/_static/bootswatch-3.3.4/cerulean/bootstrap.min.css +0 -7
  174. data/documentation/_build/html/_static/bootswatch-3.3.4/cosmo/bootstrap.min.css +0 -7
  175. data/documentation/_build/html/_static/bootswatch-3.3.4/custom/bootstrap.min.css +0 -7
  176. data/documentation/_build/html/_static/bootswatch-3.3.4/cyborg/bootstrap.min.css +0 -7
  177. data/documentation/_build/html/_static/bootswatch-3.3.4/darkly/bootstrap.min.css +0 -7
  178. data/documentation/_build/html/_static/bootswatch-3.3.4/flatly/bootstrap.min.css +0 -7
  179. data/documentation/_build/html/_static/bootswatch-3.3.4/fonts/glyphicons-halflings-regular.eot +0 -0
  180. data/documentation/_build/html/_static/bootswatch-3.3.4/fonts/glyphicons-halflings-regular.svg +0 -288
  181. data/documentation/_build/html/_static/bootswatch-3.3.4/fonts/glyphicons-halflings-regular.ttf +0 -0
  182. data/documentation/_build/html/_static/bootswatch-3.3.4/fonts/glyphicons-halflings-regular.woff +0 -0
  183. data/documentation/_build/html/_static/bootswatch-3.3.4/fonts/glyphicons-halflings-regular.woff2 +0 -0
  184. data/documentation/_build/html/_static/bootswatch-3.3.4/journal/bootstrap.min.css +0 -7
  185. data/documentation/_build/html/_static/bootswatch-3.3.4/lumen/bootstrap.min.css +0 -7
  186. data/documentation/_build/html/_static/bootswatch-3.3.4/paper/bootstrap.min.css +0 -7
  187. data/documentation/_build/html/_static/bootswatch-3.3.4/readable/bootstrap.min.css +0 -7
  188. data/documentation/_build/html/_static/bootswatch-3.3.4/sandstone/bootstrap.min.css +0 -7
  189. data/documentation/_build/html/_static/bootswatch-3.3.4/simplex/bootstrap.min.css +0 -7
  190. data/documentation/_build/html/_static/bootswatch-3.3.4/slate/bootstrap.min.css +0 -7
  191. data/documentation/_build/html/_static/bootswatch-3.3.4/spacelab/bootstrap.min.css +0 -7
  192. data/documentation/_build/html/_static/bootswatch-3.3.4/superhero/bootstrap.min.css +0 -7
  193. data/documentation/_build/html/_static/bootswatch-3.3.4/united/bootstrap.min.css +0 -7
  194. data/documentation/_build/html/_static/bootswatch-3.3.4/yeti/bootstrap.min.css +0 -7
  195. data/documentation/_build/html/_static/buildFile.png +0 -0
  196. data/documentation/_build/html/_static/buildMain.png +0 -0
  197. data/documentation/_build/html/_static/comment-bright.png +0 -0
  198. data/documentation/_build/html/_static/comment-close.png +0 -0
  199. data/documentation/_build/html/_static/comment.png +0 -0
  200. data/documentation/_build/html/_static/console.png +0 -0
  201. data/documentation/_build/html/_static/cvsp.png +0 -0
  202. data/documentation/_build/html/_static/cygwin_mount.png +0 -0
  203. data/documentation/_build/html/_static/cygwin_ruby.png +0 -0
  204. data/documentation/_build/html/_static/cygwin_tty.png +0 -0
  205. data/documentation/_build/html/_static/debug_app.png +0 -0
  206. data/documentation/_build/html/_static/debug_debug.png +0 -0
  207. data/documentation/_build/html/_static/debug_flag.png +0 -0
  208. data/documentation/_build/html/_static/debug_map.png +0 -0
  209. data/documentation/_build/html/_static/debug_path.png +0 -0
  210. data/documentation/_build/html/_static/doctools.js +0 -263
  211. data/documentation/_build/html/_static/dot.png +0 -0
  212. data/documentation/_build/html/_static/dotP.png +0 -0
  213. data/documentation/_build/html/_static/dotPC.png +0 -0
  214. data/documentation/_build/html/_static/down-pressed.png +0 -0
  215. data/documentation/_build/html/_static/down.png +0 -0
  216. data/documentation/_build/html/_static/eclipse.png +0 -0
  217. data/documentation/_build/html/_static/emacs.png +0 -0
  218. data/documentation/_build/html/_static/file.png +0 -0
  219. data/documentation/_build/html/_static/jquery-1.11.1.js +0 -10308
  220. data/documentation/_build/html/_static/jquery.js +0 -4
  221. data/documentation/_build/html/_static/js/jquery-1.11.0.min.js +0 -4
  222. data/documentation/_build/html/_static/js/jquery-fix.js +0 -2
  223. data/documentation/_build/html/_static/keys.png +0 -0
  224. data/documentation/_build/html/_static/logo_tiny_32.ico +0 -0
  225. data/documentation/_build/html/_static/logo_tiny_48.png +0 -0
  226. data/documentation/_build/html/_static/minus.png +0 -0
  227. data/documentation/_build/html/_static/misra.png +0 -0
  228. data/documentation/_build/html/_static/notepad.png +0 -0
  229. data/documentation/_build/html/_static/plus.png +0 -0
  230. data/documentation/_build/html/_static/pref.png +0 -0
  231. data/documentation/_build/html/_static/problem.png +0 -0
  232. data/documentation/_build/html/_static/pygments.css +0 -63
  233. data/documentation/_build/html/_static/roboto.css +0 -112
  234. data/documentation/_build/html/_static/searchtools.js +0 -622
  235. data/documentation/_build/html/_static/syntax.html +0 -753
  236. data/documentation/_build/html/_static/syntax_collection_meta.html +0 -179
  237. data/documentation/_build/html/_static/underscore-1.3.1.js +0 -999
  238. data/documentation/_build/html/_static/underscore.js +0 -31
  239. data/documentation/_build/html/_static/up-pressed.png +0 -0
  240. data/documentation/_build/html/_static/up.png +0 -0
  241. data/documentation/_build/html/_static/vim.png +0 -0
  242. data/documentation/_build/html/_static/visualstudio-pro.png +0 -0
  243. data/documentation/_build/html/_static/vs_2010_install.png +0 -0
  244. data/documentation/_build/html/_static/vs_debug.png +0 -0
  245. data/documentation/_build/html/_static/vs_error.png +0 -0
  246. data/documentation/_build/html/_static/vs_install1.png +0 -0
  247. data/documentation/_build/html/_static/vs_installed.png +0 -0
  248. data/documentation/_build/html/_static/vs_options.png +0 -0
  249. data/documentation/_build/html/_static/vs_select_config.png +0 -0
  250. data/documentation/_build/html/_static/vs_show_config.png +0 -0
  251. data/documentation/_build/html/_static/vs_update.png +0 -0
  252. data/documentation/_build/html/_static/vs_update_site.png +0 -0
  253. data/documentation/_build/html/_static/websupport.js +0 -808
  254. data/documentation/_build/html/changelog.html +0 -1178
  255. data/documentation/_build/html/commandline/commandline.html +0 -286
  256. data/documentation/_build/html/concepts/build_hierarchy.html +0 -205
  257. data/documentation/_build/html/concepts/concepts.html +0 -197
  258. data/documentation/_build/html/concepts/inject.html +0 -217
  259. data/documentation/_build/html/concepts/link_order.html +0 -246
  260. data/documentation/_build/html/concepts/prebuild.html +0 -206
  261. data/documentation/_build/html/concepts/the_main_project.html +0 -261
  262. data/documentation/_build/html/concepts/the_project_meta_file.html +0 -289
  263. data/documentation/_build/html/genindex.html +0 -153
  264. data/documentation/_build/html/ide/eclipse/eclipse.html +0 -187
  265. data/documentation/_build/html/ide/eclipse/how_to_convert_existing_cdt_workspace.html +0 -209
  266. data/documentation/_build/html/ide/eclipse/how_to_create_a_new_project_in_eclipse.html +0 -192
  267. data/documentation/_build/html/ide/eclipse/how_to_create_a_workspace_in_eclipse.html +0 -199
  268. data/documentation/_build/html/ide/eclipse/how_to_debug_in_eclipse.html +0 -199
  269. data/documentation/_build/html/ide/eclipse/how_to_install_eclipse_plugin.html +0 -197
  270. data/documentation/_build/html/ide/eclipse/how_to_use_bake_in_eclipse.html +0 -257
  271. data/documentation/_build/html/ide/ide_integrations.html +0 -186
  272. data/documentation/_build/html/ide/vs/how_to_create_vs_projects.html +0 -172
  273. data/documentation/_build/html/ide/vs/how_to_debug_in_vs.html +0 -186
  274. data/documentation/_build/html/ide/vs/how_to_used_bake_in_vs.html +0 -191
  275. data/documentation/_build/html/ide/vs/vs.html +0 -171
  276. data/documentation/_build/html/ide/vs/vs_install.html +0 -203
  277. data/documentation/_build/html/index.html +0 -247
  278. data/documentation/_build/html/install/install_bake.html +0 -280
  279. data/documentation/_build/html/internal.html +0 -218
  280. data/documentation/_build/html/known_issues.html +0 -174
  281. data/documentation/_build/html/license.html +0 -237
  282. data/documentation/_build/html/objects.inv +0 -0
  283. data/documentation/_build/html/performance/performance.html +0 -374
  284. data/documentation/_build/html/quickstart/quickstart.html +0 -237
  285. data/documentation/_build/html/search.html +0 -175
  286. data/documentation/_build/html/searchindex.js +0 -1
  287. data/documentation/_build/html/syntax/adapt_configs.html +0 -389
  288. data/documentation/_build/html/syntax/auto_adjustment.html +0 -190
  289. data/documentation/_build/html/syntax/derive_configs.html +0 -248
  290. data/documentation/_build/html/syntax/project_meta_syntax.html +0 -934
  291. data/documentation/_build/html/syntax/syntax.html +0 -198
  292. data/documentation/_build/html/syntax/variable_substitutions.html +0 -366
  293. data/documentation/_build/html/tips_and_tricks/bakeclean.html +0 -170
  294. data/documentation/_build/html/tips_and_tricks/dot.html +0 -187
  295. data/documentation/_build/html/tips_and_tricks/how_to_use_bake_with_cygwin.html +0 -215
  296. data/documentation/_build/html/tips_and_tricks/qac.html +0 -298
  297. data/documentation/_build/html/tips_and_tricks/the_bakery.html +0 -406
  298. data/documentation/_build/html/tips_and_tricks/the_clang.html +0 -202
  299. data/documentation/_build/html/tips_and_tricks/tips_and_tricks.html +0 -199
  300. data/documentation/_build/html/why_bake/why_bake.html +0 -242
@@ -1,43 +0,0 @@
1
- Auto-adjustment of paths to existing projects
2
- =============================================
3
-
4
- If paths to other projects are needed, e.g. to "bootloaderUpdater", don't write a hard coded relative path like this:
5
-
6
- .. code-block:: text
7
-
8
- CommandLine "../bootloaderUpdater/tools/PrimaryBootloader2Include.exe
9
-
10
- If paths to other projects are needed, e.g. to "bootloaderUpdater" just reference it starting from the project folder.
11
-
12
- Example:
13
-
14
- .. code-block:: text
15
-
16
- CommandLine "bootloaderUpdater/tools/PrimaryBootloader2Include.exe
17
-
18
- or:
19
-
20
- .. code-block:: text
21
-
22
- IncludeDir "myProjectName/bootloaderUpdater/whatever"
23
-
24
-
25
-
26
- bake recognizes that the first part of the path is a valid project name and calculates the relative path to the project automatically.
27
- If you have the special case that the referenced project is contained in an other workspace root, you can use the
28
- `-w` parameter or you define a `roots.bake`.
29
-
30
- .. note::
31
-
32
- The path auto adjustment is applied for the following elements:
33
-
34
- * IncludeDir
35
-
36
- * ExternalLibrary
37
-
38
- * ExternalLibrarySearchPath
39
-
40
- * UserLibrary
41
-
42
- * CommandLine
43
-
@@ -1,93 +0,0 @@
1
- Derive configs
2
- ==============
3
-
4
- bake supports deriving configs, which allows you to put repetetive settings in a base config.
5
-
6
- Deriving a config
7
- *****************
8
-
9
- Derving a config in bake is pretty straight forward, and looks like this:
10
-
11
- .. code-block:: text
12
-
13
- ExecutableConfig A
14
- LibraryConfig B, extends: A
15
- CustomConfig C, extends: B
16
- ExecutableConfig D, extends: C
17
-
18
- .. note::
19
-
20
- The config type of the parent config does not matter, but only settings which are valid in BOTH configs will be inherited.
21
- In the example above D gets the dependencies from A, because "Dependency" is valid in all configs, but D does not get
22
- the "Files" from A and B, because "Files" is not valid in CustomConfig.
23
-
24
-
25
- Inheritance implications
26
- ************************
27
-
28
- In general it is very easy.
29
-
30
- - Elements which can exist more than once (e.g. "Files"), are simply concatenated. First the parent elements, then the client elements.
31
- - Elements which can exist only once:
32
-
33
- - if it exists in EITHER child OR parent, use this one
34
- - is it exists in BOTH, attributes are merged (child attributes have high priority) and sub elements are inherited recursively
35
-
36
- The following example
37
-
38
- .. code-block:: text
39
-
40
- ExecutableConfig A {
41
- Files "x.cpp"
42
- Files "y.cpp"
43
- ArtifactName "z.exe"
44
- DefaultToolchain GCC {
45
- Linker {
46
- Flags "-O3"
47
- }
48
- }
49
- }
50
- ExecutableConfig B, extends: A {
51
- Files "z.cpp"
52
- IncludeDir "inc"
53
- ArtifactName "a.exe"
54
- DefaultToolchain Diab {
55
- Compiler CPP {
56
- Define "TEST"
57
- }
58
- }
59
- }
60
-
61
- results implicitly in:
62
-
63
- .. code-block:: text
64
-
65
- ExecutableConfig B {
66
- Files "x.cpp"
67
- Files "y.cpp"
68
- Files "z.cpp"
69
- IncludeDir "inc"
70
- ArtifactName "a.exe"
71
- DefaultToolchain Diab {
72
- Compiler CPP {
73
- Define "TEST"
74
- }
75
- Linker {
76
- Flags "-O3"
77
- }
78
- }
79
- }
80
-
81
-
82
- Multiple inheritance
83
- ********************
84
-
85
- It is possible to derive from several projects:
86
-
87
- .. code-block:: text
88
-
89
- ExecutableConfig A
90
- LibraryConfig B
91
- ExecutableConfig C, extends: "A, B"
92
-
93
- "extends" defines a comma separated list. The merge will be performed with all parent configs.
@@ -1,19 +0,0 @@
1
- The Syntax of the Project.meta file
2
- ===================================
3
-
4
- Instructions for the Interactive Syntax Viewer
5
- **********************************************
6
-
7
- * Move the mouse cursor over the blue elements to display more information.
8
-
9
- * Three config types exist: ExecutableConfig, LibraryConfig and CustomConfig. Move the mouse cursor over these elements to display the supported content.
10
-
11
- .. raw:: html
12
- :file: ../_static/syntax.html
13
-
14
- .. note::
15
- Specify the paths always relative to the current project root, but keep the variable substitution in Project.meta in mind.
16
-
17
- * Use double quotes (") if the strings have spaces or slashes.
18
-
19
- * Use hash marks (#) for comments.
@@ -1,11 +0,0 @@
1
- Syntax
2
- ==========
3
-
4
- .. toctree::
5
- :maxdepth: 2
6
-
7
- project_meta_syntax
8
- variable_substitutions
9
- derive_configs
10
- adapt_configs
11
- auto_adjustment
@@ -1,148 +0,0 @@
1
- Variables in Project.meta
2
- =========================
3
- bake allows you to use
4
-
5
- - user defined
6
- - predefined
7
- - environment
8
-
9
- variables in your Project.meta file (in this priority). If a variable is not found, it will be evaluated to an empty string.
10
-
11
- Using variables
12
- ***************
13
-
14
- Variables can be used using the following syntax:
15
-
16
- .. code-block:: console
17
-
18
- $(ABC)
19
-
20
- The variable ABC will be substituted by its value, therefore a real life usage would look
21
- something like this:
22
-
23
- .. code-block:: console
24
-
25
- IncludeDir "$(ABC)"
26
-
27
- User defined variables
28
- **********************
29
-
30
- There are two ways to create user defined variables.
31
-
32
- #. The variable is defined with the `--set` command line option:
33
-
34
- .. code-block:: console
35
-
36
- User@Host:~$ bake ... --set MyVar="Hello world!"
37
-
38
- #. THe variable is defined directly in the Project.meta file.
39
-
40
- .. code-block:: console
41
-
42
- Set MyVar, value: "Hello world!"
43
- Set MyVar, cmd: "ruby calcVar.rb"
44
-
45
- In the latter one the variable is set to the output of the command.
46
-
47
- Predefined bake environment variables
48
- *************************************
49
-
50
- ======================================== =============================================== ========================================
51
- Variable Description Example
52
- ======================================== =============================================== ========================================
53
- *$(MainConfigName)* Evaluates to the main config name Debug
54
-
55
- *$(MainProjectName)* Evaluates to the main project name bootloader
56
-
57
- *$(ConfigName)* Evaluates to the config name lib
58
-
59
- *$(ProjectName)* Evaluates to the project name canDriver
60
-
61
- *$(ProjectDir)* Evaluates to the full path of the project C:/Root/MyProject
62
- directory
63
-
64
- *$(MainProjectDir)* Evaluates to the full path of the root projec C:/Root/Main
65
- directory
66
-
67
- *$(OutputDir)* Evaluates to the full path of the output build/lib_bootloader_Debug
68
- directory of the current config
69
-
70
- *$(OutputDir,projName,confName)* Evaluates to the output dir of a specific build/lib_some_Debug
71
- config
72
-
73
- *$(ArtifactName)* Evaluates to the artifact. bootloader_1.0.elf
74
-
75
- *$(ArtifactNameBase)* Evaluates to the base artifact name bootloader_1.0
76
- (Without file exension)
77
-
78
- *$(Time)* Evaluates to the current time 2012-12-24 20:00:00 +0200
79
-
80
- *$(Hostname)* Evaluates to the hostname MY_COMPUTER
81
-
82
- *$(CPPPath)* Evaluates to the base path of the /usr/bin
83
- c++ compiler
84
-
85
- *$(CPath)* Evaluates to the base path of the /usr/bin
86
- c compiler
87
-
88
- *$(ASMPath)* Evaluates to the base path of the /usr/bin
89
- assembler
90
-
91
- *$(ArchiverPath)* Evaluates to the base path of the /usr/bin
92
- archiver
93
-
94
- *$(LinkerPath)* Evaluates to the base path of the /usr/bin
95
- linker
96
-
97
- *$(ToolchainName)* Names of the used DefaultToolchain GCC
98
-
99
- *$(/)* Evalutes to the directory path seperator of Windows: \\, Other: /
100
- the current platform
101
-
102
- *$(:)* Evaluates to the path variable seperator Windows: ;, Other: :
103
- of the current platform
104
- ======================================== =============================================== ========================================
105
-
106
- Environment variables
107
- *********************
108
-
109
- Usually used if system dependent stuff is needed like path to a specific tool etc.
110
-
111
- Nested variables
112
- ****************
113
- It is also possible to nest variables.
114
-
115
- Example:
116
-
117
- .. code-block:: console
118
-
119
- $(ABC$(DEF)GH)
120
-
121
-
122
- Complex variables
123
- *****************
124
-
125
- bake supports one complex variable:
126
-
127
- .. code-block:: console
128
-
129
- $(OutputDir,$(TheProject),$(TheConfig))
130
-
131
- This will evaluate to the output directory of a specific configuration.
132
-
133
- Notes and warnings
134
- ******************
135
-
136
- Equal variables in the main config:
137
-
138
- ======================================== ========================================
139
- Variable Is equal to
140
- ======================================== ========================================
141
- $(MainConfigName) $(ConfigName)
142
-
143
- $(MainProjectName) $(ProjectName)
144
- ======================================== ========================================
145
-
146
- .. warning::
147
-
148
- Variables in Dependency definitions are not allowed!
@@ -1,11 +0,0 @@
1
- bakeclean
2
- *********
3
-
4
- With bakeclean you can cleanup your workspace from .bake, .bake/../build and .bake/../build_* folders.
5
-
6
- Folders are searched recursively from current working directory. Call it without any parameters to start the procedure.
7
-
8
- To preview the deleted folders, use "--preview" as argument. The filesystem will not be changed in preview mode.
9
-
10
- .. warning::
11
- Folders will be deleted without any warning. They will be deleted even if they are not empty.
@@ -1,34 +0,0 @@
1
- Generating dot graphs
2
- *********************
3
-
4
- In larger workspaces it's often hard to understand the dependency structure. With bake you can generate a dot file (see http://www.graphviz.org):
5
-
6
- .. code-block:: console
7
-
8
- bake ... --dot <dot filename>
9
-
10
- The dot file is a text file with all dependencies included. It is easy to render an image, e.g. with
11
-
12
- .. code-block:: console
13
-
14
- tred <dot filename> | dot -Tpng -o <png image filename>
15
-
16
- .. image:: ../_static/dot.png
17
-
18
- - Projects are rectangles
19
- - Configs are ellipses
20
- - CustomConfigs are red
21
- - ExecutableConfigs are green
22
- - LibraryConfigs are cyan
23
-
24
- It's possible to generate only a part of the whole graph with -p (same as for building only a part of the code). e.g.:
25
-
26
- .. code-block:: console
27
-
28
- bake ... --dot <dot filename> -p lib2
29
- bake ... --dot <dot filename> -p lib2,testa
30
-
31
- Which results in:
32
-
33
- .. image:: ../_static/dotP.png
34
- .. image:: ../_static/dotPC.png
@@ -1,62 +0,0 @@
1
- How to use bake with cygwin
2
- ===========================
3
- Why using Cygwin on Windows instead of the built-in command shell?
4
- There is one major reason: Cygwin supports **colored output** via ansi escape sequences.
5
- Note, that these steps differ depending on the Cygwin version, installed packages and configuration.
6
-
7
- #. Get rid of the cygdrive prefix
8
-
9
- .. image:: ../_static/cygwin_mount.png
10
- :width: 100 %
11
- :scale: 50 %
12
-
13
- As you see, "c:" is now "/c" and not "/cygdrive/c" anymore.
14
-
15
- .. note::
16
-
17
- In newer Cygwin versions, this is not permanent. To make it permanent,
18
- add the following line to /etc/fstab (can be found in your Cygwin installation directory):
19
-
20
- .. code-block:: console
21
-
22
- none / cygdrive binary,posix=0,user 0 0
23
-
24
- #. Get rid of the Cygwin ruby
25
-
26
- .. image:: ../_static/cygwin_ruby.png
27
- :width: 100 %
28
- :scale: 50 %
29
-
30
- Easiest way is to rename the Cygwin ruby, which makes the original ruby visible.
31
- This is only necessary if you have ruby installed in our Cygwin environment.
32
-
33
- #. Add tty to CYGWIN option
34
-
35
- .. image:: ../_static/cygwin_tty.png
36
- :width: 100 %
37
- :scale: 70 %
38
-
39
- "tty" must be added to the CYGWIN system variable.
40
-
41
- #. Switch to raw mode
42
-
43
- The ctrl-c handler in Cygwin only works for programs compiled with the correct Cygwin libs. This does not apply to
44
- most ruby installations. Hitting ctrl-c may interrupt the compiler, but bake does not get this signal.
45
-
46
- You can set the Cygwin console to raw mode:
47
-
48
- .. code-block:: console
49
-
50
- stty raw
51
-
52
- Now bake can read ctrl-c as raw character on stdin. Bake will abort after all subprocesses - like the running compilation steps - have returned.
53
-
54
- #. Start the build
55
-
56
- Use the parameter "-a black" or "-a white" depending on the background color of your shell.
57
- Depending on your Cygwin installation, you have to call "bake.bat" instead of "bake". To avoid this, create an alias, e.g:
58
-
59
- .. code-block:: console
60
-
61
- alias bake=/c/Programme/_dev/Ruby192/bin/bake.bat
62
-
@@ -1,160 +0,0 @@
1
- QACPP
2
- *****
3
-
4
- bakeqac is a convenience wrapper for QACPP with some nice features.
5
-
6
- Without bakeqac
7
- ---------------
8
-
9
- QACPP can be called directly from command line:
10
-
11
- .. code-block:: console
12
-
13
- qacli admin --qaf-project-config --qaf-project qacdata --cct <cct> --rcf <rcf> --acf <acf>
14
- qacli analyze -P qacdata -b <bake call>
15
- qacli view -P qacdata -m STDOUT
16
- qacli report -P qacdata -t SUR # or -t RCR. Please also note, that the "view" is not necessary to generate the reports.
17
-
18
- - The first command creates the qac project database.
19
- - The second command builds and analyzes the files.
20
- - The third command prints out the result unfiltered.
21
- - The forth command generates reports. You may replace the python scripts in PRQA to adapt the output.
22
-
23
- With bakeqac
24
- ------------
25
-
26
- Instead of writing
27
-
28
- .. code-block:: console
29
-
30
- bake <options>
31
-
32
- for regular build, simply write:
33
-
34
- .. code-block:: console
35
-
36
- bakeqac <options>
37
-
38
- bakeqac will automatically do the first three steps mentioned above. If one of these steps fails, the consecutive steps will be dismissed.
39
-
40
- You can also choose certain steps (can be combined with "|"):
41
-
42
- .. code-block:: console
43
-
44
- bakeqac <options> --qacstep admin|analyze|view|report
45
- bakeqac <options> --qacstep admin
46
- etc.
47
-
48
- Step 1: admin
49
- -------------
50
-
51
- You have to set the environment variable QAC_HOME, e.g. to *c:\\tools\\prqa\\PRQA-Framework-2.1.0*. If not specified otherwise, cct, rcf and acf will be automatically chosen.
52
-
53
- - Configuration compiler template (cct): Only GCC is supported. bakeqac tries to get the platform and the GCC version and calculates the path to the right cct file. To overwrite this behaviour, specify one or more ccts:
54
-
55
- .. code-block:: console
56
-
57
- bakeqac <options> --cct <first> --cct <second>
58
-
59
- Alternatively, you can add
60
-
61
- .. code-block:: console
62
-
63
- bakeqac <options> --c++11
64
- bakeqac <options> --c++14
65
-
66
- to enforce bakeqac choosing the C++11 or C++14 toolchain.
67
-
68
- If --cct is not used, bakeqac uses a built-in cct file as mentioned above. Additionally, it searched for a file named qac.cct up to root and appends the content to the original cct file.
69
- This may be used to add additional configuration parameters which are compiler independent, e.q. "-n 1234" suppresses warning 1234.
70
-
71
- - Rule configuration file (rcf): Can be specified with:
72
-
73
- .. code-block:: console
74
-
75
- bakeqac <options> --rcf <rcf>
76
-
77
- If not specified, bakeqac uses $(QAC_HOME)/config/rcf/mcpp-1_5_1-en_US.rcf.
78
-
79
- - Analysis configuration file (acf): Can be specified with:
80
-
81
- .. code-block:: console
82
-
83
- bakeqac <options> --acf <acf>
84
-
85
- If not specified, $(QAC_HOME)/config/acf/default.acf will be used.
86
-
87
- - You can also specify the qacdata folder, default is *.qacdata*:
88
-
89
- .. code-block:: console
90
-
91
- bakeqac <options> --qacdata anotherFolder
92
-
93
-
94
- Step 2: analyze
95
- ---------------
96
-
97
- This is the main step. Use exactly the same options for bakeqac as for bake. A few things have to be mentioned:
98
-
99
- - *--compile-only* will be automatically added
100
- - *--rebuild* will be automatically added
101
-
102
- The output will be filtered per default (e.g. some warnings) . To get unfiltered output, write:
103
-
104
- .. code-block:: console
105
-
106
- bakeqac <options> --qacnofilter
107
-
108
- Step 3: view
109
- ------------
110
-
111
- Results are also filtered in this step if not specified otherwise:
112
-
113
- - Only results from compiled bake projects will be shown (which does not apply to e.g. compiler libraries). To narrow the results, use the *-p* option.
114
- - Files from subfolders test and mock will be filtered out.
115
- - Files from projects gtest and gmock will be filtered out.
116
-
117
- bakeqac slightly reformats the output (originally the violated MISRA rule numbers are printed out incomplete). To switch back to raw format, use:
118
-
119
- .. code-block:: console
120
-
121
- bakeqac <options> --qacrawformat
122
-
123
- To get additional links to the appropriate documentation pages use:
124
-
125
- .. code-block:: console
126
-
127
- bakeqac <options> --qacdoc
128
-
129
- Colored output is also supported similar to bake:
130
-
131
- .. code-block:: console
132
-
133
- bakeqac <options> -a <color_scheme>
134
-
135
- Step 4: report
136
- --------------
137
-
138
- Reports about the warnings and suppressed warnings are be generated.
139
-
140
-
141
- Additional options
142
- ------------------
143
-
144
- QACPP needs a license. If floating licenses are not available, bakeqac can retry to checkout them:
145
-
146
- .. code-block:: console
147
-
148
- bakeqac <options> --qacretry <seconds>
149
-
150
- Steps "analyze" and "view" are retried until timeout is reached.
151
-
152
- Notes
153
- -----
154
-
155
- If "<mainConfigName>Qac" is found in main project, it will be used instead of "<mainConfigName>. This is useful if the unit test has to be built different to MISRA.
156
-
157
- Example output
158
- --------------
159
-
160
- .. image:: ../_static/misra.png