bake-toolkit 2.28.0 → 2.28.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (57) hide show
  1. checksums.yaml +4 -4
  2. data/documentation/_build/html/_sources/changelog.txt +3 -0
  3. data/documentation/_build/html/_sources/index.txt +1 -1
  4. data/documentation/_build/html/_static/logo_tiny_48.png +0 -0
  5. data/documentation/_build/html/changelog.html +1154 -1149
  6. data/documentation/_build/html/commandline/commandline.html +285 -285
  7. data/documentation/_build/html/concepts/build_hierarchy.html +204 -204
  8. data/documentation/_build/html/concepts/concepts.html +196 -196
  9. data/documentation/_build/html/concepts/inject.html +216 -216
  10. data/documentation/_build/html/concepts/link_order.html +245 -245
  11. data/documentation/_build/html/concepts/prebuild.html +205 -205
  12. data/documentation/_build/html/concepts/the_main_project.html +260 -260
  13. data/documentation/_build/html/concepts/the_project_meta_file.html +288 -288
  14. data/documentation/_build/html/genindex.html +152 -152
  15. data/documentation/_build/html/ide/eclipse/eclipse.html +186 -186
  16. data/documentation/_build/html/ide/eclipse/how_to_convert_existing_cdt_workspace.html +208 -208
  17. data/documentation/_build/html/ide/eclipse/how_to_create_a_new_project_in_eclipse.html +191 -191
  18. data/documentation/_build/html/ide/eclipse/how_to_create_a_workspace_in_eclipse.html +198 -198
  19. data/documentation/_build/html/ide/eclipse/how_to_debug_in_eclipse.html +198 -198
  20. data/documentation/_build/html/ide/eclipse/how_to_install_eclipse_plugin.html +196 -196
  21. data/documentation/_build/html/ide/eclipse/how_to_use_bake_in_eclipse.html +256 -256
  22. data/documentation/_build/html/ide/ide_integrations.html +185 -185
  23. data/documentation/_build/html/ide/vs/how_to_create_vs_projects.html +171 -171
  24. data/documentation/_build/html/ide/vs/how_to_debug_in_vs.html +185 -185
  25. data/documentation/_build/html/ide/vs/how_to_used_bake_in_vs.html +190 -190
  26. data/documentation/_build/html/ide/vs/vs.html +170 -170
  27. data/documentation/_build/html/ide/vs/vs_install.html +202 -202
  28. data/documentation/_build/html/index.html +246 -246
  29. data/documentation/_build/html/install/install_bake.html +279 -279
  30. data/documentation/_build/html/internal.html +217 -217
  31. data/documentation/_build/html/known_issues.html +173 -173
  32. data/documentation/_build/html/license.html +236 -236
  33. data/documentation/_build/html/performance/performance.html +373 -373
  34. data/documentation/_build/html/quickstart/quickstart.html +236 -236
  35. data/documentation/_build/html/search.html +174 -174
  36. data/documentation/_build/html/searchindex.js +1 -1
  37. data/documentation/_build/html/syntax/adapt_configs.html +370 -370
  38. data/documentation/_build/html/syntax/auto_adjustment.html +189 -189
  39. data/documentation/_build/html/syntax/derive_configs.html +247 -247
  40. data/documentation/_build/html/syntax/project_meta_syntax.html +923 -923
  41. data/documentation/_build/html/syntax/syntax.html +196 -196
  42. data/documentation/_build/html/syntax/variable_substitutions.html +365 -365
  43. data/documentation/_build/html/tips_and_tricks/bakeclean.html +169 -169
  44. data/documentation/_build/html/tips_and_tricks/dot.html +186 -186
  45. data/documentation/_build/html/tips_and_tricks/how_to_use_bake_with_cygwin.html +214 -214
  46. data/documentation/_build/html/tips_and_tricks/qac.html +297 -297
  47. data/documentation/_build/html/tips_and_tricks/the_bakery.html +405 -405
  48. data/documentation/_build/html/tips_and_tricks/the_clang.html +201 -201
  49. data/documentation/_build/html/tips_and_tricks/tips_and_tricks.html +198 -198
  50. data/documentation/_build/html/why_bake/why_bake.html +241 -241
  51. data/lib/bake/config/checks.rb +76 -68
  52. data/lib/bake/model/metamodel.rb +6 -0
  53. data/lib/common/version.rb +1 -1
  54. metadata +3 -5
  55. data/documentation/_build/html/_sources/tips_and_tricks/static_code_analysis.txt +0 -122
  56. data/documentation/_build/html/_static/logo_conformant_48.png +0 -0
  57. data/documentation/_build/html/tips_and_tricks/static_code_analysis.html +0 -285
