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.
- checksums.yaml +4 -4
- data/documentation/_build/html/_sources/changelog.txt +3 -0
- data/documentation/_build/html/_sources/concepts/build_hierarchy.txt +34 -0
- data/documentation/_build/html/_sources/index.txt +1 -1
- data/documentation/_build/html/_static/basic.css +598 -598
- data/documentation/_build/html/_static/bootstrap-2.3.2/css/bootstrap-responsive.css +1109 -1109
- data/documentation/_build/html/_static/bootstrap-2.3.2/css/bootstrap-responsive.min.css +9 -9
- data/documentation/_build/html/_static/bootstrap-2.3.2/css/bootstrap.css +6167 -6167
- data/documentation/_build/html/_static/bootstrap-2.3.2/css/bootstrap.min.css +9 -9
- data/documentation/_build/html/_static/bootstrap-2.3.2/js/bootstrap.js +2287 -2287
- data/documentation/_build/html/_static/bootstrap-2.3.2/js/bootstrap.min.js +5 -5
- data/documentation/_build/html/_static/bootstrap-3.3.4/css/bootstrap-theme.css +476 -476
- data/documentation/_build/html/_static/bootstrap-3.3.4/css/bootstrap-theme.min.css +4 -4
- data/documentation/_build/html/_static/bootstrap-3.3.4/css/bootstrap.css +6584 -6584
- data/documentation/_build/html/_static/bootstrap-3.3.4/css/bootstrap.min.css +4 -4
- data/documentation/_build/html/_static/bootstrap-3.3.4/fonts/glyphicons-halflings-regular.svg +287 -287
- data/documentation/_build/html/_static/bootstrap-3.3.4/js/bootstrap.js +2317 -2317
- data/documentation/_build/html/_static/bootstrap-3.3.4/js/bootstrap.min.js +6 -6
- data/documentation/_build/html/_static/bootstrap-3.3.4/js/npm.js +12 -12
- data/documentation/_build/html/_static/bootstrap-sphinx.css +186 -186
- data/documentation/_build/html/_static/bootstrap-sphinx.js +161 -161
- data/documentation/_build/html/_static/bootswatch-2.3.2/amelia/bootstrap.min.css +9 -9
- data/documentation/_build/html/_static/bootswatch-2.3.2/cerulean/bootstrap.min.css +9 -9
- data/documentation/_build/html/_static/bootswatch-2.3.2/cosmo/bootstrap.min.css +9 -9
- data/documentation/_build/html/_static/bootswatch-2.3.2/cyborg/bootstrap.min.css +9 -9
- data/documentation/_build/html/_static/bootswatch-2.3.2/flatly/bootstrap.min.css +9 -9
- data/documentation/_build/html/_static/bootswatch-2.3.2/journal/bootstrap.min.css +9 -9
- data/documentation/_build/html/_static/bootswatch-2.3.2/readable/bootstrap.min.css +9 -9
- data/documentation/_build/html/_static/bootswatch-2.3.2/simplex/bootstrap.min.css +9 -9
- data/documentation/_build/html/_static/bootswatch-2.3.2/slate/bootstrap.min.css +9 -9
- data/documentation/_build/html/_static/bootswatch-2.3.2/spacelab/bootstrap.min.css +9 -9
- data/documentation/_build/html/_static/bootswatch-2.3.2/spruce/bootstrap.min.css +9 -9
- data/documentation/_build/html/_static/bootswatch-2.3.2/superhero/bootstrap.min.css +9 -9
- data/documentation/_build/html/_static/bootswatch-2.3.2/united/bootstrap.min.css +9 -9
- data/documentation/_build/html/_static/bootswatch-3.3.4/cerulean/bootstrap.min.css +6 -6
- data/documentation/_build/html/_static/bootswatch-3.3.4/cosmo/bootstrap.min.css +6 -6
- data/documentation/_build/html/_static/bootswatch-3.3.4/custom/bootstrap.min.css +6 -6
- data/documentation/_build/html/_static/bootswatch-3.3.4/cyborg/bootstrap.min.css +6 -6
- data/documentation/_build/html/_static/bootswatch-3.3.4/darkly/bootstrap.min.css +6 -6
- data/documentation/_build/html/_static/bootswatch-3.3.4/flatly/bootstrap.min.css +6 -6
- data/documentation/_build/html/_static/bootswatch-3.3.4/fonts/glyphicons-halflings-regular.svg +287 -287
- data/documentation/_build/html/_static/bootswatch-3.3.4/journal/bootstrap.min.css +6 -6
- data/documentation/_build/html/_static/bootswatch-3.3.4/lumen/bootstrap.min.css +6 -6
- data/documentation/_build/html/_static/bootswatch-3.3.4/paper/bootstrap.min.css +6 -6
- data/documentation/_build/html/_static/bootswatch-3.3.4/readable/bootstrap.min.css +6 -6
- data/documentation/_build/html/_static/bootswatch-3.3.4/sandstone/bootstrap.min.css +6 -6
- data/documentation/_build/html/_static/bootswatch-3.3.4/simplex/bootstrap.min.css +6 -6
- data/documentation/_build/html/_static/bootswatch-3.3.4/slate/bootstrap.min.css +6 -6
- data/documentation/_build/html/_static/bootswatch-3.3.4/spacelab/bootstrap.min.css +6 -6
- data/documentation/_build/html/_static/bootswatch-3.3.4/superhero/bootstrap.min.css +6 -6
- data/documentation/_build/html/_static/bootswatch-3.3.4/united/bootstrap.min.css +6 -6
- data/documentation/_build/html/_static/bootswatch-3.3.4/yeti/bootstrap.min.css +6 -6
- data/documentation/_build/html/_static/doctools.js +263 -263
- data/documentation/_build/html/_static/jquery-1.11.1.js +10308 -10308
- data/documentation/_build/html/_static/jquery.js +4 -4
- data/documentation/_build/html/_static/js/jquery-1.11.0.min.js +4 -4
- data/documentation/_build/html/_static/js/jquery-fix.js +1 -1
- data/documentation/_build/html/_static/searchtools.js +621 -621
- data/documentation/_build/html/_static/underscore-1.3.1.js +999 -999
- data/documentation/_build/html/_static/underscore.js +31 -31
- data/documentation/_build/html/_static/websupport.js +808 -808
- data/documentation/_build/html/changelog.html +949 -944
- data/documentation/_build/html/commandline/commandline.html +284 -284
- data/documentation/_build/html/concepts/build_hierarchy.html +205 -0
- data/documentation/_build/html/concepts/concepts.html +186 -186
- data/documentation/_build/html/concepts/link_order.html +245 -245
- data/documentation/_build/html/concepts/the_main_project.html +260 -260
- data/documentation/_build/html/concepts/the_project_meta_file.html +288 -288
- data/documentation/_build/html/genindex.html +152 -152
- data/documentation/_build/html/ide/eclipse/eclipse.html +186 -186
- data/documentation/_build/html/ide/eclipse/how_to_convert_existing_cdt_workspace.html +208 -208
- data/documentation/_build/html/ide/eclipse/how_to_create_a_new_project_in_eclipse.html +191 -191
- data/documentation/_build/html/ide/eclipse/how_to_create_a_workspace_in_eclipse.html +198 -198
- data/documentation/_build/html/ide/eclipse/how_to_debug_in_eclipse.html +198 -198
- data/documentation/_build/html/ide/eclipse/how_to_install_eclipse_plugin.html +196 -196
- data/documentation/_build/html/ide/eclipse/how_to_use_bake_in_eclipse.html +256 -256
- data/documentation/_build/html/ide/ide_integrations.html +183 -183
- data/documentation/_build/html/ide/vs/how_to_create_vs_projects.html +171 -171
- data/documentation/_build/html/ide/vs/how_to_debug_in_vs.html +185 -185
- data/documentation/_build/html/ide/vs/how_to_used_bake_in_vs.html +190 -190
- data/documentation/_build/html/ide/vs/vs.html +170 -170
- data/documentation/_build/html/ide/vs/vs_install.html +202 -202
- data/documentation/_build/html/index.html +241 -241
- data/documentation/_build/html/install/install_bake.html +279 -279
- data/documentation/_build/html/internal.html +217 -217
- data/documentation/_build/html/known_issues.html +175 -175
- data/documentation/_build/html/license.html +236 -236
- data/documentation/_build/html/performance/performance.html +373 -373
- data/documentation/_build/html/quickstart/quickstart.html +236 -236
- data/documentation/_build/html/search.html +174 -174
- data/documentation/_build/html/searchindex.js +1 -1
- data/documentation/_build/html/syntax/adapt_configs.html +286 -286
- data/documentation/_build/html/syntax/derive_configs.html +247 -247
- data/documentation/_build/html/syntax/project_meta_syntax.html +893 -893
- data/documentation/_build/html/syntax/syntax.html +189 -189
- data/documentation/_build/html/syntax/variable_substitutions.html +378 -378
- data/documentation/_build/html/tips_and_tricks/bundle.html +180 -180
- data/documentation/_build/html/tips_and_tricks/how_to_use_bake_with_cygwin.html +214 -214
- data/documentation/_build/html/tips_and_tricks/static_code_analysis.html +284 -284
- data/documentation/_build/html/tips_and_tricks/the_bakery.html +405 -405
- data/documentation/_build/html/tips_and_tricks/the_clang.html +201 -201
- data/documentation/_build/html/tips_and_tricks/tips_and_tricks.html +197 -197
- data/documentation/_build/html/why_bake/why_bake.html +241 -241
- data/lib/blocks/block.rb +9 -4
- data/lib/common/version.rb +1 -1
- metadata +4 -2
|
@@ -1,181 +1,181 @@
|
|
|
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>Bundle projects — bake 2.19.
|
|
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.
|
|
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.
|
|
33
|
-
<link rel="up" title="Tips and Tricks" href="tips_and_tricks.html" />
|
|
34
|
-
<link rel="next" title="Performance" href="../performance/performance.html" />
|
|
35
|
-
<link rel="prev" title="Clang Analyze" href="the_clang.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="#">Bundle projects</a></li>
|
|
100
|
-
</ul>
|
|
101
|
-
</ul>
|
|
102
|
-
</li>
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
<li>
|
|
109
|
-
<a href="the_clang.html" title="Previous Chapter: Clang Analyze"><span class="glyphicon glyphicon-chevron-left visible-sm"></span><span class="hidden-sm hidden-tablet">« Clang Analyze</span>
|
|
110
|
-
</a>
|
|
111
|
-
</li>
|
|
112
|
-
<li>
|
|
113
|
-
<a href="../performance/performance.html" title="Next Chapter: Performance"><span class="glyphicon glyphicon-chevron-right visible-sm"></span><span class="hidden-sm hidden-tablet">Performance »</span>
|
|
114
|
-
</a>
|
|
115
|
-
</li>
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
</ul>
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
<form class="navbar-form navbar-right" action="../search.html" method="get">
|
|
126
|
-
<div class="form-group">
|
|
127
|
-
<input type="text" name="q" class="form-control" placeholder="Search" />
|
|
128
|
-
</div>
|
|
129
|
-
<input type="hidden" name="check_keywords" value="yes" />
|
|
130
|
-
<input type="hidden" name="area" value="default" />
|
|
131
|
-
</form>
|
|
132
|
-
|
|
133
|
-
</div>
|
|
134
|
-
</div>
|
|
135
|
-
</div>
|
|
136
|
-
|
|
137
|
-
<div class="container">
|
|
138
|
-
<div class="row">
|
|
139
|
-
<div class="col-md-12">
|
|
140
|
-
|
|
141
|
-
<div class="section" id="bundle-projects">
|
|
142
|
-
<h1>Bundle projects<a class="headerlink" href="#bundle-projects" title="Permalink to this headline">¶</a></h1>
|
|
143
|
-
<div class="admonition warning">
|
|
144
|
-
<p class="first admonition-title">Warning</p>
|
|
145
|
-
<p class="last">This feature is experimental!</p>
|
|
146
|
-
</div>
|
|
147
|
-
<p>With</p>
|
|
148
|
-
<div class="highlight-console"><div class="highlight"><pre><span class="go">bake ... --bundle <outputDir></span>
|
|
149
|
-
</pre></div>
|
|
150
|
-
</div>
|
|
151
|
-
<p>the projects will be bundled. This means</p>
|
|
152
|
-
<ul class="simple">
|
|
153
|
-
<li>linked binaries are copied to <outputDir>/bin</li>
|
|
154
|
-
<li>created libraries are copied to <outputDir>/lib</li>
|
|
155
|
-
<li>sources from the main project are copied to <outputDir></li>
|
|
156
|
-
<li>includes needed by the main projects are copied to <outputDir>/inc</li>
|
|
157
|
-
<li>A Project.meta will be created in <outputDir>.</li>
|
|
158
|
-
</ul>
|
|
159
|
-
<p>This is a starting point for further manual adaptions.</p>
|
|
160
|
-
<p>Feedback welcome!</p>
|
|
161
|
-
</div>
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
</div>
|
|
165
|
-
|
|
166
|
-
</div>
|
|
167
|
-
</div>
|
|
168
|
-
<footer class="footer">
|
|
169
|
-
<div class="container">
|
|
170
|
-
<p class="pull-right">
|
|
171
|
-
<a href="#">Back to top</a>
|
|
172
|
-
|
|
173
|
-
</p>
|
|
174
|
-
<p>
|
|
175
|
-
© Copyright 2016, E.S.R.Labs AG.<br/>
|
|
176
|
-
Created using <a href="http://sphinx-doc.org/">Sphinx</a> 1.3.1.<br/>
|
|
177
|
-
</p>
|
|
178
|
-
</div>
|
|
179
|
-
</footer>
|
|
180
|
-
</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>Bundle projects — 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="Performance" href="../performance/performance.html" />
|
|
35
|
+
<link rel="prev" title="Clang Analyze" href="the_clang.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="#">Bundle projects</a></li>
|
|
100
|
+
</ul>
|
|
101
|
+
</ul>
|
|
102
|
+
</li>
|
|
103
|
+
|
|
104
|
+
|
|
105
|
+
|
|
106
|
+
|
|
107
|
+
|
|
108
|
+
<li>
|
|
109
|
+
<a href="the_clang.html" title="Previous Chapter: Clang Analyze"><span class="glyphicon glyphicon-chevron-left visible-sm"></span><span class="hidden-sm hidden-tablet">« Clang Analyze</span>
|
|
110
|
+
</a>
|
|
111
|
+
</li>
|
|
112
|
+
<li>
|
|
113
|
+
<a href="../performance/performance.html" title="Next Chapter: Performance"><span class="glyphicon glyphicon-chevron-right visible-sm"></span><span class="hidden-sm hidden-tablet">Performance »</span>
|
|
114
|
+
</a>
|
|
115
|
+
</li>
|
|
116
|
+
|
|
117
|
+
|
|
118
|
+
|
|
119
|
+
|
|
120
|
+
|
|
121
|
+
</ul>
|
|
122
|
+
|
|
123
|
+
|
|
124
|
+
|
|
125
|
+
<form class="navbar-form navbar-right" action="../search.html" method="get">
|
|
126
|
+
<div class="form-group">
|
|
127
|
+
<input type="text" name="q" class="form-control" placeholder="Search" />
|
|
128
|
+
</div>
|
|
129
|
+
<input type="hidden" name="check_keywords" value="yes" />
|
|
130
|
+
<input type="hidden" name="area" value="default" />
|
|
131
|
+
</form>
|
|
132
|
+
|
|
133
|
+
</div>
|
|
134
|
+
</div>
|
|
135
|
+
</div>
|
|
136
|
+
|
|
137
|
+
<div class="container">
|
|
138
|
+
<div class="row">
|
|
139
|
+
<div class="col-md-12">
|
|
140
|
+
|
|
141
|
+
<div class="section" id="bundle-projects">
|
|
142
|
+
<h1>Bundle projects<a class="headerlink" href="#bundle-projects" title="Permalink to this headline">¶</a></h1>
|
|
143
|
+
<div class="admonition warning">
|
|
144
|
+
<p class="first admonition-title">Warning</p>
|
|
145
|
+
<p class="last">This feature is experimental!</p>
|
|
146
|
+
</div>
|
|
147
|
+
<p>With</p>
|
|
148
|
+
<div class="highlight-console"><div class="highlight"><pre><span class="go">bake ... --bundle <outputDir></span>
|
|
149
|
+
</pre></div>
|
|
150
|
+
</div>
|
|
151
|
+
<p>the projects will be bundled. This means</p>
|
|
152
|
+
<ul class="simple">
|
|
153
|
+
<li>linked binaries are copied to <outputDir>/bin</li>
|
|
154
|
+
<li>created libraries are copied to <outputDir>/lib</li>
|
|
155
|
+
<li>sources from the main project are copied to <outputDir></li>
|
|
156
|
+
<li>includes needed by the main projects are copied to <outputDir>/inc</li>
|
|
157
|
+
<li>A Project.meta will be created in <outputDir>.</li>
|
|
158
|
+
</ul>
|
|
159
|
+
<p>This is a starting point for further manual adaptions.</p>
|
|
160
|
+
<p>Feedback welcome!</p>
|
|
161
|
+
</div>
|
|
162
|
+
|
|
163
|
+
|
|
164
|
+
</div>
|
|
165
|
+
|
|
166
|
+
</div>
|
|
167
|
+
</div>
|
|
168
|
+
<footer class="footer">
|
|
169
|
+
<div class="container">
|
|
170
|
+
<p class="pull-right">
|
|
171
|
+
<a href="#">Back to top</a>
|
|
172
|
+
|
|
173
|
+
</p>
|
|
174
|
+
<p>
|
|
175
|
+
© Copyright 2016, E.S.R.Labs AG.<br/>
|
|
176
|
+
Created using <a href="http://sphinx-doc.org/">Sphinx</a> 1.3.1.<br/>
|
|
177
|
+
</p>
|
|
178
|
+
</div>
|
|
179
|
+
</footer>
|
|
180
|
+
</body>
|
|
181
181
|
</html>
|
|
@@ -1,215 +1,215 @@
|
|
|
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>How to use bake with cygwin — bake 2.19.
|
|
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.
|
|
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.
|
|
33
|
-
<link rel="up" title="Tips and Tricks" href="tips_and_tricks.html" />
|
|
34
|
-
<link rel="next" title="Clang Analyze" href="the_clang.html" />
|
|
35
|
-
<link rel="prev" title="Static Code Analysis" href="static_code_analysis.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="#">How to use bake with cygwin</a></li>
|
|
100
|
-
</ul>
|
|
101
|
-
</ul>
|
|
102
|
-
</li>
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
<li>
|
|
109
|
-
<a href="static_code_analysis.html" title="Previous Chapter: Static Code Analysis"><span class="glyphicon glyphicon-chevron-left visible-sm"></span><span class="hidden-sm hidden-tablet">« Static Code A...</span>
|
|
110
|
-
</a>
|
|
111
|
-
</li>
|
|
112
|
-
<li>
|
|
113
|
-
<a href="the_clang.html" title="Next Chapter: Clang Analyze"><span class="glyphicon glyphicon-chevron-right visible-sm"></span><span class="hidden-sm hidden-tablet">Clang Analyze »</span>
|
|
114
|
-
</a>
|
|
115
|
-
</li>
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
</ul>
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
<form class="navbar-form navbar-right" action="../search.html" method="get">
|
|
126
|
-
<div class="form-group">
|
|
127
|
-
<input type="text" name="q" class="form-control" placeholder="Search" />
|
|
128
|
-
</div>
|
|
129
|
-
<input type="hidden" name="check_keywords" value="yes" />
|
|
130
|
-
<input type="hidden" name="area" value="default" />
|
|
131
|
-
</form>
|
|
132
|
-
|
|
133
|
-
</div>
|
|
134
|
-
</div>
|
|
135
|
-
</div>
|
|
136
|
-
|
|
137
|
-
<div class="container">
|
|
138
|
-
<div class="row">
|
|
139
|
-
<div class="col-md-12">
|
|
140
|
-
|
|
141
|
-
<div class="section" id="how-to-use-bake-with-cygwin">
|
|
142
|
-
<h1>How to use bake with cygwin<a class="headerlink" href="#how-to-use-bake-with-cygwin" title="Permalink to this headline">¶</a></h1>
|
|
143
|
-
<p>Why using Cygwin on Windows instead of the built-in command shell?
|
|
144
|
-
There is one major reason: Cygwin supports <strong>colored output</strong> via ansi escape sequences.
|
|
145
|
-
Note, that these steps differ depending on the Cygwin version, installed packages and configuration.</p>
|
|
146
|
-
<ol class="arabic">
|
|
147
|
-
<li><p class="first">Get rid of the cygdrive prefix</p>
|
|
148
|
-
<blockquote>
|
|
149
|
-
<div><a class="reference internal image-reference" href="../_images/cygwin_mount.png"><img alt="../_images/cygwin_mount.png" src="../_images/cygwin_mount.png" style="width: 50.0%;" /></a>
|
|
150
|
-
<p>As you see, “c:” is now “/c” and not “/cygdrive/c” anymore.</p>
|
|
151
|
-
<div class="admonition note">
|
|
152
|
-
<p class="first admonition-title">Note</p>
|
|
153
|
-
<p>In newer Cygwin versions, this is not permanent. To make it permanent,
|
|
154
|
-
add the following line to /etc/fstab (can be found in your Cygwin installation directory):</p>
|
|
155
|
-
<div class="last highlight-console"><div class="highlight"><pre><span class="go">none / cygdrive binary,posix=0,user 0 0</span>
|
|
156
|
-
</pre></div>
|
|
157
|
-
</div>
|
|
158
|
-
</div>
|
|
159
|
-
</div></blockquote>
|
|
160
|
-
</li>
|
|
161
|
-
<li><p class="first">Get rid of the Cygwin ruby</p>
|
|
162
|
-
<blockquote>
|
|
163
|
-
<div><a class="reference internal image-reference" href="../_images/cygwin_ruby.png"><img alt="../_images/cygwin_ruby.png" src="../_images/cygwin_ruby.png" style="width: 50.0%;" /></a>
|
|
164
|
-
<p>Easiest way is to rename the Cygwin ruby, which makes the original ruby visible.
|
|
165
|
-
This is only necessary if you have ruby installed in our Cygwin environment.</p>
|
|
166
|
-
</div></blockquote>
|
|
167
|
-
</li>
|
|
168
|
-
<li><p class="first">Add tty to CYGWIN option</p>
|
|
169
|
-
<blockquote>
|
|
170
|
-
<div><a class="reference internal image-reference" href="../_images/cygwin_tty.png"><img alt="../_images/cygwin_tty.png" src="../_images/cygwin_tty.png" style="width: 70.0%;" /></a>
|
|
171
|
-
<p>“tty” must be added to the CYGWIN system variable.</p>
|
|
172
|
-
</div></blockquote>
|
|
173
|
-
</li>
|
|
174
|
-
<li><p class="first">Switch to raw mode</p>
|
|
175
|
-
<blockquote>
|
|
176
|
-
<div><p>The ctrl-c handler in Cygwin only works for programs compiled with the correct Cygwin libs. This does not apply to
|
|
177
|
-
most ruby installations. Hitting ctrl-c may interrupt the compiler, but bake does not get this signal.</p>
|
|
178
|
-
<p>You can set the Cygwin console to raw mode:</p>
|
|
179
|
-
<div class="highlight-console"><div class="highlight"><pre><span class="go">stty raw</span>
|
|
180
|
-
</pre></div>
|
|
181
|
-
</div>
|
|
182
|
-
<p>Now bake can read ctrl-c as raw character on stdin. Bake will abort after all subprocesses - like the running compilation steps - have returned.</p>
|
|
183
|
-
</div></blockquote>
|
|
184
|
-
</li>
|
|
185
|
-
<li><p class="first">Start the build</p>
|
|
186
|
-
<blockquote>
|
|
187
|
-
<div><p>Use the parameter “-a black” or “-a white” depending on the background color of your shell.
|
|
188
|
-
Depending on your Cygwin installation, you have to call “bake.bat” instead of “bake”. To avoid this, create an alias, e.g:</p>
|
|
189
|
-
<div class="highlight-console"><div class="highlight"><pre><span class="go">alias bake=/c/Programme/_dev/Ruby192/bin/bake.bat</span>
|
|
190
|
-
</pre></div>
|
|
191
|
-
</div>
|
|
192
|
-
</div></blockquote>
|
|
193
|
-
</li>
|
|
194
|
-
</ol>
|
|
195
|
-
</div>
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
</div>
|
|
199
|
-
|
|
200
|
-
</div>
|
|
201
|
-
</div>
|
|
202
|
-
<footer class="footer">
|
|
203
|
-
<div class="container">
|
|
204
|
-
<p class="pull-right">
|
|
205
|
-
<a href="#">Back to top</a>
|
|
206
|
-
|
|
207
|
-
</p>
|
|
208
|
-
<p>
|
|
209
|
-
© Copyright 2016, E.S.R.Labs AG.<br/>
|
|
210
|
-
Created using <a href="http://sphinx-doc.org/">Sphinx</a> 1.3.1.<br/>
|
|
211
|
-
</p>
|
|
212
|
-
</div>
|
|
213
|
-
</footer>
|
|
214
|
-
</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>How to use bake with cygwin — 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="Clang Analyze" href="the_clang.html" />
|
|
35
|
+
<link rel="prev" title="Static Code Analysis" href="static_code_analysis.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="#">How to use bake with cygwin</a></li>
|
|
100
|
+
</ul>
|
|
101
|
+
</ul>
|
|
102
|
+
</li>
|
|
103
|
+
|
|
104
|
+
|
|
105
|
+
|
|
106
|
+
|
|
107
|
+
|
|
108
|
+
<li>
|
|
109
|
+
<a href="static_code_analysis.html" title="Previous Chapter: Static Code Analysis"><span class="glyphicon glyphicon-chevron-left visible-sm"></span><span class="hidden-sm hidden-tablet">« Static Code A...</span>
|
|
110
|
+
</a>
|
|
111
|
+
</li>
|
|
112
|
+
<li>
|
|
113
|
+
<a href="the_clang.html" title="Next Chapter: Clang Analyze"><span class="glyphicon glyphicon-chevron-right visible-sm"></span><span class="hidden-sm hidden-tablet">Clang Analyze »</span>
|
|
114
|
+
</a>
|
|
115
|
+
</li>
|
|
116
|
+
|
|
117
|
+
|
|
118
|
+
|
|
119
|
+
|
|
120
|
+
|
|
121
|
+
</ul>
|
|
122
|
+
|
|
123
|
+
|
|
124
|
+
|
|
125
|
+
<form class="navbar-form navbar-right" action="../search.html" method="get">
|
|
126
|
+
<div class="form-group">
|
|
127
|
+
<input type="text" name="q" class="form-control" placeholder="Search" />
|
|
128
|
+
</div>
|
|
129
|
+
<input type="hidden" name="check_keywords" value="yes" />
|
|
130
|
+
<input type="hidden" name="area" value="default" />
|
|
131
|
+
</form>
|
|
132
|
+
|
|
133
|
+
</div>
|
|
134
|
+
</div>
|
|
135
|
+
</div>
|
|
136
|
+
|
|
137
|
+
<div class="container">
|
|
138
|
+
<div class="row">
|
|
139
|
+
<div class="col-md-12">
|
|
140
|
+
|
|
141
|
+
<div class="section" id="how-to-use-bake-with-cygwin">
|
|
142
|
+
<h1>How to use bake with cygwin<a class="headerlink" href="#how-to-use-bake-with-cygwin" title="Permalink to this headline">¶</a></h1>
|
|
143
|
+
<p>Why using Cygwin on Windows instead of the built-in command shell?
|
|
144
|
+
There is one major reason: Cygwin supports <strong>colored output</strong> via ansi escape sequences.
|
|
145
|
+
Note, that these steps differ depending on the Cygwin version, installed packages and configuration.</p>
|
|
146
|
+
<ol class="arabic">
|
|
147
|
+
<li><p class="first">Get rid of the cygdrive prefix</p>
|
|
148
|
+
<blockquote>
|
|
149
|
+
<div><a class="reference internal image-reference" href="../_images/cygwin_mount.png"><img alt="../_images/cygwin_mount.png" src="../_images/cygwin_mount.png" style="width: 50.0%;" /></a>
|
|
150
|
+
<p>As you see, “c:” is now “/c” and not “/cygdrive/c” anymore.</p>
|
|
151
|
+
<div class="admonition note">
|
|
152
|
+
<p class="first admonition-title">Note</p>
|
|
153
|
+
<p>In newer Cygwin versions, this is not permanent. To make it permanent,
|
|
154
|
+
add the following line to /etc/fstab (can be found in your Cygwin installation directory):</p>
|
|
155
|
+
<div class="last highlight-console"><div class="highlight"><pre><span class="go">none / cygdrive binary,posix=0,user 0 0</span>
|
|
156
|
+
</pre></div>
|
|
157
|
+
</div>
|
|
158
|
+
</div>
|
|
159
|
+
</div></blockquote>
|
|
160
|
+
</li>
|
|
161
|
+
<li><p class="first">Get rid of the Cygwin ruby</p>
|
|
162
|
+
<blockquote>
|
|
163
|
+
<div><a class="reference internal image-reference" href="../_images/cygwin_ruby.png"><img alt="../_images/cygwin_ruby.png" src="../_images/cygwin_ruby.png" style="width: 50.0%;" /></a>
|
|
164
|
+
<p>Easiest way is to rename the Cygwin ruby, which makes the original ruby visible.
|
|
165
|
+
This is only necessary if you have ruby installed in our Cygwin environment.</p>
|
|
166
|
+
</div></blockquote>
|
|
167
|
+
</li>
|
|
168
|
+
<li><p class="first">Add tty to CYGWIN option</p>
|
|
169
|
+
<blockquote>
|
|
170
|
+
<div><a class="reference internal image-reference" href="../_images/cygwin_tty.png"><img alt="../_images/cygwin_tty.png" src="../_images/cygwin_tty.png" style="width: 70.0%;" /></a>
|
|
171
|
+
<p>“tty” must be added to the CYGWIN system variable.</p>
|
|
172
|
+
</div></blockquote>
|
|
173
|
+
</li>
|
|
174
|
+
<li><p class="first">Switch to raw mode</p>
|
|
175
|
+
<blockquote>
|
|
176
|
+
<div><p>The ctrl-c handler in Cygwin only works for programs compiled with the correct Cygwin libs. This does not apply to
|
|
177
|
+
most ruby installations. Hitting ctrl-c may interrupt the compiler, but bake does not get this signal.</p>
|
|
178
|
+
<p>You can set the Cygwin console to raw mode:</p>
|
|
179
|
+
<div class="highlight-console"><div class="highlight"><pre><span class="go">stty raw</span>
|
|
180
|
+
</pre></div>
|
|
181
|
+
</div>
|
|
182
|
+
<p>Now bake can read ctrl-c as raw character on stdin. Bake will abort after all subprocesses - like the running compilation steps - have returned.</p>
|
|
183
|
+
</div></blockquote>
|
|
184
|
+
</li>
|
|
185
|
+
<li><p class="first">Start the build</p>
|
|
186
|
+
<blockquote>
|
|
187
|
+
<div><p>Use the parameter “-a black” or “-a white” depending on the background color of your shell.
|
|
188
|
+
Depending on your Cygwin installation, you have to call “bake.bat” instead of “bake”. To avoid this, create an alias, e.g:</p>
|
|
189
|
+
<div class="highlight-console"><div class="highlight"><pre><span class="go">alias bake=/c/Programme/_dev/Ruby192/bin/bake.bat</span>
|
|
190
|
+
</pre></div>
|
|
191
|
+
</div>
|
|
192
|
+
</div></blockquote>
|
|
193
|
+
</li>
|
|
194
|
+
</ol>
|
|
195
|
+
</div>
|
|
196
|
+
|
|
197
|
+
|
|
198
|
+
</div>
|
|
199
|
+
|
|
200
|
+
</div>
|
|
201
|
+
</div>
|
|
202
|
+
<footer class="footer">
|
|
203
|
+
<div class="container">
|
|
204
|
+
<p class="pull-right">
|
|
205
|
+
<a href="#">Back to top</a>
|
|
206
|
+
|
|
207
|
+
</p>
|
|
208
|
+
<p>
|
|
209
|
+
© Copyright 2016, E.S.R.Labs AG.<br/>
|
|
210
|
+
Created using <a href="http://sphinx-doc.org/">Sphinx</a> 1.3.1.<br/>
|
|
211
|
+
</p>
|
|
212
|
+
</div>
|
|
213
|
+
</footer>
|
|
214
|
+
</body>
|
|
215
215
|
</html>
|