bake-toolkit 2.19.0 → 2.19.1

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 (106) hide show
  1. checksums.yaml +4 -4
  2. data/documentation/_build/html/_sources/changelog.txt +3 -0
  3. data/documentation/_build/html/_sources/concepts/build_hierarchy.txt +34 -0
  4. data/documentation/_build/html/_sources/index.txt +1 -1
  5. data/documentation/_build/html/_static/basic.css +598 -598
  6. data/documentation/_build/html/_static/bootstrap-2.3.2/css/bootstrap-responsive.css +1109 -1109
  7. data/documentation/_build/html/_static/bootstrap-2.3.2/css/bootstrap-responsive.min.css +9 -9
  8. data/documentation/_build/html/_static/bootstrap-2.3.2/css/bootstrap.css +6167 -6167
  9. data/documentation/_build/html/_static/bootstrap-2.3.2/css/bootstrap.min.css +9 -9
  10. data/documentation/_build/html/_static/bootstrap-2.3.2/js/bootstrap.js +2287 -2287
  11. data/documentation/_build/html/_static/bootstrap-2.3.2/js/bootstrap.min.js +5 -5
  12. data/documentation/_build/html/_static/bootstrap-3.3.4/css/bootstrap-theme.css +476 -476
  13. data/documentation/_build/html/_static/bootstrap-3.3.4/css/bootstrap-theme.min.css +4 -4
  14. data/documentation/_build/html/_static/bootstrap-3.3.4/css/bootstrap.css +6584 -6584
  15. data/documentation/_build/html/_static/bootstrap-3.3.4/css/bootstrap.min.css +4 -4
  16. data/documentation/_build/html/_static/bootstrap-3.3.4/fonts/glyphicons-halflings-regular.svg +287 -287
  17. data/documentation/_build/html/_static/bootstrap-3.3.4/js/bootstrap.js +2317 -2317
  18. data/documentation/_build/html/_static/bootstrap-3.3.4/js/bootstrap.min.js +6 -6
  19. data/documentation/_build/html/_static/bootstrap-3.3.4/js/npm.js +12 -12
  20. data/documentation/_build/html/_static/bootstrap-sphinx.css +186 -186
  21. data/documentation/_build/html/_static/bootstrap-sphinx.js +161 -161
  22. data/documentation/_build/html/_static/bootswatch-2.3.2/amelia/bootstrap.min.css +9 -9
  23. data/documentation/_build/html/_static/bootswatch-2.3.2/cerulean/bootstrap.min.css +9 -9
  24. data/documentation/_build/html/_static/bootswatch-2.3.2/cosmo/bootstrap.min.css +9 -9
  25. data/documentation/_build/html/_static/bootswatch-2.3.2/cyborg/bootstrap.min.css +9 -9
  26. data/documentation/_build/html/_static/bootswatch-2.3.2/flatly/bootstrap.min.css +9 -9
  27. data/documentation/_build/html/_static/bootswatch-2.3.2/journal/bootstrap.min.css +9 -9
  28. data/documentation/_build/html/_static/bootswatch-2.3.2/readable/bootstrap.min.css +9 -9
  29. data/documentation/_build/html/_static/bootswatch-2.3.2/simplex/bootstrap.min.css +9 -9
  30. data/documentation/_build/html/_static/bootswatch-2.3.2/slate/bootstrap.min.css +9 -9
  31. data/documentation/_build/html/_static/bootswatch-2.3.2/spacelab/bootstrap.min.css +9 -9
  32. data/documentation/_build/html/_static/bootswatch-2.3.2/spruce/bootstrap.min.css +9 -9
  33. data/documentation/_build/html/_static/bootswatch-2.3.2/superhero/bootstrap.min.css +9 -9
  34. data/documentation/_build/html/_static/bootswatch-2.3.2/united/bootstrap.min.css +9 -9
  35. data/documentation/_build/html/_static/bootswatch-3.3.4/cerulean/bootstrap.min.css +6 -6
  36. data/documentation/_build/html/_static/bootswatch-3.3.4/cosmo/bootstrap.min.css +6 -6
  37. data/documentation/_build/html/_static/bootswatch-3.3.4/custom/bootstrap.min.css +6 -6
  38. data/documentation/_build/html/_static/bootswatch-3.3.4/cyborg/bootstrap.min.css +6 -6
  39. data/documentation/_build/html/_static/bootswatch-3.3.4/darkly/bootstrap.min.css +6 -6
  40. data/documentation/_build/html/_static/bootswatch-3.3.4/flatly/bootstrap.min.css +6 -6
  41. data/documentation/_build/html/_static/bootswatch-3.3.4/fonts/glyphicons-halflings-regular.svg +287 -287
  42. data/documentation/_build/html/_static/bootswatch-3.3.4/journal/bootstrap.min.css +6 -6
  43. data/documentation/_build/html/_static/bootswatch-3.3.4/lumen/bootstrap.min.css +6 -6
  44. data/documentation/_build/html/_static/bootswatch-3.3.4/paper/bootstrap.min.css +6 -6
  45. data/documentation/_build/html/_static/bootswatch-3.3.4/readable/bootstrap.min.css +6 -6
  46. data/documentation/_build/html/_static/bootswatch-3.3.4/sandstone/bootstrap.min.css +6 -6
  47. data/documentation/_build/html/_static/bootswatch-3.3.4/simplex/bootstrap.min.css +6 -6
  48. data/documentation/_build/html/_static/bootswatch-3.3.4/slate/bootstrap.min.css +6 -6
  49. data/documentation/_build/html/_static/bootswatch-3.3.4/spacelab/bootstrap.min.css +6 -6
  50. data/documentation/_build/html/_static/bootswatch-3.3.4/superhero/bootstrap.min.css +6 -6
  51. data/documentation/_build/html/_static/bootswatch-3.3.4/united/bootstrap.min.css +6 -6
  52. data/documentation/_build/html/_static/bootswatch-3.3.4/yeti/bootstrap.min.css +6 -6
  53. data/documentation/_build/html/_static/doctools.js +263 -263
  54. data/documentation/_build/html/_static/jquery-1.11.1.js +10308 -10308
  55. data/documentation/_build/html/_static/jquery.js +4 -4
  56. data/documentation/_build/html/_static/js/jquery-1.11.0.min.js +4 -4
  57. data/documentation/_build/html/_static/js/jquery-fix.js +1 -1
  58. data/documentation/_build/html/_static/searchtools.js +621 -621
  59. data/documentation/_build/html/_static/underscore-1.3.1.js +999 -999
  60. data/documentation/_build/html/_static/underscore.js +31 -31
  61. data/documentation/_build/html/_static/websupport.js +808 -808
  62. data/documentation/_build/html/changelog.html +949 -944
  63. data/documentation/_build/html/commandline/commandline.html +284 -284
  64. data/documentation/_build/html/concepts/build_hierarchy.html +205 -0
  65. data/documentation/_build/html/concepts/concepts.html +186 -186
  66. data/documentation/_build/html/concepts/link_order.html +245 -245
  67. data/documentation/_build/html/concepts/the_main_project.html +260 -260
  68. data/documentation/_build/html/concepts/the_project_meta_file.html +288 -288
  69. data/documentation/_build/html/genindex.html +152 -152
  70. data/documentation/_build/html/ide/eclipse/eclipse.html +186 -186
  71. data/documentation/_build/html/ide/eclipse/how_to_convert_existing_cdt_workspace.html +208 -208
  72. data/documentation/_build/html/ide/eclipse/how_to_create_a_new_project_in_eclipse.html +191 -191
  73. data/documentation/_build/html/ide/eclipse/how_to_create_a_workspace_in_eclipse.html +198 -198
  74. data/documentation/_build/html/ide/eclipse/how_to_debug_in_eclipse.html +198 -198
  75. data/documentation/_build/html/ide/eclipse/how_to_install_eclipse_plugin.html +196 -196
  76. data/documentation/_build/html/ide/eclipse/how_to_use_bake_in_eclipse.html +256 -256
  77. data/documentation/_build/html/ide/ide_integrations.html +183 -183
  78. data/documentation/_build/html/ide/vs/how_to_create_vs_projects.html +171 -171
  79. data/documentation/_build/html/ide/vs/how_to_debug_in_vs.html +185 -185
  80. data/documentation/_build/html/ide/vs/how_to_used_bake_in_vs.html +190 -190
  81. data/documentation/_build/html/ide/vs/vs.html +170 -170
  82. data/documentation/_build/html/ide/vs/vs_install.html +202 -202
  83. data/documentation/_build/html/index.html +241 -241
  84. data/documentation/_build/html/install/install_bake.html +279 -279
  85. data/documentation/_build/html/internal.html +217 -217
  86. data/documentation/_build/html/known_issues.html +175 -175
  87. data/documentation/_build/html/license.html +236 -236
  88. data/documentation/_build/html/performance/performance.html +373 -373
  89. data/documentation/_build/html/quickstart/quickstart.html +236 -236
  90. data/documentation/_build/html/search.html +174 -174
  91. data/documentation/_build/html/searchindex.js +1 -1
  92. data/documentation/_build/html/syntax/adapt_configs.html +286 -286
  93. data/documentation/_build/html/syntax/derive_configs.html +247 -247
  94. data/documentation/_build/html/syntax/project_meta_syntax.html +893 -893
  95. data/documentation/_build/html/syntax/syntax.html +189 -189
  96. data/documentation/_build/html/syntax/variable_substitutions.html +378 -378
  97. data/documentation/_build/html/tips_and_tricks/bundle.html +180 -180
  98. data/documentation/_build/html/tips_and_tricks/how_to_use_bake_with_cygwin.html +214 -214
  99. data/documentation/_build/html/tips_and_tricks/static_code_analysis.html +284 -284
  100. data/documentation/_build/html/tips_and_tricks/the_bakery.html +405 -405
  101. data/documentation/_build/html/tips_and_tricks/the_clang.html +201 -201
  102. data/documentation/_build/html/tips_and_tricks/tips_and_tricks.html +197 -197
  103. data/documentation/_build/html/why_bake/why_bake.html +241 -241
  104. data/lib/blocks/block.rb +9 -4
  105. data/lib/common/version.rb +1 -1
  106. metadata +4 -2
