bake-toolkit 2.19.0 → 2.19.1

Sign up to get free protection for your applications and to get access to all the features.
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,285 +1,285 @@
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 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="next" title="IDE Support" href="../ide/ide_integrations.html" />
34
- <link rel="prev" title="Adapt configs" href="../syntax/adapt_configs.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">Tips and Tricks</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/adapt_configs.html" title="Previous Chapter: Adapt configs"><span class="glyphicon glyphicon-chevron-left visible-sm"></span><span class="hidden-sm hidden-tablet">&laquo; Adapt configs</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 not specified, the default workspace root is the parent directory of the main project.</p>
264
- </div>
265
- </div>
266
-
267
-
268
- </div>
269
-
270
- </div>
271
- </div>
272
- <footer class="footer">
273
- <div class="container">
274
- <p class="pull-right">
275
- <a href="#">Back to top</a>
276
-
277
- </p>
278
- <p>
279
- &copy; Copyright 2016, E.S.R.Labs AG.<br/>
280
- Created using <a href="http://sphinx-doc.org/">Sphinx</a> 1.3.1.<br/>
281
- </p>
282
- </div>
283
- </footer>
284
- </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 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="next" title="IDE Support" href="../ide/ide_integrations.html" />
34
+ <link rel="prev" title="Adapt configs" href="../syntax/adapt_configs.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">Tips and Tricks</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/adapt_configs.html" title="Previous Chapter: Adapt configs"><span class="glyphicon glyphicon-chevron-left visible-sm"></span><span class="hidden-sm hidden-tablet">&laquo; Adapt configs</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 not specified, the default workspace root is the parent directory of the main project.</p>
264
+ </div>
265
+ </div>
266
+
267
+
268
+ </div>
269
+
270
+ </div>
271
+ </div>
272
+ <footer class="footer">
273
+ <div class="container">
274
+ <p class="pull-right">
275
+ <a href="#">Back to top</a>
276
+
277
+ </p>
278
+ <p>
279
+ &copy; Copyright 2016, E.S.R.Labs AG.<br/>
280
+ Created using <a href="http://sphinx-doc.org/">Sphinx</a> 1.3.1.<br/>
281
+ </p>
282
+ </div>
283
+ </footer>
284
+ </body>
285
285
  </html>