@@ -1,286 +1,286 @@
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>Commandline &mdash; bake 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: '',
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 documentation" href="../index.html" />
33
- <link rel="next" title="IDE Support" href="../ide/ide_integrations.html" />
34
- <link rel="prev" title="Auto-adjustment of paths to existing projects" href="../syntax/auto_adjustment.html" />
35
- <meta charset='utf-8'>
36
- <meta http-equiv='X-UA-Compatible' content='IE=edge,chrome=1'>
37
- <meta name='viewport' content='width=device-width, initial-scale=1.0, maximum-scale=1'>
38
- <meta name="apple-mobile-web-app-capable" content="yes">
39
-
40
- </head>
41
- <body role="document">
42
-
43
- <div id="navbar" class="navbar navbar-default navbar-fixed-top">
44
- <div class="container">
45
- <div class="navbar-header">
46
- <!-- .btn-navbar is used as the toggle for collapsed navbar content -->
47
- <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".nav-collapse">
48
- <span class="icon-bar"></span>
49
- <span class="icon-bar"></span>
50
- <span class="icon-bar"></span>
51
- </button>
52
- <a class="navbar-brand" href="../index.html"><img src="../_static/logo_conformant_48.png">
53
- </a>
54
- <span class="navbar-text navbar-version pull-left"><b></b></span>
55
- </div>
56
-
57
- <div class="collapse navbar-collapse nav-collapse">
58
- <ul class="nav navbar-nav">
59
-
60
-
61
- <li class="dropdown globaltoc-container">
62
- <a role="button"
63
- id="dLabelGlobalToc"
64
- data-toggle="dropdown"
65
- data-target="#"
66
- href="../index.html">Section <b class="caret"></b></a>
67
- <ul class="dropdown-menu globaltoc"
68
- role="menu"
69
- aria-labelledby="dLabelGlobalToc"><ul class="current">
70
- <li class="toctree-l1"><a class="reference internal" href="../why_bake/why_bake.html">Why you should use bake</a></li>
71
- <li class="toctree-l1"><a class="reference internal" href="../install/install_bake.html">Install bake</a></li>
72
- <li class="toctree-l1"><a class="reference internal" href="../quickstart/quickstart.html">Quickstart</a></li>
73
- <li class="toctree-l1"><a class="reference internal" href="../concepts/concepts.html">Concepts</a></li>
74
- <li class="toctree-l1"><a class="reference internal" href="../syntax/syntax.html">Syntax</a></li>
75
- <li class="toctree-l1 current"><a class="current reference internal" href="">Commandline</a></li>
76
- <li class="toctree-l1"><a class="reference internal" href="../ide/ide_integrations.html">IDE Support</a></li>
77
- <li class="toctree-l1"><a class="reference internal" href="../tips_and_tricks/tips_and_tricks.html">Additional features</a></li>
78
- <li class="toctree-l1"><a class="reference internal" href="../performance/performance.html">Performance</a></li>
79
- <li class="toctree-l1"><a class="reference internal" href="../known_issues.html">Known Issues</a></li>
80
- <li class="toctree-l1"><a class="reference internal" href="../changelog.html">Changelog</a></li>
81
- <li class="toctree-l1"><a class="reference internal" href="../license.html">License</a></li>
82
- </ul>
83
- <ul>
84
- <li class="toctree-l1"><a class="reference internal" href="../internal.html">Internal developing notes</a></li>
85
- </ul>
86
- </ul>
87
- </li>
88
-
89
- <li class="dropdown">
90
- <a role="button"
91
- id="dLabelLocalToc"
92
- data-toggle="dropdown"
93
- data-target="#"
94
- href="#">SubSections <b class="caret"></b></a>
95
- <ul class="dropdown-menu localtoc"
96
- role="menu"
97
- aria-labelledby="dLabelLocalToc"><ul>
98
- <li><a class="reference internal" href="#">Commandline</a><ul>
99
- <li><a class="reference internal" href="#how-to-get-help">How to get help</a></li>
100
- <li><a class="reference internal" href="#the-most-important-options">The most important options</a></li>
101
- <li><a class="reference internal" href="#examples">Examples</a><ul>
102
- <li><a class="reference internal" href="#building-an-application">Building an application</a></li>
103
- <li><a class="reference internal" href="#building-from-within-an-arbitrary-directory">Building from within an arbitrary directory</a></li>
104
- <li><a class="reference internal" href="#building-just-one-specific-project">Building just one specific project</a></li>
105
- <li><a class="reference internal" href="#building-specific-projects-with-differnt-roots">Building specific projects with differnt roots</a></li>
106
- <li><a class="reference internal" href="#building-a-project-which-has-more-than-one-root">Building a project which has more than one root</a></li>
107
- <li><a class="reference internal" href="#clean-a-project-s">Clean a project(s)</a></li>
108
- <li><a class="reference internal" href="#build-a-single-file-s">Build a single file(s)</a></li>
109
- </ul>
110
- </li>
111
- <li><a class="reference internal" href="#roots-bake">roots.bake</a></li>
112
- </ul>
113
- </li>
114
- </ul>
115
- </ul>
116
- </li>
117
-
118
-
119
-
120
-
121
-
122
- <li>
123
- <a href="../syntax/auto_adjustment.html" title="Previous Chapter: Auto-adjustment of paths to existing projects"><span class="glyphicon glyphicon-chevron-left visible-sm"></span><span class="hidden-sm hidden-tablet">&laquo; Auto-adjustme...</span>
124
- </a>
125
- </li>
126
- <li>
127
- <a href="../ide/ide_integrations.html" title="Next Chapter: IDE Support"><span class="glyphicon glyphicon-chevron-right visible-sm"></span><span class="hidden-sm hidden-tablet">IDE Support &raquo;</span>
128
- </a>
129
- </li>
130
-
131
-
132
-
133
-
134
-
135
- </ul>
136
-
137
-
138
-
139
- <form class="navbar-form navbar-right" action="../search.html" method="get">
140
- <div class="form-group">
141
- <input type="text" name="q" class="form-control" placeholder="Search" />
142
- </div>
143
- <input type="hidden" name="check_keywords" value="yes" />
144
- <input type="hidden" name="area" value="default" />
145
- </form>
146
-
147
- </div>
148
- </div>
149
- </div>
150
-
151
- <div class="container">
152
- <div class="row">
153
- <div class="col-md-12">
154
-
155
- <div class="section" id="commandline">
156
- <h1>Commandline<a class="headerlink" href="#commandline" title="Permalink to this headline">¶</a></h1>
157
- <div class="section" id="how-to-get-help">
158
- <h2>How to get help<a class="headerlink" href="#how-to-get-help" title="Permalink to this headline">¶</a></h2>
159
- <div class="highlight-console"><div class="highlight"><pre><span class="gp">User@Host:~$</span> bake -h
160
- </pre></div>
161
- </div>
162
- </div>
163
- <div class="section" id="the-most-important-options">
164
- <h2>The most important options<a class="headerlink" href="#the-most-important-options" title="Permalink to this headline">¶</a></h2>
165
- <ol class="arabic">
166
- <li><p class="first"><em>-b</em> the build configuration name</p>
167
- </li>
168
- <li><p class="first"><em>-m</em> the main project directory (default is current directory)</p>
169
- </li>
170
- <li><p class="first"><em>-p</em> the project to build (if not specified, the main project will be built with all dependencies)</p>
171
- <div class="admonition note">
172
- <p class="first admonition-title">Note</p>
173
- <p class="last">All configs of the project will be built, which is usually just one config, but if you have more than one config of the project in the workspace, use a comma separator.</p>
174
- </div>
175
- </li>
176
- </ol>
177
- </div>
178
- <div class="section" id="examples">
179
- <h2>Examples<a class="headerlink" href="#examples" title="Permalink to this headline">¶</a></h2>
180
- <div class="section" id="building-an-application">
181
- <h3>Building an application<a class="headerlink" href="#building-an-application" title="Permalink to this headline">¶</a></h3>
182
- <blockquote>
183
- <div><div class="highlight-console"><div class="highlight"><pre><span class="gp">User@Host:~$</span> bake -b Debug
184
- </pre></div>
185
- </div>
186
- <div class="admonition note">
187
- <p class="first admonition-title">Note</p>
188
- <p>It is possible to omit <em>-b</em>:</p>
189
- <div class="last highlight-console"><div class="highlight"><pre><span class="gp">User@Host:~$</span> bake Debug
190
- </pre></div>
191
- </div>
192
- </div>
193
- </div></blockquote>
194
- </div>
195
- <div class="section" id="building-from-within-an-arbitrary-directory">
196
- <h3>Building from within an arbitrary directory<a class="headerlink" href="#building-from-within-an-arbitrary-directory" title="Permalink to this headline">¶</a></h3>
197
- <blockquote>
198
- <div><div class="highlight-console"><div class="highlight"><pre><span class="gp">User@Host:~$</span> bake Debug -m w:/root/mainProj
199
- </pre></div>
200
- </div>
201
- </div></blockquote>
202
- </div>
203
- <div class="section" id="building-just-one-specific-project">
204
- <h3>Building just one specific project<a class="headerlink" href="#building-just-one-specific-project" title="Permalink to this headline">¶</a></h3>
205
- <p>Assuming the project name to build s myProj.</p>
206
- <blockquote>
207
- <div><div class="highlight-console"><div class="highlight"><pre><span class="gp">User@Host:~$</span> bake Debug -m w:/root1/myProj -p myProj
208
- </pre></div>
209
- </div>
210
- </div></blockquote>
211
- </div>
212
- <div class="section" id="building-specific-projects-with-differnt-roots">
213
- <h3>Building specific projects with differnt roots<a class="headerlink" href="#building-specific-projects-with-differnt-roots" title="Permalink to this headline">¶</a></h3>
214
- <p>Assuming mainProj has several configs really included in the build (which is uncommon), you can choose one of the configs.</p>
215
- <blockquote>
216
- <div><div class="highlight-console"><div class="highlight"><pre><span class="gp">User@Host:~$</span> bake Debug -m w:/root1/myProj -p myProj,abc
217
- </pre></div>
218
- </div>
219
- </div></blockquote>
220
- </div>
221
- <div class="section" id="building-a-project-which-has-more-than-one-root">
222
- <h3>Building a project which has more than one root<a class="headerlink" href="#building-a-project-which-has-more-than-one-root" title="Permalink to this headline">¶</a></h3>
223
- <p>Assuming code has been checked out into two roots, the console supports ansi colors, you want to stop on first error and build only the project bspAbc.</p>
224
- <blockquote>
225
- <div><div class="highlight-console"><div class="highlight"><pre><span class="gp">User@Host:~$</span> bake Debug -m w:/root1/myProj -w w:/root1 -w w:/root2 -r -a black -p bspAbc
226
- </pre></div>
227
- </div>
228
- </div></blockquote>
229
- </div>
230
- <div class="section" id="clean-a-project-s">
231
- <h3>Clean a project(s)<a class="headerlink" href="#clean-a-project-s" title="Permalink to this headline">¶</a></h3>
232
- <blockquote>
233
- <div><div class="highlight-console"><div class="highlight"><pre><span class="gp">User@Host:~$</span> bake Debug -m w:/root1/myProj -w w:/root1 -w w:/root2 -r -a black -p bspAbc -c
234
- </pre></div>
235
- </div>
236
- </div></blockquote>
237
- </div>
238
- <div class="section" id="build-a-single-file-s">
239
- <h3>Build a single file(s)<a class="headerlink" href="#build-a-single-file-s" title="Permalink to this headline">¶</a></h3>
240
- <blockquote>
241
- <div><div class="highlight-console"><div class="highlight"><pre><span class="gp">User@Host:~$</span> bake Debug -p bspAbc -f main.cpp
242
- <span class="gp">User@Host:~$</span> bake Debug -f .asm
243
- </pre></div>
244
- </div>
245
- <div class="admonition note">
246
- <p class="first admonition-title">Note</p>
247
- <p class="last">All files matching the pattern will be compiled (no wildcards allowed)</p>
248
- </div>
249
- </div></blockquote>
250
- </div>
251
- </div>
252
- <div class="section" id="roots-bake">
253
- <h2>roots.bake<a class="headerlink" href="#roots-bake" title="Permalink to this headline">¶</a></h2>
254
- <p>Workspace roots can be defined in a file called &#8220;roots.bake&#8221;, which will be searched from main project directory to root folder.
255
- Example:</p>
256
- <blockquote>
257
- <div><div class="highlight-console"><div class="highlight"><pre><span class="go">../..</span>
258
- <span class="go">C:/another/root # comments written like this</span>
259
- <span class="go">something/else</span>
260
- </pre></div>
261
- </div>
262
- </div></blockquote>
263
- <p>If -w and roots.bake are specified, they will be merged. First -w, then roots.bake.</p>
264
- <p>If -w and roots.bake are not specified, the default workspace root is the parent directory of the main project.</p>
265
- </div>
266
- </div>
267
-
268
-
269
- </div>
270
-
271
- </div>
272
- </div>
273
- <footer class="footer">
274
- <div class="container">
275
- <p class="pull-right">
276
- <a href="#">Back to top</a>
277
-
278
- </p>
279
- <p>
280
- &copy; Copyright 2016, E.S.R.Labs AG.<br/>
281
- Created using <a href="http://sphinx-doc.org/">Sphinx</a> 1.3.1.<br/>
282
- </p>
283
- </div>
284
- </footer>
285
- </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>Commandline &mdash; bake 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: '',
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 documentation" href="../index.html" />
33
+ <link rel="next" title="IDE Support" href="../ide/ide_integrations.html" />
34
+ <link rel="prev" title="Auto-adjustment of paths to existing projects" href="../syntax/auto_adjustment.html" />
35
+ <meta charset='utf-8'>
36
+ <meta http-equiv='X-UA-Compatible' content='IE=edge,chrome=1'>
37
+ <meta name='viewport' content='width=device-width, initial-scale=1.0, maximum-scale=1'>
38
+ <meta name="apple-mobile-web-app-capable" content="yes">
39
+
40
+ </head>
41
+ <body role="document">
42
+
43
+ <div id="navbar" class="navbar navbar-default navbar-fixed-top">
44
+ <div class="container">
45
+ <div class="navbar-header">
46
+ <!-- .btn-navbar is used as the toggle for collapsed navbar content -->
47
+ <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".nav-collapse">
48
+ <span class="icon-bar"></span>
49
+ <span class="icon-bar"></span>
50
+ <span class="icon-bar"></span>
51
+ </button>
52
+ <a class="navbar-brand" href="../index.html"><img src="../_static/logo_tiny_48.png">
53
+ </a>
54
+ <span class="navbar-text navbar-version pull-left"><b></b></span>
55
+ </div>
56
+
57
+ <div class="collapse navbar-collapse nav-collapse">
58
+ <ul class="nav navbar-nav">
59
+
60
+
61
+ <li class="dropdown globaltoc-container">
62
+ <a role="button"
63
+ id="dLabelGlobalToc"
64
+ data-toggle="dropdown"
65
+ data-target="#"
66
+ href="../index.html">Section <b class="caret"></b></a>
67
+ <ul class="dropdown-menu globaltoc"
68
+ role="menu"
69
+ aria-labelledby="dLabelGlobalToc"><ul class="current">
70
+ <li class="toctree-l1"><a class="reference internal" href="../why_bake/why_bake.html">Why you should use bake</a></li>
71
+ <li class="toctree-l1"><a class="reference internal" href="../install/install_bake.html">Install bake</a></li>
72
+ <li class="toctree-l1"><a class="reference internal" href="../quickstart/quickstart.html">Quickstart</a></li>
73
+ <li class="toctree-l1"><a class="reference internal" href="../concepts/concepts.html">Concepts</a></li>
74
+ <li class="toctree-l1"><a class="reference internal" href="../syntax/syntax.html">Syntax</a></li>
75
+ <li class="toctree-l1 current"><a class="current reference internal" href="">Commandline</a></li>
76
+ <li class="toctree-l1"><a class="reference internal" href="../ide/ide_integrations.html">IDE Support</a></li>
77
+ <li class="toctree-l1"><a class="reference internal" href="../tips_and_tricks/tips_and_tricks.html">Additional features</a></li>
78
+ <li class="toctree-l1"><a class="reference internal" href="../performance/performance.html">Performance</a></li>
79
+ <li class="toctree-l1"><a class="reference internal" href="../known_issues.html">Known Issues</a></li>
80
+ <li class="toctree-l1"><a class="reference internal" href="../changelog.html">Changelog</a></li>
81
+ <li class="toctree-l1"><a class="reference internal" href="../license.html">License</a></li>
82
+ </ul>
83
+ <ul>
84
+ <li class="toctree-l1"><a class="reference internal" href="../internal.html">Internal developing notes</a></li>
85
+ </ul>
86
+ </ul>
87
+ </li>
88
+
89
+ <li class="dropdown">
90
+ <a role="button"
91
+ id="dLabelLocalToc"
92
+ data-toggle="dropdown"
93
+ data-target="#"
94
+ href="#">SubSections <b class="caret"></b></a>
95
+ <ul class="dropdown-menu localtoc"
96
+ role="menu"
97
+ aria-labelledby="dLabelLocalToc"><ul>
98
+ <li><a class="reference internal" href="#">Commandline</a><ul>
99
+ <li><a class="reference internal" href="#how-to-get-help">How to get help</a></li>
100
+ <li><a class="reference internal" href="#the-most-important-options">The most important options</a></li>
101
+ <li><a class="reference internal" href="#examples">Examples</a><ul>
102
+ <li><a class="reference internal" href="#building-an-application">Building an application</a></li>
103
+ <li><a class="reference internal" href="#building-from-within-an-arbitrary-directory">Building from within an arbitrary directory</a></li>
104
+ <li><a class="reference internal" href="#building-just-one-specific-project">Building just one specific project</a></li>
105
+ <li><a class="reference internal" href="#building-specific-projects-with-differnt-roots">Building specific projects with differnt roots</a></li>
106
+ <li><a class="reference internal" href="#building-a-project-which-has-more-than-one-root">Building a project which has more than one root</a></li>
107
+ <li><a class="reference internal" href="#clean-a-project-s">Clean a project(s)</a></li>
108
+ <li><a class="reference internal" href="#build-a-single-file-s">Build a single file(s)</a></li>
109
+ </ul>
110
+ </li>
111
+ <li><a class="reference internal" href="#roots-bake">roots.bake</a></li>
112
+ </ul>
113
+ </li>
114
+ </ul>
115
+ </ul>
116
+ </li>
117
+
118
+
119
+
120
+
121
+
122
+ <li>
123
+ <a href="../syntax/auto_adjustment.html" title="Previous Chapter: Auto-adjustment of paths to existing projects"><span class="glyphicon glyphicon-chevron-left visible-sm"></span><span class="hidden-sm hidden-tablet">&laquo; Auto-adjustme...</span>
124
+ </a>
125
+ </li>
126
+ <li>
127
+ <a href="../ide/ide_integrations.html" title="Next Chapter: IDE Support"><span class="glyphicon glyphicon-chevron-right visible-sm"></span><span class="hidden-sm hidden-tablet">IDE Support &raquo;</span>
128
+ </a>
129
+ </li>
130
+
131
+
132
+
133
+
134
+
135
+ </ul>
136
+
137
+
138
+
139
+ <form class="navbar-form navbar-right" action="../search.html" method="get">
140
+ <div class="form-group">
141
+ <input type="text" name="q" class="form-control" placeholder="Search" />
142
+ </div>
143
+ <input type="hidden" name="check_keywords" value="yes" />
144
+ <input type="hidden" name="area" value="default" />
145
+ </form>
146
+
147
+ </div>
148
+ </div>
149
+ </div>
150
+
151
+ <div class="container">
152
+ <div class="row">
153
+ <div class="col-md-12">
154
+
155
+ <div class="section" id="commandline">
156
+ <h1>Commandline<a class="headerlink" href="#commandline" title="Permalink to this headline">¶</a></h1>
157
+ <div class="section" id="how-to-get-help">
158
+ <h2>How to get help<a class="headerlink" href="#how-to-get-help" title="Permalink to this headline">¶</a></h2>
159
+ <div class="highlight-console"><div class="highlight"><pre><span class="gp">User@Host:~$</span> bake -h
160
+ </pre></div>
161
+ </div>
162
+ </div>
163
+ <div class="section" id="the-most-important-options">
164
+ <h2>The most important options<a class="headerlink" href="#the-most-important-options" title="Permalink to this headline">¶</a></h2>
165
+ <ol class="arabic">
166
+ <li><p class="first"><em>-b</em> the build configuration name</p>
167
+ </li>
168
+ <li><p class="first"><em>-m</em> the main project directory (default is current directory)</p>
169
+ </li>
170
+ <li><p class="first"><em>-p</em> the project to build (if not specified, the main project will be built with all dependencies)</p>
171
+ <div class="admonition note">
172
+ <p class="first admonition-title">Note</p>
173
+ <p class="last">All configs of the project will be built, which is usually just one config, but if you have more than one config of the project in the workspace, use a comma separator.</p>
174
+ </div>
175
+ </li>
176
+ </ol>
177
+ </div>
178
+ <div class="section" id="examples">
179
+ <h2>Examples<a class="headerlink" href="#examples" title="Permalink to this headline">¶</a></h2>
180
+ <div class="section" id="building-an-application">
181
+ <h3>Building an application<a class="headerlink" href="#building-an-application" title="Permalink to this headline">¶</a></h3>
182
+ <blockquote>
183
+ <div><div class="highlight-console"><div class="highlight"><pre><span class="gp">User@Host:~$</span> bake -b Debug
184
+ </pre></div>
185
+ </div>
186
+ <div class="admonition note">
187
+ <p class="first admonition-title">Note</p>
188
+ <p>It is possible to omit <em>-b</em>:</p>
189
+ <div class="last highlight-console"><div class="highlight"><pre><span class="gp">User@Host:~$</span> bake Debug
190
+ </pre></div>
191
+ </div>
192
+ </div>
193
+ </div></blockquote>
194
+ </div>
195
+ <div class="section" id="building-from-within-an-arbitrary-directory">
196
+ <h3>Building from within an arbitrary directory<a class="headerlink" href="#building-from-within-an-arbitrary-directory" title="Permalink to this headline">¶</a></h3>
197
+ <blockquote>
198
+ <div><div class="highlight-console"><div class="highlight"><pre><span class="gp">User@Host:~$</span> bake Debug -m w:/root/mainProj
199
+ </pre></div>
200
+ </div>
201
+ </div></blockquote>
202
+ </div>
203
+ <div class="section" id="building-just-one-specific-project">
204
+ <h3>Building just one specific project<a class="headerlink" href="#building-just-one-specific-project" title="Permalink to this headline">¶</a></h3>
205
+ <p>Assuming the project name to build s myProj.</p>
206
+ <blockquote>
207
+ <div><div class="highlight-console"><div class="highlight"><pre><span class="gp">User@Host:~$</span> bake Debug -m w:/root1/myProj -p myProj
208
+ </pre></div>
209
+ </div>
210
+ </div></blockquote>
211
+ </div>
212
+ <div class="section" id="building-specific-projects-with-differnt-roots">
213
+ <h3>Building specific projects with differnt roots<a class="headerlink" href="#building-specific-projects-with-differnt-roots" title="Permalink to this headline">¶</a></h3>
214
+ <p>Assuming mainProj has several configs really included in the build (which is uncommon), you can choose one of the configs.</p>
215
+ <blockquote>
216
+ <div><div class="highlight-console"><div class="highlight"><pre><span class="gp">User@Host:~$</span> bake Debug -m w:/root1/myProj -p myProj,abc
217
+ </pre></div>
218
+ </div>
219
+ </div></blockquote>
220
+ </div>
221
+ <div class="section" id="building-a-project-which-has-more-than-one-root">
222
+ <h3>Building a project which has more than one root<a class="headerlink" href="#building-a-project-which-has-more-than-one-root" title="Permalink to this headline">¶</a></h3>
223
+ <p>Assuming code has been checked out into two roots, the console supports ansi colors, you want to stop on first error and build only the project bspAbc.</p>
224
+ <blockquote>
225
+ <div><div class="highlight-console"><div class="highlight"><pre><span class="gp">User@Host:~$</span> bake Debug -m w:/root1/myProj -w w:/root1 -w w:/root2 -r -a black -p bspAbc
226
+ </pre></div>
227
+ </div>
228
+ </div></blockquote>
229
+ </div>
230
+ <div class="section" id="clean-a-project-s">
231
+ <h3>Clean a project(s)<a class="headerlink" href="#clean-a-project-s" title="Permalink to this headline">¶</a></h3>
232
+ <blockquote>
233
+ <div><div class="highlight-console"><div class="highlight"><pre><span class="gp">User@Host:~$</span> bake Debug -m w:/root1/myProj -w w:/root1 -w w:/root2 -r -a black -p bspAbc -c
234
+ </pre></div>
235
+ </div>
236
+ </div></blockquote>
237
+ </div>
238
+ <div class="section" id="build-a-single-file-s">
239
+ <h3>Build a single file(s)<a class="headerlink" href="#build-a-single-file-s" title="Permalink to this headline">¶</a></h3>
240
+ <blockquote>
241
+ <div><div class="highlight-console"><div class="highlight"><pre><span class="gp">User@Host:~$</span> bake Debug -p bspAbc -f main.cpp
242
+ <span class="gp">User@Host:~$</span> bake Debug -f .asm
243
+ </pre></div>
244
+ </div>
245
+ <div class="admonition note">
246
+ <p class="first admonition-title">Note</p>
247
+ <p class="last">All files matching the pattern will be compiled (no wildcards allowed)</p>
248
+ </div>
249
+ </div></blockquote>
250
+ </div>
251
+ </div>
252
+ <div class="section" id="roots-bake">
253
+ <h2>roots.bake<a class="headerlink" href="#roots-bake" title="Permalink to this headline">¶</a></h2>
254
+ <p>Workspace roots can be defined in a file called &#8220;roots.bake&#8221;, which will be searched from main project directory to root folder.
255
+ Example:</p>
256
+ <blockquote>
257
+ <div><div class="highlight-console"><div class="highlight"><pre><span class="go">../..</span>
258
+ <span class="go">C:/another/root # comments written like this</span>
259
+ <span class="go">something/else</span>
260
+ </pre></div>
261
+ </div>
262
+ </div></blockquote>
263
+ <p>If -w and roots.bake are specified, they will be merged. First -w, then roots.bake.</p>
264
+ <p>If -w and roots.bake are not specified, the default workspace root is the parent directory of the main project.</p>
265
+ </div>
266
+ </div>
267
+
268
+
269
+ </div>
270
+
271
+ </div>
272
+ </div>
273
+ <footer class="footer">
274
+ <div class="container">
275
+ <p class="pull-right">
276
+ <a href="#">Back to top</a>
277
+
278
+ </p>
279
+ <p>
280
+ &copy; Copyright 2016, E.S.R.Labs AG.<br/>
281
+ Created using <a href="http://sphinx-doc.org/">Sphinx</a> 1.3.1.<br/>
282
+ </p>
283
+ </div>
284
+ </footer>
285
+ </body>
286
286
  </html>