@@ -1,406 +1,406 @@
1
- <!DOCTYPE html>
2
-
3
-
4
- <html xmlns="http://www.w3.org/1999/xhtml">
5
- <head>
6
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
7
-
8
- <title>The Bakery &mdash; bake 2.19.0 documentation</title>
9
-
10
- <link rel="stylesheet" href="../_static/basic.css" type="text/css" />
11
- <link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
12
- <link rel="stylesheet" href="../_static/bootswatch-3.3.4/sandstone/bootstrap.min.css" type="text/css" />
13
- <link rel="stylesheet" href="../_static/bootstrap-sphinx.css" type="text/css" />
14
-
15
- <script type="text/javascript">
16
- var DOCUMENTATION_OPTIONS = {
17
- URL_ROOT: '../',
18
- VERSION: '2.19.0',
19
- COLLAPSE_INDEX: false,
20
- FILE_SUFFIX: '.html',
21
- HAS_SOURCE: true
22
- };
23
- </script>
24
- <script type="text/javascript" src="../_static/jquery.js"></script>
25
- <script type="text/javascript" src="../_static/underscore.js"></script>
26
- <script type="text/javascript" src="../_static/doctools.js"></script>
27
- <script type="text/javascript" src="../_static/js/jquery-1.11.0.min.js"></script>
28
- <script type="text/javascript" src="../_static/js/jquery-fix.js"></script>
29
- <script type="text/javascript" src="../_static/bootstrap-3.3.4/js/bootstrap.min.js"></script>
30
- <script type="text/javascript" src="../_static/bootstrap-sphinx.js"></script>
31
- <link rel="shortcut icon" href="../_static/logo_tiny_32.ico"/>
32
- <link rel="top" title="bake 2.19.0 documentation" href="../index.html" />
33
- <link rel="up" title="Tips and Tricks" href="tips_and_tricks.html" />
34
- <link rel="next" title="Static Code Analysis" href="static_code_analysis.html" />
35
- <link rel="prev" title="Tips and Tricks" href="tips_and_tricks.html" />
36
- <meta charset='utf-8'>
37
- <meta http-equiv='X-UA-Compatible' content='IE=edge,chrome=1'>
38
- <meta name='viewport' content='width=device-width, initial-scale=1.0, maximum-scale=1'>
39
- <meta name="apple-mobile-web-app-capable" content="yes">
40
-
41
- </head>
42
- <body role="document">
43
-
44
- <div id="navbar" class="navbar navbar-default navbar-fixed-top">
45
- <div class="container">
46
- <div class="navbar-header">
47
- <!-- .btn-navbar is used as the toggle for collapsed navbar content -->
48
- <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".nav-collapse">
49
- <span class="icon-bar"></span>
50
- <span class="icon-bar"></span>
51
- <span class="icon-bar"></span>
52
- </button>
53
- <a class="navbar-brand" href="../index.html"><img src="../_static/logo_conformant_48.png">
54
- </a>
55
- <span class="navbar-text navbar-version pull-left"><b></b></span>
56
- </div>
57
-
58
- <div class="collapse navbar-collapse nav-collapse">
59
- <ul class="nav navbar-nav">
60
-
61
-
62
- <li class="dropdown globaltoc-container">
63
- <a role="button"
64
- id="dLabelGlobalToc"
65
- data-toggle="dropdown"
66
- data-target="#"
67
- href="../index.html">Section <b class="caret"></b></a>
68
- <ul class="dropdown-menu globaltoc"
69
- role="menu"
70
- aria-labelledby="dLabelGlobalToc"><ul class="current">
71
- <li class="toctree-l1"><a class="reference internal" href="../why_bake/why_bake.html">Why you should use bake</a></li>
72
- <li class="toctree-l1"><a class="reference internal" href="../install/install_bake.html">Install bake</a></li>
73
- <li class="toctree-l1"><a class="reference internal" href="../quickstart/quickstart.html">Quickstart</a></li>
74
- <li class="toctree-l1"><a class="reference internal" href="../concepts/concepts.html">Concepts</a></li>
75
- <li class="toctree-l1"><a class="reference internal" href="../syntax/syntax.html">Syntax</a></li>
76
- <li class="toctree-l1"><a class="reference internal" href="../commandline/commandline.html">Commandline</a></li>
77
- <li class="toctree-l1"><a class="reference internal" href="../ide/ide_integrations.html">IDE Support</a></li>
78
- <li class="toctree-l1 current"><a class="reference internal" href="tips_and_tricks.html">Tips and Tricks</a></li>
79
- <li class="toctree-l1"><a class="reference internal" href="../performance/performance.html">Performance</a></li>
80
- <li class="toctree-l1"><a class="reference internal" href="../known_issues.html">Known Issues</a></li>
81
- <li class="toctree-l1"><a class="reference internal" href="../changelog.html">Changelog</a></li>
82
- <li class="toctree-l1"><a class="reference internal" href="../license.html">License</a></li>
83
- </ul>
84
- <ul>
85
- <li class="toctree-l1"><a class="reference internal" href="../internal.html">Internal developing notes</a></li>
86
- </ul>
87
- </ul>
88
- </li>
89
-
90
- <li class="dropdown">
91
- <a role="button"
92
- id="dLabelLocalToc"
93
- data-toggle="dropdown"
94
- data-target="#"
95
- href="#">SubSections <b class="caret"></b></a>
96
- <ul class="dropdown-menu localtoc"
97
- role="menu"
98
- aria-labelledby="dLabelLocalToc"><ul>
99
- <li><a class="reference internal" href="#">The Bakery</a><ul>
100
- <li><a class="reference internal" href="#what-is-the-bakery">What is the Bakery</a></li>
101
- <li><a class="reference internal" href="#how-to-use-the-bakery-on-the-commandline">How to use the Bakery on the commandline</a></li>
102
- <li><a class="reference internal" href="#syntax-of-collection-meta">Syntax of Collection.meta</a></li>
103
- </ul>
104
- </li>
105
- </ul>
106
- </ul>
107
- </li>
108
-
109
-
110
-
111
-
112
-
113
- <li>
114
- <a href="tips_and_tricks.html" title="Previous Chapter: Tips and Tricks"><span class="glyphicon glyphicon-chevron-left visible-sm"></span><span class="hidden-sm hidden-tablet">&laquo; Tips and Tricks</span>
115
- </a>
116
- </li>
117
- <li>
118
- <a href="static_code_analysis.html" title="Next Chapter: Static Code Analysis"><span class="glyphicon glyphicon-chevron-right visible-sm"></span><span class="hidden-sm hidden-tablet">Static Code A... &raquo;</span>
119
- </a>
120
- </li>
121
-
122
-
123
-
124
-
125
-
126
- </ul>
127
-
128
-
129
-
130
- <form class="navbar-form navbar-right" action="../search.html" method="get">
131
- <div class="form-group">
132
- <input type="text" name="q" class="form-control" placeholder="Search" />
133
- </div>
134
- <input type="hidden" name="check_keywords" value="yes" />
135
- <input type="hidden" name="area" value="default" />
136
- </form>
137
-
138
- </div>
139
- </div>
140
- </div>
141
-
142
- <div class="container">
143
- <div class="row">
144
- <div class="col-md-12">
145
-
146
- <div class="section" id="the-bakery">
147
- <h1>The Bakery<a class="headerlink" href="#the-bakery" title="Permalink to this headline">¶</a></h1>
148
- <div class="section" id="what-is-the-bakery">
149
- <h2>What is the Bakery<a class="headerlink" href="#what-is-the-bakery" title="Permalink to this headline">¶</a></h2>
150
- <p>bakery is part of the bake-toolkit distribution and it is used to build several independent projects at once.
151
- It&#8217;s very useful for e.g. compiling and running all unit tests.
152
- The collections are specified in Collection.meta files.</p>
153
- </div>
154
- <div class="section" id="how-to-use-the-bakery-on-the-commandline">
155
- <h2>How to use the Bakery on the commandline<a class="headerlink" href="#how-to-use-the-bakery-on-the-commandline" title="Permalink to this headline">¶</a></h2>
156
- <p>Call <em>bakery -h</em> to display the command line options.
157
- The most important options are the collection name (<em>-b</em>) and the collection directory (<em>-m</em>, default is current directory).</p>
158
- <p>Examples:</p>
159
- <blockquote>
160
- <div><p>Build all unittests:</p>
161
- <div class="highlight-console"><div class="highlight"><pre><span class="go">bakery -b AllUnitTests</span>
162
- </pre></div>
163
- </div>
164
- <p>It is possible to omit <em>-b</em>:</p>
165
- <div class="highlight-console"><div class="highlight"><pre><span class="go">bakery AllUnitTests</span>
166
- </pre></div>
167
- </div>
168
- <p>Clean all unittests:</p>
169
- <div class="highlight-console"><div class="highlight"><pre><span class="go">bakery -b AllUnitTests -c</span>
170
- </pre></div>
171
- </div>
172
- <p>Build all unittests, workspace checked out into two roots, console supports colors, stop on first error, run the unittests after build:</p>
173
- <div class="highlight-console"><div class="highlight"><pre><span class="go">bakery -b AllUnitTests -m w:/root1/mainProj -w w:/root2 -r -a black --do run</span>
174
- </pre></div>
175
- </div>
176
- </div></blockquote>
177
- </div>
178
- <div class="section" id="syntax-of-collection-meta">
179
- <h2>Syntax of Collection.meta<a class="headerlink" href="#syntax-of-collection-meta" title="Permalink to this headline">¶</a></h2>
180
- <p>Move the mouse cursor over the blue elements to display more information.</p>
181
- <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
182
- <!-- saved from url=(0100)file:///Users/NiCoretti/.rvm/gems/ruby-2.1.2/gems/bake-toolkit-2.10.3/doc/further/bakery/syntax.html -->
183
- <html><head><meta http-equiv="Content-Type" content="text/html; charset=windows-1252"><title></title></head>
184
-
185
-
186
- <body>
187
-
188
- <style type="text/css">
189
- #rundrum {
190
- border-width:1px;
191
- border-style:dashed;
192
- border-color:blue;
193
- padding:0.2cm;
194
- text-align:justify; }
195
- }
196
- </style>
197
-
198
- <style type="text/css">
199
-
200
- #dhtmltooltip{
201
- position: absolute;
202
- width: 150px;
203
- border: 2px solid black;
204
- padding: 2px;
205
- background-color: lightyellow;
206
- visibility: hidden;
207
- z-index: 100;
208
- }
209
-
210
- </style>
211
-
212
- <style type="text/css">
213
- .hide {
214
- display:none;
215
- }
216
- .show {
217
- display:block
218
- }
219
- .showInline {
220
- display:inline
221
- }
222
- .help {
223
- color:blue
224
- }
225
- .showRadio {
226
- font-weight:bold;color:blue;text-decoration:overline underline
227
- }
228
- .hideRadio {
229
- color:#AAAAFF;
230
- }
231
- .mycomment {
232
- color:green
233
- }
234
- </style>
235
-
236
-
237
-
238
-
239
-
240
- </p><table border="1" style="font-family:monospace" ;="" font-size:10=""><tbody><tr><td>
241
-
242
- <span class="help" onmouseover="showCollection()" onmouseout="notip()">Collection</span> &lt;name&gt; {<br>
243
- &nbsp; <span class="help" onmouseover="showProject()" onmouseout="notip()">Project</span> &lt;name&gt;, config: &lt;name&gt;<br>
244
- &nbsp; <span class="help" onmouseover="showExclude()" onmouseout="notip()">Exclude</span> &lt;name&gt;, config: &lt;name&gt;<br>
245
- &nbsp; <span class="help" onmouseover="showSubCollection()" onmouseout="notip()">SubCollection</span> &lt;name&gt;<br>
246
- }
247
-
248
-
249
-
250
-
251
-
252
- <div id="dhtmltooltip" style="left: -1000px; top: 151px; visibility: hidden;"><b><u>Collection</u><br><br>Mandatory:</b> Yes<br><b>Quantity</b>: 1..n<br><b>Default</b>: -<br><br><b>Description</b>:<br>This is a collection of builds. The name must be unique within this file.</div>
253
-
254
- <script type="text/javascript">
255
-
256
-
257
- function showCollection() {
258
- str = 'This is a collection of builds. The name must be unique within this file.'
259
- ddrivetip("Collection", "Yes", "1..n", "-",str)
260
- }
261
-
262
- function showProject() {
263
- str = "Specify the projects with it's configs to build. It is possible to use \"*\" as wildcards."
264
- ddrivetip("Project", "Yes,", "1..n", "-",str)
265
- }
266
-
267
- function showConfig() {
268
- str = "Specify the configs. It is possible to use \"*\" as wildcard."
269
- ddrivetip("config", "Yes", "-", "-",str)
270
- }
271
-
272
- function showExclude() {
273
- str = "Specify the projects with it's configs to exclude from build. It is possible to use \"*\" as wildcards."
274
- ddrivetip("Exclude", "No", "0..n", "-",str)
275
- }
276
-
277
- function showSubCollection() {
278
- str = 'This references another collection.'
279
- ddrivetip("SubCollection", "No", "0..n", "-",str)
280
- }
281
-
282
-
283
-
284
- var offsetxpoint=20 //Customize x offset of tooltip
285
- var offsetypoint=20 //Customize y offset of tooltip
286
- var ie=document.all
287
- var ns6=document.getElementById && !document.all
288
- var enabletip=false
289
- if (ie||ns6)
290
- var tipobj=document.all? document.all["dhtmltooltip"] : document.getElementById? document.getElementById("dhtmltooltip") : ""
291
-
292
- function ietruebody(){
293
- return (document.compatMode && document.compatMode!="BackCompat")? document.documentElement : document.body
294
- }
295
-
296
- function ddrivetip(item, manda, quan, def, desc){
297
- if (ns6||ie){
298
-
299
- var abc=ie&&!window.opera? ietruebody().clientWidth : window.innerWidth
300
-
301
- tipobj.style.width=(abc/2-offsetxpoint*2).toString()+"px"
302
- tipobj.style.backgroundColor="#DDFFDD"
303
- tipobj.innerHTML="<b><u>"+item+"</u><br><br>Mandatory:</b> "+manda+"<br><b>Quantity</b>: "+quan+"<br><b>Default</b>: "+def+"<br><br><b>Description</b>:<br>"+desc
304
- enabletip=true
305
- return false
306
- }
307
- }
308
-
309
- function positiontip(e){
310
- if (enabletip){
311
- var curX=(ns6)?e.pageX : event.clientX+ietruebody().scrollLeft;
312
- var curY=(ns6)?e.pageY : event.clientY+ietruebody().scrollTop;
313
- //Find out how close the mouse is to the corner of the window
314
- var rightedge=ie&&!window.opera? ietruebody().clientWidth-event.clientX-offsetxpoint : window.innerWidth-e.clientX-offsetxpoint
315
- var bottomedge=ie&&!window.opera? ietruebody().clientHeight-event.clientY-offsetypoint*2 : window.innerHeight-e.clientY-offsetypoint
316
- var bottom=ie&&!window.opera? ietruebody().clientHeight : window.innerHeight
317
-
318
- var leftedge=(offsetxpoint<0)? offsetxpoint*(-1) : -1000
319
-
320
- //if the horizontal distance isn't enough to accomodate the width of the context menu
321
- if (rightedge<tipobj.offsetWidth+offsetxpoint/2)
322
- //move the horizontal position of the menu to the left by it's width
323
- tipobj.style.left=ie? ietruebody().scrollLeft+event.clientX-tipobj.offsetWidth-offsetxpoint+"px" : window.pageXOffset+e.clientX-tipobj.offsetWidth-offsetxpoint+"px"
324
- else if (curX<leftedge)
325
- tipobj.style.left="5px"
326
- else
327
- //position the horizontal position of the menu where the mouse is positioned
328
- tipobj.style.left=curX+offsetxpoint+"px"
329
-
330
- //same concept with the vertical position
331
- if (bottomedge<tipobj.offsetHeight)
332
- tipobj.style.top=ie? ietruebody().scrollTop+bottom-tipobj.offsetHeight-offsetypoint+"px" : window.pageYOffset+bottom-tipobj.offsetHeight-offsetypoint+"px"
333
- else
334
- tipobj.style.top=curY+offsetypoint+"px"
335
- tipobj.style.visibility="visible"
336
- }
337
- }
338
-
339
- function notip(){
340
- if (ns6||ie){
341
- enabletip=false
342
- tipobj.style.visibility="hidden"
343
- tipobj.style.left="-1000px"
344
- tipobj.style.backgroundColor=''
345
- tipobj.style.width=''
346
- }
347
- }
348
-
349
- document.onmousemove=positiontip
350
-
351
- </script>
352
-
353
- </td></tr></tbody></table>
354
-
355
-
356
-
357
-
358
-
359
- </body></html>
360
- <div class="admonition note">
361
- <p class="first admonition-title">Note</p>
362
- <ul class="last simple">
363
- <li>Use double quotes (&#8221;) if the strings have wildcards</li>
364
- <li>Use hash marks (#) for comments.</li>
365
- </ul>
366
- </div>
367
- <p>Example:</p>
368
- <blockquote>
369
- <div><div class="highlight-text"><div class="highlight"><pre>Collection AllUnitTests {
370
- Project &quot;*&quot;, config: UnitTest
371
- }
372
- Collection UnitTestLibsWithoutBsp {
373
- Project &quot;*&quot;, config: &quot;UnitTestLib*&quot;
374
- Exclude &quot;bsp*&quot;, config: &quot;*&quot;
375
- }
376
- Collection MySpecialCollection {
377
- Project Main1, config: Debug
378
- Project Main2, config: Release
379
- Project Sub3, config: Debug
380
- SubCollection UnitTestLibsWithoutBsp
381
- }
382
- </pre></div>
383
- </div>
384
- </div></blockquote>
385
- </div>
386
- </div>
387
-
388
-
389
- </div>
390
-
391
- </div>
392
- </div>
393
- <footer class="footer">
394
- <div class="container">
395
- <p class="pull-right">
396
- <a href="#">Back to top</a>
397
-
398
- </p>
399
- <p>
400
- &copy; Copyright 2016, E.S.R.Labs AG.<br/>
401
- Created using <a href="http://sphinx-doc.org/">Sphinx</a> 1.3.1.<br/>
402
- </p>
403
- </div>
404
- </footer>
405
- </body>
1
+ <!DOCTYPE html>
2
+
3
+
4
+ <html xmlns="http://www.w3.org/1999/xhtml">
5
+ <head>
6
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
7
+
8
+ <title>The Bakery &mdash; bake 2.19.1 documentation</title>
9
+
10
+ <link rel="stylesheet" href="../_static/basic.css" type="text/css" />
11
+ <link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
12
+ <link rel="stylesheet" href="../_static/bootswatch-3.3.4/sandstone/bootstrap.min.css" type="text/css" />
13
+ <link rel="stylesheet" href="../_static/bootstrap-sphinx.css" type="text/css" />
14
+
15
+ <script type="text/javascript">
16
+ var DOCUMENTATION_OPTIONS = {
17
+ URL_ROOT: '../',
18
+ VERSION: '2.19.1',
19
+ COLLAPSE_INDEX: false,
20
+ FILE_SUFFIX: '.html',
21
+ HAS_SOURCE: true
22
+ };
23
+ </script>
24
+ <script type="text/javascript" src="../_static/jquery.js"></script>
25
+ <script type="text/javascript" src="../_static/underscore.js"></script>
26
+ <script type="text/javascript" src="../_static/doctools.js"></script>
27
+ <script type="text/javascript" src="../_static/js/jquery-1.11.0.min.js"></script>
28
+ <script type="text/javascript" src="../_static/js/jquery-fix.js"></script>
29
+ <script type="text/javascript" src="../_static/bootstrap-3.3.4/js/bootstrap.min.js"></script>
30
+ <script type="text/javascript" src="../_static/bootstrap-sphinx.js"></script>
31
+ <link rel="shortcut icon" href="../_static/logo_tiny_32.ico"/>
32
+ <link rel="top" title="bake 2.19.1 documentation" href="../index.html" />
33
+ <link rel="up" title="Tips and Tricks" href="tips_and_tricks.html" />
34
+ <link rel="next" title="Static Code Analysis" href="static_code_analysis.html" />
35
+ <link rel="prev" title="Tips and Tricks" href="tips_and_tricks.html" />
36
+ <meta charset='utf-8'>
37
+ <meta http-equiv='X-UA-Compatible' content='IE=edge,chrome=1'>
38
+ <meta name='viewport' content='width=device-width, initial-scale=1.0, maximum-scale=1'>
39
+ <meta name="apple-mobile-web-app-capable" content="yes">
40
+
41
+ </head>
42
+ <body role="document">
43
+
44
+ <div id="navbar" class="navbar navbar-default navbar-fixed-top">
45
+ <div class="container">
46
+ <div class="navbar-header">
47
+ <!-- .btn-navbar is used as the toggle for collapsed navbar content -->
48
+ <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".nav-collapse">
49
+ <span class="icon-bar"></span>
50
+ <span class="icon-bar"></span>
51
+ <span class="icon-bar"></span>
52
+ </button>
53
+ <a class="navbar-brand" href="../index.html"><img src="../_static/logo_conformant_48.png">
54
+ </a>
55
+ <span class="navbar-text navbar-version pull-left"><b></b></span>
56
+ </div>
57
+
58
+ <div class="collapse navbar-collapse nav-collapse">
59
+ <ul class="nav navbar-nav">
60
+
61
+
62
+ <li class="dropdown globaltoc-container">
63
+ <a role="button"
64
+ id="dLabelGlobalToc"
65
+ data-toggle="dropdown"
66
+ data-target="#"
67
+ href="../index.html">Section <b class="caret"></b></a>
68
+ <ul class="dropdown-menu globaltoc"
69
+ role="menu"
70
+ aria-labelledby="dLabelGlobalToc"><ul class="current">
71
+ <li class="toctree-l1"><a class="reference internal" href="../why_bake/why_bake.html">Why you should use bake</a></li>
72
+ <li class="toctree-l1"><a class="reference internal" href="../install/install_bake.html">Install bake</a></li>
73
+ <li class="toctree-l1"><a class="reference internal" href="../quickstart/quickstart.html">Quickstart</a></li>
74
+ <li class="toctree-l1"><a class="reference internal" href="../concepts/concepts.html">Concepts</a></li>
75
+ <li class="toctree-l1"><a class="reference internal" href="../syntax/syntax.html">Syntax</a></li>
76
+ <li class="toctree-l1"><a class="reference internal" href="../commandline/commandline.html">Commandline</a></li>
77
+ <li class="toctree-l1"><a class="reference internal" href="../ide/ide_integrations.html">IDE Support</a></li>
78
+ <li class="toctree-l1 current"><a class="reference internal" href="tips_and_tricks.html">Tips and Tricks</a></li>
79
+ <li class="toctree-l1"><a class="reference internal" href="../performance/performance.html">Performance</a></li>
80
+ <li class="toctree-l1"><a class="reference internal" href="../known_issues.html">Known Issues</a></li>
81
+ <li class="toctree-l1"><a class="reference internal" href="../changelog.html">Changelog</a></li>
82
+ <li class="toctree-l1"><a class="reference internal" href="../license.html">License</a></li>
83
+ </ul>
84
+ <ul>
85
+ <li class="toctree-l1"><a class="reference internal" href="../internal.html">Internal developing notes</a></li>
86
+ </ul>
87
+ </ul>
88
+ </li>
89
+
90
+ <li class="dropdown">
91
+ <a role="button"
92
+ id="dLabelLocalToc"
93
+ data-toggle="dropdown"
94
+ data-target="#"
95
+ href="#">SubSections <b class="caret"></b></a>
96
+ <ul class="dropdown-menu localtoc"
97
+ role="menu"
98
+ aria-labelledby="dLabelLocalToc"><ul>
99
+ <li><a class="reference internal" href="#">The Bakery</a><ul>
100
+ <li><a class="reference internal" href="#what-is-the-bakery">What is the Bakery</a></li>
101
+ <li><a class="reference internal" href="#how-to-use-the-bakery-on-the-commandline">How to use the Bakery on the commandline</a></li>
102
+ <li><a class="reference internal" href="#syntax-of-collection-meta">Syntax of Collection.meta</a></li>
103
+ </ul>
104
+ </li>
105
+ </ul>
106
+ </ul>
107
+ </li>
108
+
109
+
110
+
111
+
112
+
113
+ <li>
114
+ <a href="tips_and_tricks.html" title="Previous Chapter: Tips and Tricks"><span class="glyphicon glyphicon-chevron-left visible-sm"></span><span class="hidden-sm hidden-tablet">&laquo; Tips and Tricks</span>
115
+ </a>
116
+ </li>
117
+ <li>
118
+ <a href="static_code_analysis.html" title="Next Chapter: Static Code Analysis"><span class="glyphicon glyphicon-chevron-right visible-sm"></span><span class="hidden-sm hidden-tablet">Static Code A... &raquo;</span>
119
+ </a>
120
+ </li>
121
+
122
+
123
+
124
+
125
+
126
+ </ul>
127
+
128
+
129
+
130
+ <form class="navbar-form navbar-right" action="../search.html" method="get">
131
+ <div class="form-group">
132
+ <input type="text" name="q" class="form-control" placeholder="Search" />
133
+ </div>
134
+ <input type="hidden" name="check_keywords" value="yes" />
135
+ <input type="hidden" name="area" value="default" />
136
+ </form>
137
+
138
+ </div>
139
+ </div>
140
+ </div>
141
+
142
+ <div class="container">
143
+ <div class="row">
144
+ <div class="col-md-12">
145
+
146
+ <div class="section" id="the-bakery">
147
+ <h1>The Bakery<a class="headerlink" href="#the-bakery" title="Permalink to this headline">¶</a></h1>
148
+ <div class="section" id="what-is-the-bakery">
149
+ <h2>What is the Bakery<a class="headerlink" href="#what-is-the-bakery" title="Permalink to this headline">¶</a></h2>
150
+ <p>bakery is part of the bake-toolkit distribution and it is used to build several independent projects at once.
151
+ It&#8217;s very useful for e.g. compiling and running all unit tests.
152
+ The collections are specified in Collection.meta files.</p>
153
+ </div>
154
+ <div class="section" id="how-to-use-the-bakery-on-the-commandline">
155
+ <h2>How to use the Bakery on the commandline<a class="headerlink" href="#how-to-use-the-bakery-on-the-commandline" title="Permalink to this headline">¶</a></h2>
156
+ <p>Call <em>bakery -h</em> to display the command line options.
157
+ The most important options are the collection name (<em>-b</em>) and the collection directory (<em>-m</em>, default is current directory).</p>
158
+ <p>Examples:</p>
159
+ <blockquote>
160
+ <div><p>Build all unittests:</p>
161
+ <div class="highlight-console"><div class="highlight"><pre><span class="go">bakery -b AllUnitTests</span>
162
+ </pre></div>
163
+ </div>
164
+ <p>It is possible to omit <em>-b</em>:</p>
165
+ <div class="highlight-console"><div class="highlight"><pre><span class="go">bakery AllUnitTests</span>
166
+ </pre></div>
167
+ </div>
168
+ <p>Clean all unittests:</p>
169
+ <div class="highlight-console"><div class="highlight"><pre><span class="go">bakery -b AllUnitTests -c</span>
170
+ </pre></div>
171
+ </div>
172
+ <p>Build all unittests, workspace checked out into two roots, console supports colors, stop on first error, run the unittests after build:</p>
173
+ <div class="highlight-console"><div class="highlight"><pre><span class="go">bakery -b AllUnitTests -m w:/root1/mainProj -w w:/root2 -r -a black --do run</span>
174
+ </pre></div>
175
+ </div>
176
+ </div></blockquote>
177
+ </div>
178
+ <div class="section" id="syntax-of-collection-meta">
179
+ <h2>Syntax of Collection.meta<a class="headerlink" href="#syntax-of-collection-meta" title="Permalink to this headline">¶</a></h2>
180
+ <p>Move the mouse cursor over the blue elements to display more information.</p>
181
+ <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
182
+ <!-- saved from url=(0100)file:///Users/NiCoretti/.rvm/gems/ruby-2.1.2/gems/bake-toolkit-2.10.3/doc/further/bakery/syntax.html -->
183
+ <html><head><meta http-equiv="Content-Type" content="text/html; charset=windows-1252"><title></title></head>
184
+
185
+
186
+ <body>
187
+
188
+ <style type="text/css">
189
+ #rundrum {
190
+ border-width:1px;
191
+ border-style:dashed;
192
+ border-color:blue;
193
+ padding:0.2cm;
194
+ text-align:justify; }
195
+ }
196
+ </style>
197
+
198
+ <style type="text/css">
199
+
200
+ #dhtmltooltip{
201
+ position: absolute;
202
+ width: 150px;
203
+ border: 2px solid black;
204
+ padding: 2px;
205
+ background-color: lightyellow;
206
+ visibility: hidden;
207
+ z-index: 100;
208
+ }
209
+
210
+ </style>
211
+
212
+ <style type="text/css">
213
+ .hide {
214
+ display:none;
215
+ }
216
+ .show {
217
+ display:block
218
+ }
219
+ .showInline {
220
+ display:inline
221
+ }
222
+ .help {
223
+ color:blue
224
+ }
225
+ .showRadio {
226
+ font-weight:bold;color:blue;text-decoration:overline underline
227
+ }
228
+ .hideRadio {
229
+ color:#AAAAFF;
230
+ }
231
+ .mycomment {
232
+ color:green
233
+ }
234
+ </style>
235
+
236
+
237
+
238
+
239
+
240
+ </p><table border="1" style="font-family:monospace" ;="" font-size:10=""><tbody><tr><td>
241
+
242
+ <span class="help" onmouseover="showCollection()" onmouseout="notip()">Collection</span> &lt;name&gt; {<br>
243
+ &nbsp; <span class="help" onmouseover="showProject()" onmouseout="notip()">Project</span> &lt;name&gt;, config: &lt;name&gt;<br>
244
+ &nbsp; <span class="help" onmouseover="showExclude()" onmouseout="notip()">Exclude</span> &lt;name&gt;, config: &lt;name&gt;<br>
245
+ &nbsp; <span class="help" onmouseover="showSubCollection()" onmouseout="notip()">SubCollection</span> &lt;name&gt;<br>
246
+ }
247
+
248
+
249
+
250
+
251
+
252
+ <div id="dhtmltooltip" style="left: -1000px; top: 151px; visibility: hidden;"><b><u>Collection</u><br><br>Mandatory:</b> Yes<br><b>Quantity</b>: 1..n<br><b>Default</b>: -<br><br><b>Description</b>:<br>This is a collection of builds. The name must be unique within this file.</div>
253
+
254
+ <script type="text/javascript">
255
+
256
+
257
+ function showCollection() {
258
+ str = 'This is a collection of builds. The name must be unique within this file.'
259
+ ddrivetip("Collection", "Yes", "1..n", "-",str)
260
+ }
261
+
262
+ function showProject() {
263
+ str = "Specify the projects with it's configs to build. It is possible to use \"*\" as wildcards."
264
+ ddrivetip("Project", "Yes,", "1..n", "-",str)
265
+ }
266
+
267
+ function showConfig() {
268
+ str = "Specify the configs. It is possible to use \"*\" as wildcard."
269
+ ddrivetip("config", "Yes", "-", "-",str)
270
+ }
271
+
272
+ function showExclude() {
273
+ str = "Specify the projects with it's configs to exclude from build. It is possible to use \"*\" as wildcards."
274
+ ddrivetip("Exclude", "No", "0..n", "-",str)
275
+ }
276
+
277
+ function showSubCollection() {
278
+ str = 'This references another collection.'
279
+ ddrivetip("SubCollection", "No", "0..n", "-",str)
280
+ }
281
+
282
+
283
+
284
+ var offsetxpoint=20 //Customize x offset of tooltip
285
+ var offsetypoint=20 //Customize y offset of tooltip
286
+ var ie=document.all
287
+ var ns6=document.getElementById && !document.all
288
+ var enabletip=false
289
+ if (ie||ns6)
290
+ var tipobj=document.all? document.all["dhtmltooltip"] : document.getElementById? document.getElementById("dhtmltooltip") : ""
291
+
292
+ function ietruebody(){
293
+ return (document.compatMode && document.compatMode!="BackCompat")? document.documentElement : document.body
294
+ }
295
+
296
+ function ddrivetip(item, manda, quan, def, desc){
297
+ if (ns6||ie){
298
+
299
+ var abc=ie&&!window.opera? ietruebody().clientWidth : window.innerWidth
300
+
301
+ tipobj.style.width=(abc/2-offsetxpoint*2).toString()+"px"
302
+ tipobj.style.backgroundColor="#DDFFDD"
303
+ tipobj.innerHTML="<b><u>"+item+"</u><br><br>Mandatory:</b> "+manda+"<br><b>Quantity</b>: "+quan+"<br><b>Default</b>: "+def+"<br><br><b>Description</b>:<br>"+desc
304
+ enabletip=true
305
+ return false
306
+ }
307
+ }
308
+
309
+ function positiontip(e){
310
+ if (enabletip){
311
+ var curX=(ns6)?e.pageX : event.clientX+ietruebody().scrollLeft;
312
+ var curY=(ns6)?e.pageY : event.clientY+ietruebody().scrollTop;
313
+ //Find out how close the mouse is to the corner of the window
314
+ var rightedge=ie&&!window.opera? ietruebody().clientWidth-event.clientX-offsetxpoint : window.innerWidth-e.clientX-offsetxpoint
315
+ var bottomedge=ie&&!window.opera? ietruebody().clientHeight-event.clientY-offsetypoint*2 : window.innerHeight-e.clientY-offsetypoint
316
+ var bottom=ie&&!window.opera? ietruebody().clientHeight : window.innerHeight
317
+
318
+ var leftedge=(offsetxpoint<0)? offsetxpoint*(-1) : -1000
319
+
320
+ //if the horizontal distance isn't enough to accomodate the width of the context menu
321
+ if (rightedge<tipobj.offsetWidth+offsetxpoint/2)
322
+ //move the horizontal position of the menu to the left by it's width
323
+ tipobj.style.left=ie? ietruebody().scrollLeft+event.clientX-tipobj.offsetWidth-offsetxpoint+"px" : window.pageXOffset+e.clientX-tipobj.offsetWidth-offsetxpoint+"px"
324
+ else if (curX<leftedge)
325
+ tipobj.style.left="5px"
326
+ else
327
+ //position the horizontal position of the menu where the mouse is positioned
328
+ tipobj.style.left=curX+offsetxpoint+"px"
329
+
330
+ //same concept with the vertical position
331
+ if (bottomedge<tipobj.offsetHeight)
332
+ tipobj.style.top=ie? ietruebody().scrollTop+bottom-tipobj.offsetHeight-offsetypoint+"px" : window.pageYOffset+bottom-tipobj.offsetHeight-offsetypoint+"px"
333
+ else
334
+ tipobj.style.top=curY+offsetypoint+"px"
335
+ tipobj.style.visibility="visible"
336
+ }
337
+ }
338
+
339
+ function notip(){
340
+ if (ns6||ie){
341
+ enabletip=false
342
+ tipobj.style.visibility="hidden"
343
+ tipobj.style.left="-1000px"
344
+ tipobj.style.backgroundColor=''
345
+ tipobj.style.width=''
346
+ }
347
+ }
348
+
349
+ document.onmousemove=positiontip
350
+
351
+ </script>
352
+
353
+ </td></tr></tbody></table>
354
+
355
+
356
+
357
+
358
+
359
+ </body></html>
360
+ <div class="admonition note">
361
+ <p class="first admonition-title">Note</p>
362
+ <ul class="last simple">
363
+ <li>Use double quotes (&#8221;) if the strings have wildcards</li>
364
+ <li>Use hash marks (#) for comments.</li>
365
+ </ul>
366
+ </div>
367
+ <p>Example:</p>
368
+ <blockquote>
369
+ <div><div class="highlight-text"><div class="highlight"><pre>Collection AllUnitTests {
370
+ Project &quot;*&quot;, config: UnitTest
371
+ }
372
+ Collection UnitTestLibsWithoutBsp {
373
+ Project &quot;*&quot;, config: &quot;UnitTestLib*&quot;
374
+ Exclude &quot;bsp*&quot;, config: &quot;*&quot;
375
+ }
376
+ Collection MySpecialCollection {
377
+ Project Main1, config: Debug
378
+ Project Main2, config: Release
379
+ Project Sub3, config: Debug
380
+ SubCollection UnitTestLibsWithoutBsp
381
+ }
382
+ </pre></div>
383
+ </div>
384
+ </div></blockquote>
385
+ </div>
386
+ </div>
387
+
388
+
389
+ </div>
390
+
391
+ </div>
392
+ </div>
393
+ <footer class="footer">
394
+ <div class="container">
395
+ <p class="pull-right">
396
+ <a href="#">Back to top</a>
397
+
398
+ </p>
399
+ <p>
400
+ &copy; Copyright 2016, E.S.R.Labs AG.<br/>
401
+ Created using <a href="http://sphinx-doc.org/">Sphinx</a> 1.3.1.<br/>
402
+ </p>
403
+ </div>
404
+ </footer>
405
+ </body>
406
406
  </html>