bake-toolkit 2.11.2 → 2.11.3
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/_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,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>Concepts — 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="next" title="The Project.meta file" href="the_project_meta_file.html" />
|
|
33
|
+
<link rel="prev" title="Quickstart" href="../quickstart/quickstart.html" />
|
|
34
|
+
<meta charset='utf-8'>
|
|
35
|
+
<meta http-equiv='X-UA-Compatible' content='IE=edge,chrome=1'>
|
|
36
|
+
<meta name='viewport' content='width=device-width, initial-scale=1.0, maximum-scale=1'>
|
|
37
|
+
<meta name="apple-mobile-web-app-capable" content="yes">
|
|
38
|
+
|
|
39
|
+
</head>
|
|
40
|
+
<body role="document">
|
|
41
|
+
|
|
42
|
+
<div id="navbar" class="navbar navbar-default navbar-fixed-top">
|
|
43
|
+
<div class="container">
|
|
44
|
+
<div class="navbar-header">
|
|
45
|
+
<!-- .btn-navbar is used as the toggle for collapsed navbar content -->
|
|
46
|
+
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".nav-collapse">
|
|
47
|
+
<span class="icon-bar"></span>
|
|
48
|
+
<span class="icon-bar"></span>
|
|
49
|
+
<span class="icon-bar"></span>
|
|
50
|
+
</button>
|
|
51
|
+
<a class="navbar-brand" href="../index.html">
|
|
52
|
+
bake</a>
|
|
53
|
+
<span class="navbar-text navbar-version pull-left"><b>2.11.2</b></span>
|
|
54
|
+
</div>
|
|
55
|
+
|
|
56
|
+
<div class="collapse navbar-collapse nav-collapse">
|
|
57
|
+
<ul class="nav navbar-nav">
|
|
58
|
+
|
|
59
|
+
|
|
60
|
+
<li class="dropdown globaltoc-container">
|
|
61
|
+
<a role="button"
|
|
62
|
+
id="dLabelGlobalToc"
|
|
63
|
+
data-toggle="dropdown"
|
|
64
|
+
data-target="#"
|
|
65
|
+
href="../index.html">Section <b class="caret"></b></a>
|
|
66
|
+
<ul class="dropdown-menu globaltoc"
|
|
67
|
+
role="menu"
|
|
68
|
+
aria-labelledby="dLabelGlobalToc"><ul class="current">
|
|
69
|
+
<li class="toctree-l1"><a class="reference internal" href="../why_bake/why_bake.html">Why you should use bake</a></li>
|
|
70
|
+
<li class="toctree-l1"><a class="reference internal" href="../install/install_bake.html">Install bake</a></li>
|
|
71
|
+
<li class="toctree-l1"><a class="reference internal" href="../quickstart/quickstart.html">Quickstart</a></li>
|
|
72
|
+
<li class="toctree-l1 current"><a class="current reference internal" href="">Concepts</a></li>
|
|
73
|
+
<li class="toctree-l1"><a class="reference internal" href="../syntax/syntax.html">Syntax</a></li>
|
|
74
|
+
<li class="toctree-l1"><a class="reference internal" href="../commandline/commandline.html">Commandline</a></li>
|
|
75
|
+
<li class="toctree-l1"><a class="reference internal" href="../ide/ide_integrations.html">IDE Support</a></li>
|
|
76
|
+
<li class="toctree-l1"><a class="reference internal" href="../tips_and_tricks/tips_and_tricks.html">Tips and Tricks</a></li>
|
|
77
|
+
<li class="toctree-l1"><a class="reference internal" href="../performance/performance.html">Performance</a></li>
|
|
78
|
+
<li class="toctree-l1"><a class="reference internal" href="../known_issues.html">Known Issues</a></li>
|
|
79
|
+
<li class="toctree-l1"><a class="reference internal" href="../changelog.html">Changelog</a></li>
|
|
80
|
+
<li class="toctree-l1"><a class="reference internal" href="../license.html">License</a></li>
|
|
81
|
+
</ul>
|
|
82
|
+
<ul>
|
|
83
|
+
<li class="toctree-l1"><a class="reference internal" href="../internal.html">Internal developing notes</a></li>
|
|
84
|
+
</ul>
|
|
85
|
+
</ul>
|
|
86
|
+
</li>
|
|
87
|
+
|
|
88
|
+
<li class="dropdown">
|
|
89
|
+
<a role="button"
|
|
90
|
+
id="dLabelLocalToc"
|
|
91
|
+
data-toggle="dropdown"
|
|
92
|
+
data-target="#"
|
|
93
|
+
href="#">SubSections <b class="caret"></b></a>
|
|
94
|
+
<ul class="dropdown-menu localtoc"
|
|
95
|
+
role="menu"
|
|
96
|
+
aria-labelledby="dLabelLocalToc"><ul>
|
|
97
|
+
<li><a class="reference internal" href="#">Concepts</a></li>
|
|
98
|
+
</ul>
|
|
99
|
+
</ul>
|
|
100
|
+
</li>
|
|
101
|
+
|
|
102
|
+
|
|
103
|
+
|
|
104
|
+
|
|
105
|
+
|
|
106
|
+
<li>
|
|
107
|
+
<a href="../quickstart/quickstart.html" title="Previous Chapter: Quickstart"><span class="glyphicon glyphicon-chevron-left visible-sm"></span><span class="hidden-sm hidden-tablet">« Quickstart</span>
|
|
108
|
+
</a>
|
|
109
|
+
</li>
|
|
110
|
+
<li>
|
|
111
|
+
<a href="the_project_meta_file.html" title="Next Chapter: The Project.meta file"><span class="glyphicon glyphicon-chevron-right visible-sm"></span><span class="hidden-sm hidden-tablet">The Project.m... »</span>
|
|
112
|
+
</a>
|
|
113
|
+
</li>
|
|
114
|
+
|
|
115
|
+
|
|
116
|
+
|
|
117
|
+
|
|
118
|
+
|
|
119
|
+
</ul>
|
|
120
|
+
|
|
121
|
+
|
|
122
|
+
|
|
123
|
+
<form class="navbar-form navbar-right" action="../search.html" method="get">
|
|
124
|
+
<div class="form-group">
|
|
125
|
+
<input type="text" name="q" class="form-control" placeholder="Search" />
|
|
126
|
+
</div>
|
|
127
|
+
<input type="hidden" name="check_keywords" value="yes" />
|
|
128
|
+
<input type="hidden" name="area" value="default" />
|
|
129
|
+
</form>
|
|
130
|
+
|
|
131
|
+
</div>
|
|
132
|
+
</div>
|
|
133
|
+
</div>
|
|
134
|
+
|
|
135
|
+
<div class="container">
|
|
136
|
+
<div class="row">
|
|
137
|
+
<div class="col-md-12">
|
|
138
|
+
|
|
139
|
+
<div class="section" id="concepts">
|
|
140
|
+
<h1>Concepts<a class="headerlink" href="#concepts" title="Permalink to this headline">¶</a></h1>
|
|
141
|
+
<div class="toctree-wrapper compound">
|
|
142
|
+
<ul>
|
|
143
|
+
<li class="toctree-l1"><a class="reference internal" href="the_project_meta_file.html">The Project.meta file</a><ul>
|
|
144
|
+
<li class="toctree-l2"><a class="reference internal" href="the_project_meta_file.html#what-is-the-project-meta-file">What is the Project.meta file</a></li>
|
|
145
|
+
<li class="toctree-l2"><a class="reference internal" href="the_project_meta_file.html#example">Example</a></li>
|
|
146
|
+
</ul>
|
|
147
|
+
</li>
|
|
148
|
+
<li class="toctree-l1"><a class="reference internal" href="the_main_project.html">The main project</a><ul>
|
|
149
|
+
<li class="toctree-l2"><a class="reference internal" href="the_main_project.html#advantages">Advantages</a></li>
|
|
150
|
+
<li class="toctree-l2"><a class="reference internal" href="the_main_project.html#example">Example</a></li>
|
|
151
|
+
<li class="toctree-l2"><a class="reference internal" href="the_main_project.html#output-directory">Output directory</a></li>
|
|
152
|
+
</ul>
|
|
153
|
+
</li>
|
|
154
|
+
<li class="toctree-l1"><a class="reference internal" href="build_hierarchy.html">The build hierarchy</a><ul>
|
|
155
|
+
<li class="toctree-l2"><a class="reference internal" href="build_hierarchy.html#build-graph">Build graph</a></li>
|
|
156
|
+
<li class="toctree-l2"><a class="reference internal" href="build_hierarchy.html#example">Example</a></li>
|
|
157
|
+
</ul>
|
|
158
|
+
</li>
|
|
159
|
+
</ul>
|
|
160
|
+
</div>
|
|
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 2015, 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
|
+
</html>
|
|
@@ -0,0 +1,260 @@
|
|
|
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 main project — 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="Concepts" href="concepts.html" />
|
|
33
|
+
<link rel="next" title="The build hierarchy" href="build_hierarchy.html" />
|
|
34
|
+
<link rel="prev" title="The Project.meta file" href="the_project_meta_file.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 current"><a class="reference internal" href="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"><a class="reference internal" href="../tips_and_tricks/tips_and_tricks.html">Tips and Tricks</a></li>
|
|
78
|
+
<li class="toctree-l1"><a class="reference internal" href="../performance/performance.html">Performance</a></li>
|
|
79
|
+
<li class="toctree-l1"><a class="reference internal" href="../known_issues.html">Known Issues</a></li>
|
|
80
|
+
<li class="toctree-l1"><a class="reference internal" href="../changelog.html">Changelog</a></li>
|
|
81
|
+
<li class="toctree-l1"><a class="reference internal" href="../license.html">License</a></li>
|
|
82
|
+
</ul>
|
|
83
|
+
<ul>
|
|
84
|
+
<li class="toctree-l1"><a class="reference internal" href="../internal.html">Internal developing notes</a></li>
|
|
85
|
+
</ul>
|
|
86
|
+
</ul>
|
|
87
|
+
</li>
|
|
88
|
+
|
|
89
|
+
<li class="dropdown">
|
|
90
|
+
<a role="button"
|
|
91
|
+
id="dLabelLocalToc"
|
|
92
|
+
data-toggle="dropdown"
|
|
93
|
+
data-target="#"
|
|
94
|
+
href="#">SubSections <b class="caret"></b></a>
|
|
95
|
+
<ul class="dropdown-menu localtoc"
|
|
96
|
+
role="menu"
|
|
97
|
+
aria-labelledby="dLabelLocalToc"><ul>
|
|
98
|
+
<li><a class="reference internal" href="#">The main project</a><ul>
|
|
99
|
+
<li><a class="reference internal" href="#advantages">Advantages</a></li>
|
|
100
|
+
<li><a class="reference internal" href="#example">Example</a></li>
|
|
101
|
+
<li><a class="reference internal" href="#output-directory">Output directory</a></li>
|
|
102
|
+
</ul>
|
|
103
|
+
</li>
|
|
104
|
+
</ul>
|
|
105
|
+
</ul>
|
|
106
|
+
</li>
|
|
107
|
+
|
|
108
|
+
|
|
109
|
+
|
|
110
|
+
|
|
111
|
+
|
|
112
|
+
<li>
|
|
113
|
+
<a href="the_project_meta_file.html" title="Previous Chapter: The Project.meta file"><span class="glyphicon glyphicon-chevron-left visible-sm"></span><span class="hidden-sm hidden-tablet">« The Project.m...</span>
|
|
114
|
+
</a>
|
|
115
|
+
</li>
|
|
116
|
+
<li>
|
|
117
|
+
<a href="build_hierarchy.html" title="Next Chapter: The build hierarchy"><span class="glyphicon glyphicon-chevron-right visible-sm"></span><span class="hidden-sm hidden-tablet">The build hie... »</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-main-project">
|
|
146
|
+
<h1>The main project<a class="headerlink" href="#the-main-project" title="Permalink to this headline">¶</a></h1>
|
|
147
|
+
<p>The concept of the main project is different to many other build systems like Eclipse CDT.
|
|
148
|
+
In these build systems everything which is needed for a project is configured in the project itself.
|
|
149
|
+
In bake the main project can predefine stuff for all subprojects.
|
|
150
|
+
The main project can have a DefaultToolchain definition, which is valid for all projects and files referenced by the main project. Subprojects can overwrite or adjust these definitions.</p>
|
|
151
|
+
<p>Projects are always built in context of the main project.</p>
|
|
152
|
+
<p>To build a project, you have to specify</p>
|
|
153
|
+
<blockquote>
|
|
154
|
+
<div><ul class="simple">
|
|
155
|
+
<li>the main project</li>
|
|
156
|
+
<li>the config of the main project which references the project to build</li>
|
|
157
|
+
<li>the (sub)project to build if applicable</li>
|
|
158
|
+
</ul>
|
|
159
|
+
</div></blockquote>
|
|
160
|
+
<div class="section" id="advantages">
|
|
161
|
+
<h2>Advantages<a class="headerlink" href="#advantages" title="Permalink to this headline">¶</a></h2>
|
|
162
|
+
<p>Reducing the number of build configurations (toolchain settings like debug or release flags can be set outside of the project)
|
|
163
|
+
Most projects do not have any compiler definitions anymore
|
|
164
|
+
Only flags which must be used or flags which must not be used have to be specified in the projects
|
|
165
|
+
Changing compiler definitions for all projects can be done easily in the main project build configuration</p>
|
|
166
|
+
</div>
|
|
167
|
+
<div class="section" id="example">
|
|
168
|
+
<h2>Example<a class="headerlink" href="#example" title="Permalink to this headline">¶</a></h2>
|
|
169
|
+
<table border="1" class="docutils">
|
|
170
|
+
<colgroup>
|
|
171
|
+
<col width="50%" />
|
|
172
|
+
<col width="50%" />
|
|
173
|
+
</colgroup>
|
|
174
|
+
<thead valign="bottom">
|
|
175
|
+
<tr class="row-odd"><th class="head">Project.meta of Main (Debug and Release)</th>
|
|
176
|
+
<th class="head">Project.meta of Sub (only one build config!)</th>
|
|
177
|
+
</tr>
|
|
178
|
+
</thead>
|
|
179
|
+
<tbody valign="top">
|
|
180
|
+
<tr class="row-even"><td><div class="first last highlight-python"><div class="highlight"><pre>Project {
|
|
181
|
+
|
|
182
|
+
ExecutableConfig Debug {
|
|
183
|
+
Dependency Sub, config: Lib
|
|
184
|
+
Files "**/*.cpp"
|
|
185
|
+
IncludeDir "include"
|
|
186
|
+
DefaultToolchain GCC {
|
|
187
|
+
Compiler CPP {
|
|
188
|
+
Flags "... whatever -debug_info"
|
|
189
|
+
Define "DEBUG"
|
|
190
|
+
}
|
|
191
|
+
}
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
ExecutableConfig Release {
|
|
195
|
+
Dependency Sub, config: Lib
|
|
196
|
+
Files "**/*.cpp"
|
|
197
|
+
IncludeDir "include"
|
|
198
|
+
DefaultToolchain GCC {
|
|
199
|
+
Compiler CPP {
|
|
200
|
+
Flags "... whatever -optimize"
|
|
201
|
+
Define "NDEBUG"
|
|
202
|
+
}
|
|
203
|
+
}
|
|
204
|
+
}
|
|
205
|
+
}
|
|
206
|
+
</pre></div>
|
|
207
|
+
</div>
|
|
208
|
+
</td>
|
|
209
|
+
<td><div class="first last highlight-python"><div class="highlight"><pre>Project {
|
|
210
|
+
|
|
211
|
+
LibraryConfig Lib {
|
|
212
|
+
Files "**/*.cpp"
|
|
213
|
+
IncludeDir "include"
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
}
|
|
217
|
+
</pre></div>
|
|
218
|
+
</div>
|
|
219
|
+
</td>
|
|
220
|
+
</tr>
|
|
221
|
+
</tbody>
|
|
222
|
+
</table>
|
|
223
|
+
<div class="admonition note">
|
|
224
|
+
<p class="first admonition-title">Note</p>
|
|
225
|
+
<p class="last">A main project must have a DefaultToolchain - but it’s allowed to leave that definition empty.</p>
|
|
226
|
+
</div>
|
|
227
|
+
</div>
|
|
228
|
+
<div class="section" id="output-directory">
|
|
229
|
+
<h2>Output directory<a class="headerlink" href="#output-directory" title="Permalink to this headline">¶</a></h2>
|
|
230
|
+
<p>A project in a specific build configuration can be build in different contexts.
|
|
231
|
+
That’s why the output directory of a project cannot be simply the build configuration name of the project to avoid inconsistencies.
|
|
232
|
+
Therefore the output directory names are.</p>
|
|
233
|
+
<blockquote>
|
|
234
|
+
<div><ul class="simple">
|
|
235
|
+
<li>Main project: $(MainConfigName) like in regular Eclipse CDT builds</li>
|
|
236
|
+
<li>Subprojects: $(MainConfigName)_$(MainProjectName) instead of the config name of the subproject</li>
|
|
237
|
+
</ul>
|
|
238
|
+
</div></blockquote>
|
|
239
|
+
</div>
|
|
240
|
+
</div>
|
|
241
|
+
|
|
242
|
+
|
|
243
|
+
</div>
|
|
244
|
+
|
|
245
|
+
</div>
|
|
246
|
+
</div>
|
|
247
|
+
<footer class="footer">
|
|
248
|
+
<div class="container">
|
|
249
|
+
<p class="pull-right">
|
|
250
|
+
<a href="#">Back to top</a>
|
|
251
|
+
|
|
252
|
+
</p>
|
|
253
|
+
<p>
|
|
254
|
+
© Copyright 2015, E.S.R.Labs AG.<br/>
|
|
255
|
+
Created using <a href="http://sphinx-doc.org/">Sphinx</a> 1.3.1.<br/>
|
|
256
|
+
</p>
|
|
257
|
+
</div>
|
|
258
|
+
</footer>
|
|
259
|
+
</body>
|
|
260
|
+
</html>
|
|
@@ -0,0 +1,288 @@
|
|
|
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 Project.meta file — 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="Concepts" href="concepts.html" />
|
|
33
|
+
<link rel="next" title="The main project" href="the_main_project.html" />
|
|
34
|
+
<link rel="prev" title="Concepts" href="concepts.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 current"><a class="reference internal" href="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"><a class="reference internal" href="../tips_and_tricks/tips_and_tricks.html">Tips and Tricks</a></li>
|
|
78
|
+
<li class="toctree-l1"><a class="reference internal" href="../performance/performance.html">Performance</a></li>
|
|
79
|
+
<li class="toctree-l1"><a class="reference internal" href="../known_issues.html">Known Issues</a></li>
|
|
80
|
+
<li class="toctree-l1"><a class="reference internal" href="../changelog.html">Changelog</a></li>
|
|
81
|
+
<li class="toctree-l1"><a class="reference internal" href="../license.html">License</a></li>
|
|
82
|
+
</ul>
|
|
83
|
+
<ul>
|
|
84
|
+
<li class="toctree-l1"><a class="reference internal" href="../internal.html">Internal developing notes</a></li>
|
|
85
|
+
</ul>
|
|
86
|
+
</ul>
|
|
87
|
+
</li>
|
|
88
|
+
|
|
89
|
+
<li class="dropdown">
|
|
90
|
+
<a role="button"
|
|
91
|
+
id="dLabelLocalToc"
|
|
92
|
+
data-toggle="dropdown"
|
|
93
|
+
data-target="#"
|
|
94
|
+
href="#">SubSections <b class="caret"></b></a>
|
|
95
|
+
<ul class="dropdown-menu localtoc"
|
|
96
|
+
role="menu"
|
|
97
|
+
aria-labelledby="dLabelLocalToc"><ul>
|
|
98
|
+
<li><a class="reference internal" href="#">The Project.meta file</a><ul>
|
|
99
|
+
<li><a class="reference internal" href="#what-is-the-project-meta-file">What is the Project.meta file</a></li>
|
|
100
|
+
<li><a class="reference internal" href="#example">Example</a></li>
|
|
101
|
+
</ul>
|
|
102
|
+
</li>
|
|
103
|
+
</ul>
|
|
104
|
+
</ul>
|
|
105
|
+
</li>
|
|
106
|
+
|
|
107
|
+
|
|
108
|
+
|
|
109
|
+
|
|
110
|
+
|
|
111
|
+
<li>
|
|
112
|
+
<a href="concepts.html" title="Previous Chapter: Concepts"><span class="glyphicon glyphicon-chevron-left visible-sm"></span><span class="hidden-sm hidden-tablet">« Concepts</span>
|
|
113
|
+
</a>
|
|
114
|
+
</li>
|
|
115
|
+
<li>
|
|
116
|
+
<a href="the_main_project.html" title="Next Chapter: The main project"><span class="glyphicon glyphicon-chevron-right visible-sm"></span><span class="hidden-sm hidden-tablet">The main project »</span>
|
|
117
|
+
</a>
|
|
118
|
+
</li>
|
|
119
|
+
|
|
120
|
+
|
|
121
|
+
|
|
122
|
+
|
|
123
|
+
|
|
124
|
+
</ul>
|
|
125
|
+
|
|
126
|
+
|
|
127
|
+
|
|
128
|
+
<form class="navbar-form navbar-right" action="../search.html" method="get">
|
|
129
|
+
<div class="form-group">
|
|
130
|
+
<input type="text" name="q" class="form-control" placeholder="Search" />
|
|
131
|
+
</div>
|
|
132
|
+
<input type="hidden" name="check_keywords" value="yes" />
|
|
133
|
+
<input type="hidden" name="area" value="default" />
|
|
134
|
+
</form>
|
|
135
|
+
|
|
136
|
+
</div>
|
|
137
|
+
</div>
|
|
138
|
+
</div>
|
|
139
|
+
|
|
140
|
+
<div class="container">
|
|
141
|
+
<div class="row">
|
|
142
|
+
<div class="col-md-12">
|
|
143
|
+
|
|
144
|
+
<div class="section" id="the-project-meta-file">
|
|
145
|
+
<h1>The Project.meta file<a class="headerlink" href="#the-project-meta-file" title="Permalink to this headline">¶</a></h1>
|
|
146
|
+
<div class="section" id="what-is-the-project-meta-file">
|
|
147
|
+
<h2>What is the Project.meta file<a class="headerlink" href="#what-is-the-project-meta-file" title="Permalink to this headline">¶</a></h2>
|
|
148
|
+
<p>The <cite>Project.meta</cite> file is bakes configuration file.</p>
|
|
149
|
+
<ul class="simple">
|
|
150
|
+
<li>Every project has a Project.meta file in the project root directory.</li>
|
|
151
|
+
<li>A Project.meta file contains one or more build configurations.</li>
|
|
152
|
+
<li>A build configuration consists of toolchain settings, files to build, custom steps, etc.</li>
|
|
153
|
+
</ul>
|
|
154
|
+
</div>
|
|
155
|
+
<div class="section" id="example">
|
|
156
|
+
<h2>Example<a class="headerlink" href="#example" title="Permalink to this headline">¶</a></h2>
|
|
157
|
+
<table border="1" class="docutils">
|
|
158
|
+
<colgroup>
|
|
159
|
+
<col width="50%" />
|
|
160
|
+
<col width="50%" />
|
|
161
|
+
</colgroup>
|
|
162
|
+
<thead valign="bottom">
|
|
163
|
+
<tr class="row-odd"><th class="head">Project.meta file of Main project</th>
|
|
164
|
+
<th class="head">Project.meta file of Sub project</th>
|
|
165
|
+
</tr>
|
|
166
|
+
</thead>
|
|
167
|
+
<tbody valign="top">
|
|
168
|
+
<tr class="row-even"><td><div class="first last highlight-python"><div class="highlight"><pre>Project {
|
|
169
|
+
ExecutableConfig Debug {
|
|
170
|
+
Dependency Sub, config: Debug
|
|
171
|
+
Files "**/*.cpp"
|
|
172
|
+
IncludeDir "include"
|
|
173
|
+
DefaultToolchain GCC {
|
|
174
|
+
Compiler CPP {
|
|
175
|
+
Flags "-Wall"
|
|
176
|
+
}
|
|
177
|
+
}
|
|
178
|
+
PostSteps {
|
|
179
|
+
CommandLine "echo $(ArtifactName) built."
|
|
180
|
+
}
|
|
181
|
+
}
|
|
182
|
+
}
|
|
183
|
+
</pre></div>
|
|
184
|
+
</div>
|
|
185
|
+
</td>
|
|
186
|
+
<td><div class="first last highlight-python"><div class="highlight"><pre>Project {
|
|
187
|
+
LibraryConfig Debug {
|
|
188
|
+
Files "**/*.cpp"
|
|
189
|
+
IncludeDir "include"
|
|
190
|
+
IncludeDir "Main/include"
|
|
191
|
+
ExternalLibrarySearchPath "lib"
|
|
192
|
+
ExternalLibrary "a"
|
|
193
|
+
ExternalLibrary "b"
|
|
194
|
+
Toolchain {
|
|
195
|
+
Compiler CPP {
|
|
196
|
+
Flags add: "-g3"
|
|
197
|
+
}
|
|
198
|
+
}
|
|
199
|
+
}
|
|
200
|
+
}
|
|
201
|
+
</pre></div>
|
|
202
|
+
</div>
|
|
203
|
+
</td>
|
|
204
|
+
</tr>
|
|
205
|
+
</tbody>
|
|
206
|
+
</table>
|
|
207
|
+
<p>Let’s assume that Main and Sub are located in the same workspace root.
|
|
208
|
+
To build the executable, bake can be called from the Main directory.</p>
|
|
209
|
+
<blockquote>
|
|
210
|
+
<div><div class="highlight-console"><div class="highlight"><pre><span class="gp">User@Host:~/my_project$</span> bake -b Debug
|
|
211
|
+
</pre></div>
|
|
212
|
+
</div>
|
|
213
|
+
</div></blockquote>
|
|
214
|
+
<p>What happens now?</p>
|
|
215
|
+
<blockquote>
|
|
216
|
+
<div><ol class="arabic">
|
|
217
|
+
<li><p class="first">Reading Project.meta of Main</p>
|
|
218
|
+
</li>
|
|
219
|
+
<li><p class="first">Reading Project.meta of dependencies (Sub)</p>
|
|
220
|
+
</li>
|
|
221
|
+
<li><dl class="first docutils">
|
|
222
|
+
<dt>Compiling sources of Sub, e.g.:</dt>
|
|
223
|
+
<dd><div class="first highlight-console"><div class="highlight"><pre><span class="gp">User@Host:~$</span> g++ -c -Wall -g3 -Iinclude -I../Main/include -o Debug_Main/src/xy.o src/xy.cpp
|
|
224
|
+
</pre></div>
|
|
225
|
+
</div>
|
|
226
|
+
<ul class="last simple">
|
|
227
|
+
<li>Wall is taken from the DefaultToolchain and -g3 is added by the toolchain of the Sub project.</li>
|
|
228
|
+
<li>The include path to Main is automatically adjusted.</li>
|
|
229
|
+
<li>The order of includes is the same as in Project.meta.</li>
|
|
230
|
+
<li>g++, -c and -I are used, because GCC was specified in the DefaultToolchain.</li>
|
|
231
|
+
</ul>
|
|
232
|
+
</dd>
|
|
233
|
+
</dl>
|
|
234
|
+
</li>
|
|
235
|
+
<li><p class="first">Archiving the library, e.g.:</p>
|
|
236
|
+
<blockquote>
|
|
237
|
+
<div><div class="highlight-console"><div class="highlight"><pre><span class="gp">User@Host:~$</span> ar -rc Debug_Main/libSub.a Debug_Main/src/xy.o
|
|
238
|
+
</pre></div>
|
|
239
|
+
</div>
|
|
240
|
+
</div></blockquote>
|
|
241
|
+
</li>
|
|
242
|
+
<li><p class="first">Compiling sources of Main, e.g.:</p>
|
|
243
|
+
<blockquote>
|
|
244
|
+
<div><div class="highlight-console"><div class="highlight"><pre><span class="gp">User@Host:~$</span> g++ -c -Wall -Iinclude -o Debug/src/main.o src/main.cpp
|
|
245
|
+
</pre></div>
|
|
246
|
+
</div>
|
|
247
|
+
</div></blockquote>
|
|
248
|
+
</li>
|
|
249
|
+
<li><p class="first">Linking executable, e.g.:</p>
|
|
250
|
+
<blockquote>
|
|
251
|
+
<div><div class="highlight-console"><div class="highlight"><pre><span class="gp">User@Host:~$</span> g++ -o Debug/Main.exe Debug/src/main.o ../Sub/Debug_Main/libSub.a -L../Sub/lib -la -lb
|
|
252
|
+
</pre></div>
|
|
253
|
+
</div>
|
|
254
|
+
<p>The library search paths and libraries are added in the specified order.</p>
|
|
255
|
+
</div></blockquote>
|
|
256
|
+
</li>
|
|
257
|
+
<li><p class="first">Executing the post step</p>
|
|
258
|
+
<blockquote>
|
|
259
|
+
<div><div class="highlight-console"><div class="highlight"><pre><span class="gp">User@Host:~$</span> <span class="nb">echo </span>Main.exe built.
|
|
260
|
+
</pre></div>
|
|
261
|
+
</div>
|
|
262
|
+
<p>The variable was automatically substituted.</p>
|
|
263
|
+
</div></blockquote>
|
|
264
|
+
</li>
|
|
265
|
+
</ol>
|
|
266
|
+
</div></blockquote>
|
|
267
|
+
</div>
|
|
268
|
+
</div>
|
|
269
|
+
|
|
270
|
+
|
|
271
|
+
</div>
|
|
272
|
+
|
|
273
|
+
</div>
|
|
274
|
+
</div>
|
|
275
|
+
<footer class="footer">
|
|
276
|
+
<div class="container">
|
|
277
|
+
<p class="pull-right">
|
|
278
|
+
<a href="#">Back to top</a>
|
|
279
|
+
|
|
280
|
+
</p>
|
|
281
|
+
<p>
|
|
282
|
+
© Copyright 2015, E.S.R.Labs AG.<br/>
|
|
283
|
+
Created using <a href="http://sphinx-doc.org/">Sphinx</a> 1.3.1.<br/>
|
|
284
|
+
</p>
|
|
285
|
+
</div>
|
|
286
|
+
</footer>
|
|
287
|
+
</body>
|
|
288
|
+
</html>
|