bake-toolkit 2.11.2 → 2.11.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/documentation/_build/html/_images/AddRepository.png +0 -0
- data/documentation/_build/html/_images/AvailableSoftware.png +0 -0
- data/documentation/_build/html/_images/FirstSelect.png +0 -0
- data/documentation/_build/html/_images/Import.png +0 -0
- data/documentation/_build/html/_images/InstallNewSoftware.png +0 -0
- data/documentation/_build/html/_images/Licenses.png +0 -0
- data/documentation/_build/html/_images/New.png +0 -0
- data/documentation/_build/html/_images/Restart.png +0 -0
- data/documentation/_build/html/_images/Result.png +0 -0
- data/documentation/_build/html/_images/Script.png +0 -0
- data/documentation/_build/html/_images/SecondSelect.png +0 -0
- data/documentation/_build/html/_images/SelectExport.png +0 -0
- data/documentation/_build/html/_images/SelectImport.png +0 -0
- data/documentation/_build/html/_images/SelectNew.png +0 -0
- data/documentation/_build/html/_images/TrustMe.png +0 -0
- data/documentation/_build/html/_images/WrongSelect.png +0 -0
- data/documentation/_build/html/_images/bake_build_hierachy.png +0 -0
- data/documentation/_build/html/_images/bake_tagcloud.png +0 -0
- data/documentation/_build/html/_images/buildFile.png +0 -0
- data/documentation/_build/html/_images/buildMain.png +0 -0
- data/documentation/_build/html/_images/console.png +0 -0
- data/documentation/_build/html/_images/cvsp.png +0 -0
- data/documentation/_build/html/_images/cygwin_mount.png +0 -0
- data/documentation/_build/html/_images/cygwin_ruby.png +0 -0
- data/documentation/_build/html/_images/cygwin_tty.png +0 -0
- data/documentation/_build/html/_images/hier.png +0 -0
- data/documentation/_build/html/_images/keys.png +0 -0
- data/documentation/_build/html/_images/pref.png +0 -0
- data/documentation/_build/html/_images/problem.png +0 -0
- data/documentation/_build/html/_images/vs_2010_install.png +0 -0
- data/documentation/_build/html/_images/vs_debug.png +0 -0
- data/documentation/_build/html/_images/vs_error.png +0 -0
- data/documentation/_build/html/_images/vs_install1.png +0 -0
- data/documentation/_build/html/_images/vs_installed.png +0 -0
- data/documentation/_build/html/_images/vs_options.png +0 -0
- data/documentation/_build/html/_images/vs_select_config.png +0 -0
- data/documentation/_build/html/_images/vs_show_config.png +0 -0
- data/documentation/_build/html/_images/vs_update.png +0 -0
- data/documentation/_build/html/_images/vs_update_site.png +0 -0
- data/documentation/_build/html/_sources/changelog.txt +314 -0
- data/documentation/_build/html/_sources/commandline/commandline.txt +107 -0
- data/documentation/_build/html/_sources/concepts/build_hierarchy.txt +34 -0
- data/documentation/_build/html/_sources/concepts/concepts.txt +11 -0
- data/documentation/_build/html/_sources/concepts/the_main_project.txt +45 -0
- data/documentation/_build/html/_sources/concepts/the_project_meta_file.txt +72 -0
- data/documentation/_build/html/_sources/ide/eclipse/eclipse.txt +24 -0
- data/documentation/_build/html/_sources/ide/eclipse/how_to_convert_existing_cdt_workspace.txt +31 -0
- data/documentation/_build/html/_sources/ide/eclipse/how_to_create_a_new_project_in_eclipse.txt +18 -0
- data/documentation/_build/html/_sources/ide/eclipse/how_to_create_a_workspace_in_eclipse.txt +27 -0
- data/documentation/_build/html/_sources/ide/eclipse/how_to_install_eclipse_plugin.txt +44 -0
- data/documentation/_build/html/_sources/ide/eclipse/how_to_use_bake_in_eclipse.txt +86 -0
- data/documentation/_build/html/_sources/ide/ide_integrations.txt +8 -0
- data/documentation/_build/html/_sources/ide/vs/how_to_create_vs_projects.txt +15 -0
- data/documentation/_build/html/_sources/ide/vs/how_to_debug_in_vs.txt +35 -0
- data/documentation/_build/html/_sources/ide/vs/how_to_used_bake_in_vs.txt +35 -0
- data/documentation/_build/html/_sources/ide/vs/vs.txt +10 -0
- data/documentation/_build/html/_sources/ide/vs/vs_install.txt +43 -0
- data/documentation/_build/html/_sources/index.txt +34 -0
- data/documentation/_build/html/_sources/install/install_bake.txt +112 -0
- data/documentation/_build/html/_sources/internal.txt +50 -0
- data/documentation/_build/html/_sources/known_issues.txt +9 -0
- data/documentation/_build/html/_sources/license.txt +4 -0
- data/documentation/_build/html/_sources/performance/performance.txt +104 -0
- data/documentation/_build/html/_sources/quickstart/quickstart.txt +70 -0
- data/documentation/_build/html/_sources/syntax/derive_configs.txt +93 -0
- data/documentation/_build/html/_sources/syntax/project_meta_syntax.txt +19 -0
- data/documentation/_build/html/_sources/syntax/syntax.txt +10 -0
- data/documentation/_build/html/_sources/syntax/variable_substitutions.txt +175 -0
- data/documentation/_build/html/_sources/tips_and_tricks/how_to_use_bake_with_cygwin.txt +49 -0
- data/documentation/_build/html/_sources/tips_and_tricks/static_code_analysis.txt +122 -0
- data/documentation/_build/html/_sources/tips_and_tricks/the_bakery.txt +66 -0
- data/documentation/_build/html/_sources/tips_and_tricks/the_clang.txt +43 -0
- data/documentation/_build/html/_sources/tips_and_tricks/tips_and_tricks.txt +33 -0
- data/documentation/_build/html/_sources/why_bake/why_bake.txt +40 -0
- data/documentation/_build/html/_static/AddRepository.png +0 -0
- data/documentation/_build/html/_static/AvailableSoftware.png +0 -0
- data/documentation/_build/html/_static/FirstSelect.png +0 -0
- data/documentation/_build/html/_static/Import.png +0 -0
- data/documentation/_build/html/_static/InstallNewSoftware.png +0 -0
- data/documentation/_build/html/_static/Lib.meta +8 -0
- data/documentation/_build/html/_static/Licenses.png +0 -0
- data/documentation/_build/html/_static/Main.meta +26 -0
- data/documentation/_build/html/_static/New.png +0 -0
- data/documentation/_build/html/_static/PMetaMain.meta +15 -0
- data/documentation/_build/html/_static/PMetaSub.meta +15 -0
- data/documentation/_build/html/_static/Restart.png +0 -0
- data/documentation/_build/html/_static/Result.png +0 -0
- data/documentation/_build/html/_static/Script.png +0 -0
- data/documentation/_build/html/_static/SecondSelect.png +0 -0
- data/documentation/_build/html/_static/Select.png +0 -0
- data/documentation/_build/html/_static/SelectExport.png +0 -0
- data/documentation/_build/html/_static/SelectImport.png +0 -0
- data/documentation/_build/html/_static/SelectNew.png +0 -0
- data/documentation/_build/html/_static/TrustMe.png +0 -0
- data/documentation/_build/html/_static/WrongSelect.png +0 -0
- data/documentation/_build/html/_static/ajax-loader.gif +0 -0
- data/documentation/_build/html/_static/bake_build_hierachy.png +0 -0
- data/documentation/_build/html/_static/bake_tagcloud.png +0 -0
- data/documentation/_build/html/_static/basic.css +599 -0
- data/documentation/_build/html/_static/bootstrap-2.3.2/css/bootstrap-responsive.css +1109 -0
- data/documentation/_build/html/_static/bootstrap-2.3.2/css/bootstrap-responsive.min.css +9 -0
- data/documentation/_build/html/_static/bootstrap-2.3.2/css/bootstrap.css +6167 -0
- data/documentation/_build/html/_static/bootstrap-2.3.2/css/bootstrap.min.css +9 -0
- data/documentation/_build/html/_static/bootstrap-2.3.2/img/glyphicons-halflings-white.png +0 -0
- data/documentation/_build/html/_static/bootstrap-2.3.2/img/glyphicons-halflings.png +0 -0
- data/documentation/_build/html/_static/bootstrap-2.3.2/js/bootstrap.js +2287 -0
- data/documentation/_build/html/_static/bootstrap-2.3.2/js/bootstrap.min.js +6 -0
- data/documentation/_build/html/_static/bootstrap-3.3.4/css/bootstrap-theme.css +476 -0
- data/documentation/_build/html/_static/bootstrap-3.3.4/css/bootstrap-theme.css.map +1 -0
- data/documentation/_build/html/_static/bootstrap-3.3.4/css/bootstrap-theme.min.css +5 -0
- data/documentation/_build/html/_static/bootstrap-3.3.4/css/bootstrap.css +6584 -0
- data/documentation/_build/html/_static/bootstrap-3.3.4/css/bootstrap.css.map +1 -0
- data/documentation/_build/html/_static/bootstrap-3.3.4/css/bootstrap.min.css +5 -0
- data/documentation/_build/html/_static/bootstrap-3.3.4/fonts/glyphicons-halflings-regular.eot +0 -0
- data/documentation/_build/html/_static/bootstrap-3.3.4/fonts/glyphicons-halflings-regular.svg +288 -0
- data/documentation/_build/html/_static/bootstrap-3.3.4/fonts/glyphicons-halflings-regular.ttf +0 -0
- data/documentation/_build/html/_static/bootstrap-3.3.4/fonts/glyphicons-halflings-regular.woff +0 -0
- data/documentation/_build/html/_static/bootstrap-3.3.4/fonts/glyphicons-halflings-regular.woff2 +0 -0
- data/documentation/_build/html/_static/bootstrap-3.3.4/js/bootstrap.js +2317 -0
- data/documentation/_build/html/_static/bootstrap-3.3.4/js/bootstrap.min.js +7 -0
- data/documentation/_build/html/_static/bootstrap-3.3.4/js/npm.js +13 -0
- data/documentation/_build/html/_static/bootstrap-sphinx.css +186 -0
- data/documentation/_build/html/_static/bootstrap-sphinx.js +162 -0
- data/documentation/_build/html/_static/bootswatch-2.3.2/amelia/bootstrap.min.css +9 -0
- data/documentation/_build/html/_static/bootswatch-2.3.2/cerulean/bootstrap.min.css +9 -0
- data/documentation/_build/html/_static/bootswatch-2.3.2/cosmo/bootstrap.min.css +9 -0
- data/documentation/_build/html/_static/bootswatch-2.3.2/cyborg/bootstrap.min.css +9 -0
- data/documentation/_build/html/_static/bootswatch-2.3.2/flatly/bootstrap.min.css +9 -0
- data/documentation/_build/html/_static/bootswatch-2.3.2/img/glyphicons-halflings-white.png +0 -0
- data/documentation/_build/html/_static/bootswatch-2.3.2/img/glyphicons-halflings.png +0 -0
- data/documentation/_build/html/_static/bootswatch-2.3.2/journal/bootstrap.min.css +9 -0
- data/documentation/_build/html/_static/bootswatch-2.3.2/readable/bootstrap.min.css +9 -0
- data/documentation/_build/html/_static/bootswatch-2.3.2/simplex/bootstrap.min.css +9 -0
- data/documentation/_build/html/_static/bootswatch-2.3.2/slate/bootstrap.min.css +9 -0
- data/documentation/_build/html/_static/bootswatch-2.3.2/spacelab/bootstrap.min.css +9 -0
- data/documentation/_build/html/_static/bootswatch-2.3.2/spruce/bootstrap.min.css +9 -0
- data/documentation/_build/html/_static/bootswatch-2.3.2/superhero/bootstrap.min.css +9 -0
- data/documentation/_build/html/_static/bootswatch-2.3.2/united/bootstrap.min.css +9 -0
- data/documentation/_build/html/_static/bootswatch-3.3.4/cerulean/bootstrap.min.css +7 -0
- data/documentation/_build/html/_static/bootswatch-3.3.4/cosmo/bootstrap.min.css +7 -0
- data/documentation/_build/html/_static/bootswatch-3.3.4/custom/bootstrap.min.css +7 -0
- data/documentation/_build/html/_static/bootswatch-3.3.4/cyborg/bootstrap.min.css +7 -0
- data/documentation/_build/html/_static/bootswatch-3.3.4/darkly/bootstrap.min.css +7 -0
- data/documentation/_build/html/_static/bootswatch-3.3.4/flatly/bootstrap.min.css +7 -0
- data/documentation/_build/html/_static/bootswatch-3.3.4/fonts/glyphicons-halflings-regular.eot +0 -0
- data/documentation/_build/html/_static/bootswatch-3.3.4/fonts/glyphicons-halflings-regular.svg +288 -0
- data/documentation/_build/html/_static/bootswatch-3.3.4/fonts/glyphicons-halflings-regular.ttf +0 -0
- data/documentation/_build/html/_static/bootswatch-3.3.4/fonts/glyphicons-halflings-regular.woff +0 -0
- data/documentation/_build/html/_static/bootswatch-3.3.4/fonts/glyphicons-halflings-regular.woff2 +0 -0
- data/documentation/_build/html/_static/bootswatch-3.3.4/journal/bootstrap.min.css +7 -0
- data/documentation/_build/html/_static/bootswatch-3.3.4/lumen/bootstrap.min.css +7 -0
- data/documentation/_build/html/_static/bootswatch-3.3.4/paper/bootstrap.min.css +7 -0
- data/documentation/_build/html/_static/bootswatch-3.3.4/readable/bootstrap.min.css +7 -0
- data/documentation/_build/html/_static/bootswatch-3.3.4/sandstone/bootstrap.min.css +7 -0
- data/documentation/_build/html/_static/bootswatch-3.3.4/simplex/bootstrap.min.css +7 -0
- data/documentation/_build/html/_static/bootswatch-3.3.4/slate/bootstrap.min.css +7 -0
- data/documentation/_build/html/_static/bootswatch-3.3.4/spacelab/bootstrap.min.css +7 -0
- data/documentation/_build/html/_static/bootswatch-3.3.4/superhero/bootstrap.min.css +7 -0
- data/documentation/_build/html/_static/bootswatch-3.3.4/united/bootstrap.min.css +7 -0
- data/documentation/_build/html/_static/bootswatch-3.3.4/yeti/bootstrap.min.css +7 -0
- data/documentation/_build/html/_static/buildFile.png +0 -0
- data/documentation/_build/html/_static/buildMain.png +0 -0
- data/documentation/_build/html/_static/comment-bright.png +0 -0
- data/documentation/_build/html/_static/comment-close.png +0 -0
- data/documentation/_build/html/_static/comment.png +0 -0
- data/documentation/_build/html/_static/console.png +0 -0
- data/documentation/_build/html/_static/cvsp.png +0 -0
- data/documentation/_build/html/_static/cygwin_mount.png +0 -0
- data/documentation/_build/html/_static/cygwin_ruby.png +0 -0
- data/documentation/_build/html/_static/cygwin_tty.png +0 -0
- data/documentation/_build/html/_static/doctools.js +263 -0
- data/documentation/_build/html/_static/down-pressed.png +0 -0
- data/documentation/_build/html/_static/down.png +0 -0
- data/documentation/_build/html/_static/file.png +0 -0
- data/documentation/_build/html/_static/hier.png +0 -0
- data/documentation/_build/html/_static/jquery-1.11.1.js +10308 -0
- data/documentation/_build/html/_static/jquery.js +4 -0
- data/documentation/_build/html/_static/js/jquery-1.11.0.min.js +4 -0
- data/documentation/_build/html/_static/js/jquery-fix.js +2 -0
- data/documentation/_build/html/_static/keys.png +0 -0
- data/documentation/_build/html/_static/minus.png +0 -0
- data/documentation/_build/html/_static/plus.png +0 -0
- data/documentation/_build/html/_static/pref.png +0 -0
- data/documentation/_build/html/_static/problem.png +0 -0
- data/documentation/_build/html/_static/pygments.css +63 -0
- data/documentation/_build/html/_static/searchtools.js +622 -0
- data/documentation/_build/html/_static/syntax.html +704 -0
- data/documentation/_build/html/_static/syntax_collection_meta.html +179 -0
- data/documentation/_build/html/_static/underscore-1.3.1.js +999 -0
- data/documentation/_build/html/_static/underscore.js +31 -0
- data/documentation/_build/html/_static/up-pressed.png +0 -0
- data/documentation/_build/html/_static/up.png +0 -0
- data/documentation/_build/html/_static/vs_2010_install.png +0 -0
- data/documentation/_build/html/_static/vs_debug.png +0 -0
- data/documentation/_build/html/_static/vs_error.png +0 -0
- data/documentation/_build/html/_static/vs_install1.png +0 -0
- data/documentation/_build/html/_static/vs_installed.png +0 -0
- data/documentation/_build/html/_static/vs_options.png +0 -0
- data/documentation/_build/html/_static/vs_select_config.png +0 -0
- data/documentation/_build/html/_static/vs_show_config.png +0 -0
- data/documentation/_build/html/_static/vs_update.png +0 -0
- data/documentation/_build/html/_static/vs_update_site.png +0 -0
- data/documentation/_build/html/_static/websupport.js +808 -0
- data/documentation/_build/html/changelog.html +735 -0
- data/documentation/_build/html/commandline/commandline.html +284 -0
- data/documentation/_build/html/concepts/build_hierarchy.html +204 -0
- data/documentation/_build/html/concepts/concepts.html +181 -0
- data/documentation/_build/html/concepts/the_main_project.html +260 -0
- data/documentation/_build/html/concepts/the_project_meta_file.html +288 -0
- data/documentation/_build/html/genindex.html +152 -0
- data/documentation/_build/html/ide/eclipse/eclipse.html +185 -0
- data/documentation/_build/html/ide/eclipse/how_to_convert_existing_cdt_workspace.html +208 -0
- data/documentation/_build/html/ide/eclipse/how_to_create_a_new_project_in_eclipse.html +191 -0
- data/documentation/_build/html/ide/eclipse/how_to_create_a_workspace_in_eclipse.html +198 -0
- data/documentation/_build/html/ide/eclipse/how_to_install_eclipse_plugin.html +196 -0
- data/documentation/_build/html/ide/eclipse/how_to_use_bake_in_eclipse.html +256 -0
- data/documentation/_build/html/ide/ide_integrations.html +182 -0
- data/documentation/_build/html/ide/vs/how_to_create_vs_projects.html +171 -0
- data/documentation/_build/html/ide/vs/how_to_debug_in_vs.html +185 -0
- data/documentation/_build/html/ide/vs/how_to_used_bake_in_vs.html +190 -0
- data/documentation/_build/html/ide/vs/vs.html +170 -0
- data/documentation/_build/html/ide/vs/vs_install.html +202 -0
- data/documentation/_build/html/index.html +238 -0
- data/documentation/_build/html/install/install_bake.html +279 -0
- data/documentation/_build/html/internal.html +217 -0
- data/documentation/_build/html/known_issues.html +175 -0
- data/documentation/_build/html/license.html +236 -0
- data/documentation/_build/html/objects.inv +0 -0
- data/documentation/_build/html/performance/performance.html +373 -0
- data/documentation/_build/html/quickstart/quickstart.html +236 -0
- data/documentation/_build/html/search.html +174 -0
- data/documentation/_build/html/searchindex.js +1 -0
- data/documentation/_build/html/syntax/derive_configs.html +295 -0
- data/documentation/_build/html/syntax/project_meta_syntax.html +884 -0
- data/documentation/_build/html/syntax/syntax.html +181 -0
- data/documentation/_build/html/syntax/variable_substitutions.html +378 -0
- data/documentation/_build/html/tips_and_tricks/how_to_use_bake_with_cygwin.html +203 -0
- data/documentation/_build/html/tips_and_tricks/static_code_analysis.html +284 -0
- data/documentation/_build/html/tips_and_tricks/the_bakery.html +401 -0
- data/documentation/_build/html/tips_and_tricks/the_clang.html +201 -0
- data/documentation/_build/html/tips_and_tricks/tips_and_tricks.html +196 -0
- data/documentation/_build/html/why_bake/why_bake.html +241 -0
- data/lib/blocks/executable.rb +1 -1
- data/lib/common/version.rb +1 -1
- metadata +244 -2
@@ -0,0 +1,401 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
|
3
|
+
|
4
|
+
<html xmlns="http://www.w3.org/1999/xhtml">
|
5
|
+
<head>
|
6
|
+
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
7
|
+
|
8
|
+
<title>The Bakery — bake 2.11.2 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.11.2',
|
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="top" title="bake 2.11.2 documentation" href="../index.html" />
|
32
|
+
<link rel="up" title="Tips and Tricks" href="tips_and_tricks.html" />
|
33
|
+
<link rel="next" title="Static Code Analysis" href="static_code_analysis.html" />
|
34
|
+
<link rel="prev" title="Tips and Tricks" href="tips_and_tricks.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">
|
53
|
+
bake</a>
|
54
|
+
<span class="navbar-text navbar-version pull-left"><b>2.11.2</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"><a class="reference internal" href="../commandline/commandline.html">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 current"><a class="reference internal" href="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="#">The Bakery</a><ul>
|
99
|
+
<li><a class="reference internal" href="#what-is-the-bakery">What is the Bakery</a></li>
|
100
|
+
<li><a class="reference internal" href="#how-to-use-the-bakery-on-the-commandline">How to use the Bakery on the commandline</a></li>
|
101
|
+
<li><a class="reference internal" href="#syntax-of-collection-meta">Syntax of Collection.meta</a></li>
|
102
|
+
</ul>
|
103
|
+
</li>
|
104
|
+
</ul>
|
105
|
+
</ul>
|
106
|
+
</li>
|
107
|
+
|
108
|
+
|
109
|
+
|
110
|
+
|
111
|
+
|
112
|
+
<li>
|
113
|
+
<a href="tips_and_tricks.html" title="Previous Chapter: Tips and Tricks"><span class="glyphicon glyphicon-chevron-left visible-sm"></span><span class="hidden-sm hidden-tablet">« Tips and Tricks</span>
|
114
|
+
</a>
|
115
|
+
</li>
|
116
|
+
<li>
|
117
|
+
<a href="static_code_analysis.html" title="Next Chapter: Static Code Analysis"><span class="glyphicon glyphicon-chevron-right visible-sm"></span><span class="hidden-sm hidden-tablet">Static Code A... »</span>
|
118
|
+
</a>
|
119
|
+
</li>
|
120
|
+
|
121
|
+
|
122
|
+
|
123
|
+
|
124
|
+
|
125
|
+
</ul>
|
126
|
+
|
127
|
+
|
128
|
+
|
129
|
+
<form class="navbar-form navbar-right" action="../search.html" method="get">
|
130
|
+
<div class="form-group">
|
131
|
+
<input type="text" name="q" class="form-control" placeholder="Search" />
|
132
|
+
</div>
|
133
|
+
<input type="hidden" name="check_keywords" value="yes" />
|
134
|
+
<input type="hidden" name="area" value="default" />
|
135
|
+
</form>
|
136
|
+
|
137
|
+
</div>
|
138
|
+
</div>
|
139
|
+
</div>
|
140
|
+
|
141
|
+
<div class="container">
|
142
|
+
<div class="row">
|
143
|
+
<div class="col-md-12">
|
144
|
+
|
145
|
+
<div class="section" id="the-bakery">
|
146
|
+
<h1>The Bakery<a class="headerlink" href="#the-bakery" title="Permalink to this headline">¶</a></h1>
|
147
|
+
<div class="section" id="what-is-the-bakery">
|
148
|
+
<h2>What is the Bakery<a class="headerlink" href="#what-is-the-bakery" title="Permalink to this headline">¶</a></h2>
|
149
|
+
<p>bakery is part of the bake-toolkit distribution and it is used to build several independent projects at once.
|
150
|
+
It’s very useful for e.g. compiling and running all unit tests.
|
151
|
+
The collections are specified in Collection.meta files.</p>
|
152
|
+
</div>
|
153
|
+
<div class="section" id="how-to-use-the-bakery-on-the-commandline">
|
154
|
+
<h2>How to use the Bakery on the commandline<a class="headerlink" href="#how-to-use-the-bakery-on-the-commandline" title="Permalink to this headline">¶</a></h2>
|
155
|
+
<p>Call <em>bakery -h</em> to display the command line options.
|
156
|
+
The most important options are the collection name (<em>-b</em>) and the collection directory (<em>-m</em>, default is current directory).</p>
|
157
|
+
<p>Examples:</p>
|
158
|
+
<blockquote>
|
159
|
+
<div><p>Build all unittests:</p>
|
160
|
+
<div class="highlight-console"><div class="highlight"><pre><span class="go">bakery -b AllUnitTests</span>
|
161
|
+
</pre></div>
|
162
|
+
</div>
|
163
|
+
<p>Clean all unittests:</p>
|
164
|
+
<div class="highlight-console"><div class="highlight"><pre><span class="go">bakery -b AllUnitTests -c</span>
|
165
|
+
</pre></div>
|
166
|
+
</div>
|
167
|
+
<p>Build all unittests, workspace checked out into two roots, console supports colors, stop on first error, run the unittests after build:</p>
|
168
|
+
<div class="highlight-console"><div class="highlight"><pre><span class="go">bakery -b AllUnitTests -m w:/root1/mainProj -w w:/root2 -r -a black --include_filter run</span>
|
169
|
+
</pre></div>
|
170
|
+
</div>
|
171
|
+
</div></blockquote>
|
172
|
+
</div>
|
173
|
+
<div class="section" id="syntax-of-collection-meta">
|
174
|
+
<h2>Syntax of Collection.meta<a class="headerlink" href="#syntax-of-collection-meta" title="Permalink to this headline">¶</a></h2>
|
175
|
+
<p>Move the mouse cursor over the blue elements to display more information.</p>
|
176
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
|
177
|
+
<!-- saved from url=(0100)file:///Users/NiCoretti/.rvm/gems/ruby-2.1.2/gems/bake-toolkit-2.10.3/doc/further/bakery/syntax.html -->
|
178
|
+
<html><head><meta http-equiv="Content-Type" content="text/html; charset=windows-1252"><title></title></head>
|
179
|
+
|
180
|
+
|
181
|
+
<body>
|
182
|
+
|
183
|
+
<style type="text/css">
|
184
|
+
#rundrum {
|
185
|
+
border-width:1px;
|
186
|
+
border-style:dashed;
|
187
|
+
border-color:blue;
|
188
|
+
padding:0.2cm;
|
189
|
+
text-align:justify; }
|
190
|
+
}
|
191
|
+
</style>
|
192
|
+
|
193
|
+
<style type="text/css">
|
194
|
+
|
195
|
+
#dhtmltooltip{
|
196
|
+
position: absolute;
|
197
|
+
width: 150px;
|
198
|
+
border: 2px solid black;
|
199
|
+
padding: 2px;
|
200
|
+
background-color: lightyellow;
|
201
|
+
visibility: hidden;
|
202
|
+
z-index: 100;
|
203
|
+
}
|
204
|
+
|
205
|
+
</style>
|
206
|
+
|
207
|
+
<style type="text/css">
|
208
|
+
.hide {
|
209
|
+
display:none;
|
210
|
+
}
|
211
|
+
.show {
|
212
|
+
display:block
|
213
|
+
}
|
214
|
+
.showInline {
|
215
|
+
display:inline
|
216
|
+
}
|
217
|
+
.help {
|
218
|
+
color:blue
|
219
|
+
}
|
220
|
+
.showRadio {
|
221
|
+
font-weight:bold;color:blue;text-decoration:overline underline
|
222
|
+
}
|
223
|
+
.hideRadio {
|
224
|
+
color:#AAAAFF;
|
225
|
+
}
|
226
|
+
.mycomment {
|
227
|
+
color:green
|
228
|
+
}
|
229
|
+
</style>
|
230
|
+
|
231
|
+
|
232
|
+
|
233
|
+
|
234
|
+
|
235
|
+
</p><table border="1" style="font-family:monospace" ;="" font-size:10=""><tbody><tr><td>
|
236
|
+
|
237
|
+
<span class="help" onmouseover="showCollection()" onmouseout="notip()">Collection</span> <name> {<br>
|
238
|
+
<span class="help" onmouseover="showProject()" onmouseout="notip()">Project</span> <name>, config: <name><br>
|
239
|
+
<span class="help" onmouseover="showExclude()" onmouseout="notip()">Exclude</span> <name>, config: <name><br>
|
240
|
+
<span class="help" onmouseover="showSubCollection()" onmouseout="notip()">SubCollection</span> <name><br>
|
241
|
+
}
|
242
|
+
|
243
|
+
|
244
|
+
|
245
|
+
|
246
|
+
|
247
|
+
<div id="dhtmltooltip" style="left: -1000px; top: 151px; visibility: hidden;"><b><u>Collection</u><br><br>Mandatory:</b> Yes<br><b>Quantity</b>: 1..n<br><b>Default</b>: -<br><br><b>Description</b>:<br>This is a collection of builds. The name must be unique within this file.</div>
|
248
|
+
|
249
|
+
<script type="text/javascript">
|
250
|
+
|
251
|
+
|
252
|
+
function showCollection() {
|
253
|
+
str = 'This is a collection of builds. The name must be unique within this file.'
|
254
|
+
ddrivetip("Collection", "Yes", "1..n", "-",str)
|
255
|
+
}
|
256
|
+
|
257
|
+
function showProject() {
|
258
|
+
str = "Specify the projects with it's configs to build. It is possible to use \"*\" as wildcards."
|
259
|
+
ddrivetip("Project", "Yes,", "1..n", "-",str)
|
260
|
+
}
|
261
|
+
|
262
|
+
function showConfig() {
|
263
|
+
str = "Specify the configs. It is possible to use \"*\" as wildcard."
|
264
|
+
ddrivetip("config", "Yes", "-", "-",str)
|
265
|
+
}
|
266
|
+
|
267
|
+
function showExclude() {
|
268
|
+
str = "Specify the projects with it's configs to exclude from build. It is possible to use \"*\" as wildcards."
|
269
|
+
ddrivetip("Exclude", "No", "0..n", "-",str)
|
270
|
+
}
|
271
|
+
|
272
|
+
function showSubCollection() {
|
273
|
+
str = 'This references another collection.'
|
274
|
+
ddrivetip("SubCollection", "No", "0..n", "-",str)
|
275
|
+
}
|
276
|
+
|
277
|
+
|
278
|
+
|
279
|
+
var offsetxpoint=20 //Customize x offset of tooltip
|
280
|
+
var offsetypoint=20 //Customize y offset of tooltip
|
281
|
+
var ie=document.all
|
282
|
+
var ns6=document.getElementById && !document.all
|
283
|
+
var enabletip=false
|
284
|
+
if (ie||ns6)
|
285
|
+
var tipobj=document.all? document.all["dhtmltooltip"] : document.getElementById? document.getElementById("dhtmltooltip") : ""
|
286
|
+
|
287
|
+
function ietruebody(){
|
288
|
+
return (document.compatMode && document.compatMode!="BackCompat")? document.documentElement : document.body
|
289
|
+
}
|
290
|
+
|
291
|
+
function ddrivetip(item, manda, quan, def, desc){
|
292
|
+
if (ns6||ie){
|
293
|
+
|
294
|
+
var abc=ie&&!window.opera? ietruebody().clientWidth : window.innerWidth
|
295
|
+
|
296
|
+
tipobj.style.width=(abc/2-offsetxpoint*2).toString()+"px"
|
297
|
+
tipobj.style.backgroundColor="#DDFFDD"
|
298
|
+
tipobj.innerHTML="<b><u>"+item+"</u><br><br>Mandatory:</b> "+manda+"<br><b>Quantity</b>: "+quan+"<br><b>Default</b>: "+def+"<br><br><b>Description</b>:<br>"+desc
|
299
|
+
enabletip=true
|
300
|
+
return false
|
301
|
+
}
|
302
|
+
}
|
303
|
+
|
304
|
+
function positiontip(e){
|
305
|
+
if (enabletip){
|
306
|
+
var curX=(ns6)?e.pageX : event.clientX+ietruebody().scrollLeft;
|
307
|
+
var curY=(ns6)?e.pageY : event.clientY+ietruebody().scrollTop;
|
308
|
+
//Find out how close the mouse is to the corner of the window
|
309
|
+
var rightedge=ie&&!window.opera? ietruebody().clientWidth-event.clientX-offsetxpoint : window.innerWidth-e.clientX-offsetxpoint
|
310
|
+
var bottomedge=ie&&!window.opera? ietruebody().clientHeight-event.clientY-offsetypoint*2 : window.innerHeight-e.clientY-offsetypoint
|
311
|
+
var bottom=ie&&!window.opera? ietruebody().clientHeight : window.innerHeight
|
312
|
+
|
313
|
+
var leftedge=(offsetxpoint<0)? offsetxpoint*(-1) : -1000
|
314
|
+
|
315
|
+
//if the horizontal distance isn't enough to accomodate the width of the context menu
|
316
|
+
if (rightedge<tipobj.offsetWidth+offsetxpoint/2)
|
317
|
+
//move the horizontal position of the menu to the left by it's width
|
318
|
+
tipobj.style.left=ie? ietruebody().scrollLeft+event.clientX-tipobj.offsetWidth-offsetxpoint+"px" : window.pageXOffset+e.clientX-tipobj.offsetWidth-offsetxpoint+"px"
|
319
|
+
else if (curX<leftedge)
|
320
|
+
tipobj.style.left="5px"
|
321
|
+
else
|
322
|
+
//position the horizontal position of the menu where the mouse is positioned
|
323
|
+
tipobj.style.left=curX+offsetxpoint+"px"
|
324
|
+
|
325
|
+
//same concept with the vertical position
|
326
|
+
if (bottomedge<tipobj.offsetHeight)
|
327
|
+
tipobj.style.top=ie? ietruebody().scrollTop+bottom-tipobj.offsetHeight-offsetypoint+"px" : window.pageYOffset+bottom-tipobj.offsetHeight-offsetypoint+"px"
|
328
|
+
else
|
329
|
+
tipobj.style.top=curY+offsetypoint+"px"
|
330
|
+
tipobj.style.visibility="visible"
|
331
|
+
}
|
332
|
+
}
|
333
|
+
|
334
|
+
function notip(){
|
335
|
+
if (ns6||ie){
|
336
|
+
enabletip=false
|
337
|
+
tipobj.style.visibility="hidden"
|
338
|
+
tipobj.style.left="-1000px"
|
339
|
+
tipobj.style.backgroundColor=''
|
340
|
+
tipobj.style.width=''
|
341
|
+
}
|
342
|
+
}
|
343
|
+
|
344
|
+
document.onmousemove=positiontip
|
345
|
+
|
346
|
+
</script>
|
347
|
+
|
348
|
+
</td></tr></tbody></table>
|
349
|
+
|
350
|
+
|
351
|
+
|
352
|
+
|
353
|
+
|
354
|
+
</body></html>
|
355
|
+
<div class="admonition note">
|
356
|
+
<p class="first admonition-title">Note</p>
|
357
|
+
<ul class="last simple">
|
358
|
+
<li>Use double quotes (”) if the strings have wildcards</li>
|
359
|
+
<li>Use hash marks (#) for comments.</li>
|
360
|
+
</ul>
|
361
|
+
</div>
|
362
|
+
<p>Example:</p>
|
363
|
+
<blockquote>
|
364
|
+
<div><div class="highlight-text"><div class="highlight"><pre>Collection AllUnitTests {
|
365
|
+
Project "*", config: UnitTest
|
366
|
+
}
|
367
|
+
Collection UnitTestLibsWithoutBsp {
|
368
|
+
Project "*", config: "UnitTestLib*"
|
369
|
+
Exclude "bsp*", config: "*"
|
370
|
+
}
|
371
|
+
Collection MySpecialCollection {
|
372
|
+
Project Main1, config: Debug
|
373
|
+
Project Main2, config: Release
|
374
|
+
Project Sub3, config: Debug
|
375
|
+
SubCollection UnitTestLibsWithoutBsp
|
376
|
+
}
|
377
|
+
</pre></div>
|
378
|
+
</div>
|
379
|
+
</div></blockquote>
|
380
|
+
</div>
|
381
|
+
</div>
|
382
|
+
|
383
|
+
|
384
|
+
</div>
|
385
|
+
|
386
|
+
</div>
|
387
|
+
</div>
|
388
|
+
<footer class="footer">
|
389
|
+
<div class="container">
|
390
|
+
<p class="pull-right">
|
391
|
+
<a href="#">Back to top</a>
|
392
|
+
|
393
|
+
</p>
|
394
|
+
<p>
|
395
|
+
© Copyright 2015, E.S.R.Labs AG.<br/>
|
396
|
+
Created using <a href="http://sphinx-doc.org/">Sphinx</a> 1.3.1.<br/>
|
397
|
+
</p>
|
398
|
+
</div>
|
399
|
+
</footer>
|
400
|
+
</body>
|
401
|
+
</html>
|
@@ -0,0 +1,201 @@
|
|
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>Clang Analyze — bake 2.11.2 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.11.2',
|
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="top" title="bake 2.11.2 documentation" href="../index.html" />
|
32
|
+
<link rel="up" title="Tips and Tricks" href="tips_and_tricks.html" />
|
33
|
+
<link rel="next" title="Performance" href="../performance/performance.html" />
|
34
|
+
<link rel="prev" title="How to use bake with cygwin" href="how_to_use_bake_with_cygwin.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">
|
53
|
+
bake</a>
|
54
|
+
<span class="navbar-text navbar-version pull-left"><b>2.11.2</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"><a class="reference internal" href="../commandline/commandline.html">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 current"><a class="reference internal" href="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="#">Clang Analyze</a></li>
|
99
|
+
</ul>
|
100
|
+
</ul>
|
101
|
+
</li>
|
102
|
+
|
103
|
+
|
104
|
+
|
105
|
+
|
106
|
+
|
107
|
+
<li>
|
108
|
+
<a href="how_to_use_bake_with_cygwin.html" title="Previous Chapter: How to use bake with cygwin"><span class="glyphicon glyphicon-chevron-left visible-sm"></span><span class="hidden-sm hidden-tablet">« How to use ba...</span>
|
109
|
+
</a>
|
110
|
+
</li>
|
111
|
+
<li>
|
112
|
+
<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>
|
113
|
+
</a>
|
114
|
+
</li>
|
115
|
+
|
116
|
+
|
117
|
+
|
118
|
+
|
119
|
+
|
120
|
+
</ul>
|
121
|
+
|
122
|
+
|
123
|
+
|
124
|
+
<form class="navbar-form navbar-right" action="../search.html" method="get">
|
125
|
+
<div class="form-group">
|
126
|
+
<input type="text" name="q" class="form-control" placeholder="Search" />
|
127
|
+
</div>
|
128
|
+
<input type="hidden" name="check_keywords" value="yes" />
|
129
|
+
<input type="hidden" name="area" value="default" />
|
130
|
+
</form>
|
131
|
+
|
132
|
+
</div>
|
133
|
+
</div>
|
134
|
+
</div>
|
135
|
+
|
136
|
+
<div class="container">
|
137
|
+
<div class="row">
|
138
|
+
<div class="col-md-12">
|
139
|
+
|
140
|
+
<div class="section" id="clang-analyze">
|
141
|
+
<h1>Clang Analyze<a class="headerlink" href="#clang-analyze" title="Permalink to this headline">¶</a></h1>
|
142
|
+
<p>bake can be easily used to analyze source files with Clang. It works simliar to regular compiling, but instead of
|
143
|
+
invoking the compiler, the Clang Analyzer will be called.</p>
|
144
|
+
<p>Imagine you have a workspace with the following “main” project:</p>
|
145
|
+
<blockquote>
|
146
|
+
<div><div class="highlight-console"><div class="highlight"><pre><span class="go"> Project {</span>
|
147
|
+
<span class="go"> ...</span>
|
148
|
+
<span class="go"> ExecutableConfig Debug {</span>
|
149
|
+
<span class="go"> ...</span>
|
150
|
+
<span class="go"> DefaultToolchain GCC</span>
|
151
|
+
<span class="go"> }</span>
|
152
|
+
<span class="go">}</span>
|
153
|
+
</pre></div>
|
154
|
+
</div>
|
155
|
+
</div></blockquote>
|
156
|
+
<p>Either edit this Project.meta or create a new “analyze” project:</p>
|
157
|
+
<blockquote>
|
158
|
+
<div><div class="highlight-console"><div class="highlight"><pre><span class="go">Project {</span>
|
159
|
+
<span class="go"> CustomConfig Analyze {</span>
|
160
|
+
<span class="go"> Dependency main, config: Debug</span>
|
161
|
+
<span class="go"> DefaultToolchain CLANG_ANALYZE {</span>
|
162
|
+
<span class="go"> Compiler CPP {</span>
|
163
|
+
<span class="go"> Flags "-analyzer-checker=deadcode,security,alpha,unix,cplusplus"</span>
|
164
|
+
<span class="go"> }</span>
|
165
|
+
<span class="go"> Compiler C {</span>
|
166
|
+
<span class="go"> Flags "-analyzer-checker=deadcode,security,alpha,unix"</span>
|
167
|
+
<span class="go"> }</span>
|
168
|
+
<span class="go"> }</span>
|
169
|
+
<span class="go"> }</span>
|
170
|
+
<span class="go">}</span>
|
171
|
+
</pre></div>
|
172
|
+
</div>
|
173
|
+
</div></blockquote>
|
174
|
+
<p>As you can see the DefaultToolchain GCC is replaced with CLANG_ANALYZE. Call bake like this:</p>
|
175
|
+
<blockquote>
|
176
|
+
<div><div class="highlight-console"><div class="highlight"><pre><span class="go">bake Analyze -f .</span>
|
177
|
+
</pre></div>
|
178
|
+
</div>
|
179
|
+
</div></blockquote>
|
180
|
+
<p>“-f” means that only the compilation step will take place. The ”.” means files with a ”.” in the name will be compiled (= all files). If you want to analyze only C++ files, you can write “-f .cpp”</p>
|
181
|
+
</div>
|
182
|
+
|
183
|
+
|
184
|
+
</div>
|
185
|
+
|
186
|
+
</div>
|
187
|
+
</div>
|
188
|
+
<footer class="footer">
|
189
|
+
<div class="container">
|
190
|
+
<p class="pull-right">
|
191
|
+
<a href="#">Back to top</a>
|
192
|
+
|
193
|
+
</p>
|
194
|
+
<p>
|
195
|
+
© Copyright 2015, E.S.R.Labs AG.<br/>
|
196
|
+
Created using <a href="http://sphinx-doc.org/">Sphinx</a> 1.3.1.<br/>
|
197
|
+
</p>
|
198
|
+
</div>
|
199
|
+
</footer>
|
200
|
+
</body>
|
201
|
+
</html>
|