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,35 @@
|
|
1
|
+
How to use bake in Visual Studio
|
2
|
+
================================
|
3
|
+
|
4
|
+
#. Select a build configuration of the main project
|
5
|
+
|
6
|
+
Right click on the main project and select a bake build configuration.
|
7
|
+
|
8
|
+
.. image:: ../../_static/vs_select_config.png
|
9
|
+
:width: 100 %
|
10
|
+
:scale: 50 %
|
11
|
+
|
12
|
+
.. note::
|
13
|
+
|
14
|
+
Only configurations with a DefaultToolchain will be displayed.
|
15
|
+
|
16
|
+
#. You can see the selected config in the last line of the Build menu.
|
17
|
+
|
18
|
+
.. image:: ../../_static/vs_show_config.png
|
19
|
+
:width: 100 %
|
20
|
+
:scale: 50 %
|
21
|
+
|
22
|
+
If you click on this menu item, you can deselect the build config, which disables bake as long as no other config will be selected.
|
23
|
+
|
24
|
+
#. You can specify additional command line parameters via the Options menu.
|
25
|
+
|
26
|
+
.. image:: ../../_static/vs_options.png
|
27
|
+
:width: 100 %
|
28
|
+
:scale: 50 %
|
29
|
+
|
30
|
+
#. The build result will be shown in the Output window, errors will be shown in the Error window and annotated in the sources.
|
31
|
+
|
32
|
+
.. image:: ../../_static/vs_error.png
|
33
|
+
:width: 100 %
|
34
|
+
:scale: 50 %
|
35
|
+
|
@@ -0,0 +1,43 @@
|
|
1
|
+
How to install bake Visual Studio integration
|
2
|
+
=============================================
|
3
|
+
|
4
|
+
VS 2012
|
5
|
+
*******
|
6
|
+
The plugin is available on a E.S.R.Labs update site. Please follow the steps below to install the plugin.
|
7
|
+
|
8
|
+
#. Configure the update site
|
9
|
+
|
10
|
+
`<http://www.esrlabs.com/vs-plugins/bake/atom.xml>`_
|
11
|
+
|
12
|
+
.. image:: ../../_static/vs_update_site.png
|
13
|
+
:width: 100 %
|
14
|
+
:scale: 50 %
|
15
|
+
|
16
|
+
#. Now it's available via Tools->Extensions and Updates
|
17
|
+
|
18
|
+
.. image:: ../../_static/vs_install1.png
|
19
|
+
:width: 100 %
|
20
|
+
:scale: 50 %
|
21
|
+
|
22
|
+
#. Check if it's installed correctly
|
23
|
+
|
24
|
+
.. image:: ../../_static/vs_installed.png
|
25
|
+
:width: 100 %
|
26
|
+
:scale: 50 %
|
27
|
+
|
28
|
+
#. If an update is available, it will look like this
|
29
|
+
|
30
|
+
.. image:: ../../_static/vs_update.png
|
31
|
+
:width: 100 %
|
32
|
+
:scale: 50 %
|
33
|
+
|
34
|
+
VS 2010
|
35
|
+
*******
|
36
|
+
|
37
|
+
The plugin is available on a E.S.R.Labs server.
|
38
|
+
Download `Visual Studio 2010 bake plugin <http://www.esrlabs.com/vs-plugins/bake/bake%20Visual%20Studio%20Extension%202010.vsix>`_,
|
39
|
+
double click the file and install it.
|
40
|
+
|
41
|
+
.. image:: ../../_static/vs_2010_install.png
|
42
|
+
:width: 100 %
|
43
|
+
:scale: 50 %
|
@@ -0,0 +1,34 @@
|
|
1
|
+
Welcome to bake's documentation!
|
2
|
+
================================
|
3
|
+
|
4
|
+
bake, building software **fast** and **easy**!
|
5
|
+
|
6
|
+
======================================= =======================================
|
7
|
+
\ \
|
8
|
+
======================================= =======================================
|
9
|
+
.. image:: _static/bake_tagcloud.png **Start to bake**
|
10
|
+
|
11
|
+
.. toctree::
|
12
|
+
:maxdepth: 2
|
13
|
+
|
14
|
+
why_bake/why_bake
|
15
|
+
install/install_bake
|
16
|
+
quickstart/quickstart
|
17
|
+
concepts/concepts
|
18
|
+
syntax/syntax
|
19
|
+
commandline/commandline
|
20
|
+
ide/ide_integrations
|
21
|
+
tips_and_tricks/tips_and_tricks
|
22
|
+
performance/performance
|
23
|
+
known_issues
|
24
|
+
changelog
|
25
|
+
license
|
26
|
+
|
27
|
+
.. toctree::
|
28
|
+
:maxdepth: 1
|
29
|
+
|
30
|
+
internal
|
31
|
+
======================================= =======================================
|
32
|
+
|
33
|
+
|
34
|
+
|
@@ -0,0 +1,112 @@
|
|
1
|
+
Install bake
|
2
|
+
============
|
3
|
+
|
4
|
+
bake is a `ruby gem <https://rubygems.org/>`_. It runs with `Ruby <https://www.ruby-lang.org/en/>`_ **>= 1.9**.
|
5
|
+
bake and its depedencies can be found on `rubygems <https://rubygems.org/gems/bake-toolkit/>`_, which is configured as ruby source per default.
|
6
|
+
|
7
|
+
.. attention::
|
8
|
+
|
9
|
+
The actual name of the bake gem is `bake-toolkit <https://rubygems.org/gems/bake-toolkit/>`_.
|
10
|
+
|
11
|
+
How to install bake
|
12
|
+
*******************
|
13
|
+
Installing bake is very easy!
|
14
|
+
|
15
|
+
#. Make sure you have installed `Ruby <https://www.ruby-lang.org/en/>`_ **>= 1.9**.
|
16
|
+
|
17
|
+
#. Istall the bake gem.
|
18
|
+
|
19
|
+
.. code-block:: console
|
20
|
+
|
21
|
+
User@Host:~$ gem install bake-toolkit
|
22
|
+
|
23
|
+
Example
|
24
|
+
-------
|
25
|
+
|
26
|
+
.. code-block:: console
|
27
|
+
|
28
|
+
User@Host:~$ ruby -v # (Check if an apropriate ruby version is installed)
|
29
|
+
ruby 2.1.2p95 (2014-05-08 revision 45877) [x86_64-darwin13.0]
|
30
|
+
|
31
|
+
User@Host:~$ gem install bake-toolkit # (Install the bake gem)
|
32
|
+
Fetching: highline-1.6.15.gem (100%)
|
33
|
+
Fetching: colored-1.2.gem (100%)
|
34
|
+
Fetching: progressbar-0.11.0.gem (100%)
|
35
|
+
Fetching: rgen-0.6.0.gem (100%)
|
36
|
+
Fetching: rtext-0.2.0.gem (100%)
|
37
|
+
Fetching: bake-toolkit-1.0.2.gem (100%)
|
38
|
+
Successfully installed highline-1.6.15
|
39
|
+
Successfully installed colored-1.2
|
40
|
+
Successfully installed progressbar-0.11.0
|
41
|
+
Successfully installed rgen-0.6.0
|
42
|
+
Successfully installed rtext-0.2.0
|
43
|
+
Successfully installed bake-toolkit-1.0.2
|
44
|
+
7 gems installed
|
45
|
+
Installing ri documentation for highline-1.6.15...
|
46
|
+
Installing ri documentation for colored-1.2...
|
47
|
+
Installing ri documentation for progressbar-0.11.0...
|
48
|
+
Installing ri documentation for rgen-0.6.0...
|
49
|
+
Installing ri documentation for rtext-0.2.0...
|
50
|
+
Installing ri documentation for bake-toolkit-1.0.2...
|
51
|
+
Installing RDoc documentation for highline-1.6.15...
|
52
|
+
Installing RDoc documentation for colored-1.2...
|
53
|
+
Installing RDoc documentation for progressbar-0.11.0...
|
54
|
+
Installing RDoc documentation for rgen-0.6.0...
|
55
|
+
Installing RDoc documentation for rtext-0.2.0...
|
56
|
+
Installing RDoc documentation for bake-toolkit-1.0.2...
|
57
|
+
|
58
|
+
|
59
|
+
Known Issues
|
60
|
+
************
|
61
|
+
|
62
|
+
The installation does not start
|
63
|
+
-------------------------------
|
64
|
+
**Issue:**
|
65
|
+
The installation of the bake gem does not start.
|
66
|
+
(This is often caused by a password protected internat proxy.)
|
67
|
+
|
68
|
+
|
69
|
+
**Solution:**
|
70
|
+
|
71
|
+
* Check your network connection.
|
72
|
+
* Unlock the password protected proxy by opening an external webpage (e.g. `google <https://www.google.com>`_) using your web browser.
|
73
|
+
|
74
|
+
|
75
|
+
Invalid Language Settings
|
76
|
+
-------------------------
|
77
|
+
*Issue:**
|
78
|
+
The error parsers in bake assume English language.
|
79
|
+
|
80
|
+
**Solution:**
|
81
|
+
|
82
|
+
Adjust your language settings e.g by setting the environment variable **LC_ALL**.
|
83
|
+
|
84
|
+
Example:
|
85
|
+
|
86
|
+
.. code-block:: console
|
87
|
+
|
88
|
+
LC_ALL=en_US
|
89
|
+
|
90
|
+
.. note::
|
91
|
+
|
92
|
+
Depending on the system and the compiler the way how to change the language might be different.
|
93
|
+
|
94
|
+
Error Message During the installation
|
95
|
+
-------------------------------------
|
96
|
+
**Issue:**
|
97
|
+
Ruby throws an error during the installation.
|
98
|
+
|
99
|
+
**Solution:**
|
100
|
+
Usualy you will see an error like this:
|
101
|
+
|
102
|
+
.. code-block:: console
|
103
|
+
|
104
|
+
ERROR: While generating documentation for ...
|
105
|
+
... MESSAGE: Error while evaluating ...
|
106
|
+
undefined method `gsub' for nil:NilClass ...
|
107
|
+
|
108
|
+
This is a ruby bug. However, the gems were installed correctly. You can avoid building the documentation by installing bake like this:
|
109
|
+
|
110
|
+
.. code-block:: console
|
111
|
+
|
112
|
+
User@Host:~$ gem install bake-toolkit --no-rdoc --no-ri
|
@@ -0,0 +1,50 @@
|
|
1
|
+
Internal developing notes
|
2
|
+
*************************
|
3
|
+
|
4
|
+
Socket
|
5
|
+
======
|
6
|
+
|
7
|
+
If command line option --socket is used, bake tries to connect to the given port on localhost.
|
8
|
+
|
9
|
+
send
|
10
|
+
----
|
11
|
+
|
12
|
+
Header
|
13
|
+
^^^^^^
|
14
|
+
|
15
|
+
.. code-block:: console
|
16
|
+
|
17
|
+
1 Byte: Type
|
18
|
+
4 Byte: Length (used to discard the paket if type is unknown to the listening application)
|
19
|
+
|
20
|
+
Error packet (type 0x01)
|
21
|
+
^^^^^^^^^^^^^^^^^^^^^^^^
|
22
|
+
|
23
|
+
.. code-block:: console
|
24
|
+
|
25
|
+
4 Byte: Length filename, project name
|
26
|
+
x Byte: filename, project name
|
27
|
+
4 Byte: line number (can be 0)
|
28
|
+
1 Byte: severity (0x00 = info, 0x01 = warning, 0x02 = error, 0xFF = ok)
|
29
|
+
x Byte: message (length = rest of packet)
|
30
|
+
|
31
|
+
Starting build packet (type 0x0A)
|
32
|
+
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
33
|
+
|
34
|
+
.. code-block:: console
|
35
|
+
|
36
|
+
4 Byte: Length project name
|
37
|
+
x Byte: project name
|
38
|
+
4 Byte: Length config name
|
39
|
+
x Byte: config name
|
40
|
+
4 Byte: number of projects in this build (greater than 0)
|
41
|
+
|
42
|
+
Building project packet
|
43
|
+
^^^^^^^^^^^^^^^^^^^^^^^
|
44
|
+
|
45
|
+
Same as Starting build packet, except number of projects = 0
|
46
|
+
|
47
|
+
receive
|
48
|
+
-------
|
49
|
+
|
50
|
+
If a byte is received, the build will be aborted.
|
@@ -0,0 +1,9 @@
|
|
1
|
+
Known Issues
|
2
|
+
============
|
3
|
+
|
4
|
+
* Issue: If an archive or executable has been built successfully and one source file will be deleted without changing anything else, bake will leave the archive/executable unchanged when rebuilding.
|
5
|
+
* Workaround 1: Clean the project.
|
6
|
+
* Workaround 2: Delete the archive/executable manually.
|
7
|
+
* Workaround 3: Touch, edit, create another source file.
|
8
|
+
|
9
|
+
* Issue: Lint output not shown during linting (has to be refactored)
|
@@ -0,0 +1,104 @@
|
|
1
|
+
Performance
|
2
|
+
===========
|
3
|
+
|
4
|
+
Eclipse vs. bake
|
5
|
+
****************
|
6
|
+
|
7
|
+
Test Environement
|
8
|
+
-----------------
|
9
|
+
===================== ============== ================================================================
|
10
|
+
Test-System *CPU:* Intel Xeon W3520 (4x 2.67 GHz)
|
11
|
+
|
12
|
+
*RAM:* 4 GB
|
13
|
+
|
14
|
+
*OS :* Windows XP
|
15
|
+
|
16
|
+
*HDD:* Raid
|
17
|
+
|
18
|
+
Test-Application ~200 projects
|
19
|
+
--------------------- ---------------------------------------------------------------------------------
|
20
|
+
Ruby-Version ruby 1.9.2
|
21
|
+
--------------------- ---------------------------------------------------------------------------------
|
22
|
+
Tests-Runs 30
|
23
|
+
===================== ============== ================================================================
|
24
|
+
|
25
|
+
Test Results
|
26
|
+
------------
|
27
|
+
|
28
|
+
================================= ================================= =====================================
|
29
|
+
Test Eclipse 3.6.1, CDT 6 bake
|
30
|
+
================================= ================================= =====================================
|
31
|
+
Build whole workspace 13:01 min 7:19 min
|
32
|
+
|
33
|
+
Rebuild without clean 3:05 min 0:50 min
|
34
|
+
|
35
|
+
Clean whole workspace 0:41 min 0:08 min
|
36
|
+
|
37
|
+
Clean the cleaned workspace 0:35 min 0:02 min
|
38
|
+
================================= ================================= =====================================
|
39
|
+
|
40
|
+
.. note::
|
41
|
+
For the build `Eclipse` needs additional `300 MB of RAM`, in contrast `bake` takes up `35 MB` of RAM at it's peak.
|
42
|
+
|
43
|
+
CMake with Unix makefiles vs. bake
|
44
|
+
**********************************
|
45
|
+
|
46
|
+
Test Environement
|
47
|
+
-----------------
|
48
|
+
===================== ============== ================================================================
|
49
|
+
Test-System *CPU:* Intel Xeon W3520 (4x 2.67 GHz)
|
50
|
+
|
51
|
+
*RAM:* 4 GB
|
52
|
+
|
53
|
+
*OS :* Windows XP
|
54
|
+
|
55
|
+
*HDD:* Raid
|
56
|
+
|
57
|
+
Test-Application ~100 projects
|
58
|
+
--------------------- ---------------------------------------------------------------------------------
|
59
|
+
Ruby-Version \-
|
60
|
+
--------------------- ---------------------------------------------------------------------------------
|
61
|
+
Tests-Runs \-
|
62
|
+
===================== ============== ================================================================
|
63
|
+
|
64
|
+
Test Results
|
65
|
+
------------
|
66
|
+
|
67
|
+
* Build whole workspace: bake is `~10%` faster
|
68
|
+
* Build again without clean: bake is `~50%` faster
|
69
|
+
* Clean whole workspace: bake is `~80%` faster
|
70
|
+
|
71
|
+
|
72
|
+
Performance using different rubies
|
73
|
+
**********************************
|
74
|
+
|
75
|
+
Test Environement
|
76
|
+
-----------------
|
77
|
+
===================== ============== ================================================================
|
78
|
+
Test-System *CPU:* Intel Xeon W3520 (4x 2.67 GHz)
|
79
|
+
|
80
|
+
*RAM:* 4 GB
|
81
|
+
|
82
|
+
*OS :* Windows XP
|
83
|
+
|
84
|
+
*HDD:* Raid
|
85
|
+
|
86
|
+
Test-Application ~200 projects
|
87
|
+
--------------------- ---------------------------------------------------------------------------------
|
88
|
+
Tests-Runs 30
|
89
|
+
===================== ============== ================================================================
|
90
|
+
|
91
|
+
Test Results
|
92
|
+
------------
|
93
|
+
|
94
|
+
===================== ================== ================== ================== ==================
|
95
|
+
\ ruby 1.8.6p398 ruby 1.8.7p352 ruby 1.9.2p180 ruby 1.9.3p0
|
96
|
+
===================== ================== ================== ================== ==================
|
97
|
+
Build whole workspace 13:58 min 8:07 min 7:19 min 7:28 min
|
98
|
+
|
99
|
+
Build single file 1,20 sec 1,87 sec 2,38 sec 1,29 sec
|
100
|
+
===================== ================== ================== ================== ==================
|
101
|
+
|
102
|
+
.. note::
|
103
|
+
* ruby 1.8.6 uses only ONE native thread for multiple ruby threads.
|
104
|
+
* ruby 1.9.2 for Windows needs very long to startup for complex applications, which is fixed in 1.9.3
|
@@ -0,0 +1,70 @@
|
|
1
|
+
Quickstart
|
2
|
+
==========
|
3
|
+
|
4
|
+
#. Create a project directory.
|
5
|
+
.. code-block:: console
|
6
|
+
|
7
|
+
User@Host:~$ mkdir my_project
|
8
|
+
|
9
|
+
|
10
|
+
#. Switch to the project directory.
|
11
|
+
.. code-block:: console
|
12
|
+
|
13
|
+
User@Host:~$ cd my_project
|
14
|
+
|
15
|
+
|
16
|
+
#. Use the bake --create option to auto generate a basic project.
|
17
|
+
.. code-block:: console
|
18
|
+
|
19
|
+
User@Host:~/my_project$ bake --create exe
|
20
|
+
-- bake 2.10.3, ruby 2.1.2p95, platform x86_64-darwin13.0 --
|
21
|
+
Project created.
|
22
|
+
|
23
|
+
Time: 00:00 minutes
|
24
|
+
|
25
|
+
This will provide you with the follwing basic project structure which is ready to use
|
26
|
+
|
27
|
+
.. code-block:: console
|
28
|
+
|
29
|
+
my_project
|
30
|
+
|
|
31
|
+
|-- Project.meta
|
32
|
+
|-- include
|
33
|
+
`-- src
|
34
|
+
`-- main.cpp
|
35
|
+
|
36
|
+
|
37
|
+
#. Build the project.
|
38
|
+
.. code-block:: console
|
39
|
+
|
40
|
+
User@Host:~/my_project$ bake
|
41
|
+
-- bake 2.10.3, ruby 2.1.2p95, platform x86_64-darwin13.0 --
|
42
|
+
Info: cache not found, reloading meta information
|
43
|
+
Loading /Users/NiCoretti/my_project/Project.meta
|
44
|
+
**** Building 1 of 1: my_project (main) ****
|
45
|
+
Compiling src/main.cpp
|
46
|
+
Linking build_main/my_project.exe
|
47
|
+
|
48
|
+
Building done.
|
49
|
+
|
50
|
+
Time: 00:00 minutes
|
51
|
+
|
52
|
+
If you want a more detailed and colored output use the following command:
|
53
|
+
|
54
|
+
.. code-block:: console
|
55
|
+
|
56
|
+
User@Host:~/my_project$ bake -v2 -a black
|
57
|
+
-- bake 2.10.3, ruby 2.1.2p95, platform x86_64-darwin13.0 --
|
58
|
+
**** Building 1 of 1: my_project (main) ****
|
59
|
+
|
60
|
+
g++ -c -MD -MF build_main/src/main.d -Iinclude -o build_main/src/main.o src/main.cpp
|
61
|
+
|
62
|
+
g++ -o build_main/my_project.exe build_main/src/main.o
|
63
|
+
|
64
|
+
Building done.
|
65
|
+
|
66
|
+
Time: 00:00 minutes
|
67
|
+
|
68
|
+
.. note::
|
69
|
+
The default main.cpp which is created by bake does nothing except returning the exit code 0.
|
70
|
+
|