bake-toolkit 2.29.4 → 2.30.0
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/lib/adapt/config/loader.rb +2 -2
- data/lib/bake/cache.rb +45 -15
- data/lib/bake/config/loader.rb +0 -7
- data/lib/bake/mergeConfig.rb +14 -6
- data/lib/bake/options/options.rb +12 -1
- data/lib/bake/options/showDoc.rb +53 -20
- data/lib/bake/options/usage.rb +1 -0
- data/lib/bakeqac/options/options.rb +10 -1
- data/lib/bakery/options/options.rb +11 -1
- data/lib/common/options/finder.rb +13 -0
- data/lib/common/version.rb +1 -1
- metadata +3 -289
- 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/debug_app.png +0 -0
- data/documentation/_build/html/_images/debug_debug.png +0 -0
- data/documentation/_build/html/_images/debug_flag.png +0 -0
- data/documentation/_build/html/_images/debug_map.png +0 -0
- data/documentation/_build/html/_images/debug_path.png +0 -0
- data/documentation/_build/html/_images/dot.png +0 -0
- data/documentation/_build/html/_images/dotP.png +0 -0
- data/documentation/_build/html/_images/dotPC.png +0 -0
- data/documentation/_build/html/_images/eclipse.png +0 -0
- data/documentation/_build/html/_images/emacs.png +0 -0
- data/documentation/_build/html/_images/keys.png +0 -0
- data/documentation/_build/html/_images/misra.png +0 -0
- data/documentation/_build/html/_images/notepad.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/vim.png +0 -0
- data/documentation/_build/html/_images/visualstudio-pro.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 +0 -588
- data/documentation/_build/html/_sources/commandline/commandline.txt +0 -109
- data/documentation/_build/html/_sources/concepts/build_hierarchy.txt +0 -34
- data/documentation/_build/html/_sources/concepts/concepts.txt +0 -14
- data/documentation/_build/html/_sources/concepts/inject.txt +0 -65
- data/documentation/_build/html/_sources/concepts/link_order.txt +0 -91
- data/documentation/_build/html/_sources/concepts/prebuild.txt +0 -57
- data/documentation/_build/html/_sources/concepts/the_main_project.txt +0 -45
- data/documentation/_build/html/_sources/concepts/the_project_meta_file.txt +0 -72
- data/documentation/_build/html/_sources/ide/eclipse/eclipse.txt +0 -25
- data/documentation/_build/html/_sources/ide/eclipse/how_to_convert_existing_cdt_workspace.txt +0 -31
- data/documentation/_build/html/_sources/ide/eclipse/how_to_create_a_new_project_in_eclipse.txt +0 -18
- data/documentation/_build/html/_sources/ide/eclipse/how_to_create_a_workspace_in_eclipse.txt +0 -27
- data/documentation/_build/html/_sources/ide/eclipse/how_to_debug_in_eclipse.txt +0 -38
- data/documentation/_build/html/_sources/ide/eclipse/how_to_install_eclipse_plugin.txt +0 -44
- data/documentation/_build/html/_sources/ide/eclipse/how_to_use_bake_in_eclipse.txt +0 -86
- data/documentation/_build/html/_sources/ide/ide_integrations.txt +0 -40
- data/documentation/_build/html/_sources/ide/vs/how_to_create_vs_projects.txt +0 -15
- data/documentation/_build/html/_sources/ide/vs/how_to_debug_in_vs.txt +0 -35
- data/documentation/_build/html/_sources/ide/vs/how_to_used_bake_in_vs.txt +0 -35
- data/documentation/_build/html/_sources/ide/vs/vs.txt +0 -10
- data/documentation/_build/html/_sources/ide/vs/vs_install.txt +0 -43
- data/documentation/_build/html/_sources/index.txt +0 -33
- data/documentation/_build/html/_sources/install/install_bake.txt +0 -112
- data/documentation/_build/html/_sources/internal.txt +0 -50
- data/documentation/_build/html/_sources/known_issues.txt +0 -7
- data/documentation/_build/html/_sources/license.txt +0 -4
- data/documentation/_build/html/_sources/performance/performance.txt +0 -104
- data/documentation/_build/html/_sources/quickstart/quickstart.txt +0 -70
- data/documentation/_build/html/_sources/syntax/adapt_configs.txt +0 -254
- data/documentation/_build/html/_sources/syntax/auto_adjustment.txt +0 -43
- data/documentation/_build/html/_sources/syntax/derive_configs.txt +0 -93
- data/documentation/_build/html/_sources/syntax/project_meta_syntax.txt +0 -19
- data/documentation/_build/html/_sources/syntax/syntax.txt +0 -11
- data/documentation/_build/html/_sources/syntax/variable_substitutions.txt +0 -148
- data/documentation/_build/html/_sources/tips_and_tricks/bakeclean.txt +0 -11
- data/documentation/_build/html/_sources/tips_and_tricks/dot.txt +0 -34
- data/documentation/_build/html/_sources/tips_and_tricks/how_to_use_bake_with_cygwin.txt +0 -62
- data/documentation/_build/html/_sources/tips_and_tricks/qac.txt +0 -160
- data/documentation/_build/html/_sources/tips_and_tricks/the_bakery.txt +0 -72
- data/documentation/_build/html/_sources/tips_and_tricks/the_clang.txt +0 -43
- data/documentation/_build/html/_sources/tips_and_tricks/tips_and_tricks.txt +0 -35
- data/documentation/_build/html/_sources/why_bake/why_bake.txt +0 -40
- 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 +0 -8
- data/documentation/_build/html/_static/Licenses.png +0 -0
- data/documentation/_build/html/_static/Main.meta +0 -26
- data/documentation/_build/html/_static/New.png +0 -0
- data/documentation/_build/html/_static/PMetaMain.meta +0 -15
- data/documentation/_build/html/_static/PMetaSub.meta +0 -15
- 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 +0 -599
- data/documentation/_build/html/_static/bootstrap-2.3.2/css/bootstrap-responsive.css +0 -1109
- data/documentation/_build/html/_static/bootstrap-2.3.2/css/bootstrap-responsive.min.css +0 -9
- data/documentation/_build/html/_static/bootstrap-2.3.2/css/bootstrap.css +0 -6167
- data/documentation/_build/html/_static/bootstrap-2.3.2/css/bootstrap.min.css +0 -9
- 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 +0 -2287
- data/documentation/_build/html/_static/bootstrap-2.3.2/js/bootstrap.min.js +0 -6
- data/documentation/_build/html/_static/bootstrap-3.3.4/css/bootstrap-theme.css +0 -476
- data/documentation/_build/html/_static/bootstrap-3.3.4/css/bootstrap-theme.css.map +0 -1
- data/documentation/_build/html/_static/bootstrap-3.3.4/css/bootstrap-theme.min.css +0 -5
- data/documentation/_build/html/_static/bootstrap-3.3.4/css/bootstrap.css +0 -6584
- data/documentation/_build/html/_static/bootstrap-3.3.4/css/bootstrap.css.map +0 -1
- data/documentation/_build/html/_static/bootstrap-3.3.4/css/bootstrap.min.css +0 -5
- 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 +0 -288
- 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 +0 -2317
- data/documentation/_build/html/_static/bootstrap-3.3.4/js/bootstrap.min.js +0 -7
- data/documentation/_build/html/_static/bootstrap-3.3.4/js/npm.js +0 -13
- data/documentation/_build/html/_static/bootstrap-sphinx.css +0 -186
- data/documentation/_build/html/_static/bootstrap-sphinx.js +0 -162
- data/documentation/_build/html/_static/bootswatch-2.3.2/amelia/bootstrap.min.css +0 -9
- data/documentation/_build/html/_static/bootswatch-2.3.2/cerulean/bootstrap.min.css +0 -9
- data/documentation/_build/html/_static/bootswatch-2.3.2/cosmo/bootstrap.min.css +0 -9
- data/documentation/_build/html/_static/bootswatch-2.3.2/cyborg/bootstrap.min.css +0 -9
- data/documentation/_build/html/_static/bootswatch-2.3.2/flatly/bootstrap.min.css +0 -9
- 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 +0 -9
- data/documentation/_build/html/_static/bootswatch-2.3.2/readable/bootstrap.min.css +0 -9
- data/documentation/_build/html/_static/bootswatch-2.3.2/simplex/bootstrap.min.css +0 -9
- data/documentation/_build/html/_static/bootswatch-2.3.2/slate/bootstrap.min.css +0 -9
- data/documentation/_build/html/_static/bootswatch-2.3.2/spacelab/bootstrap.min.css +0 -9
- data/documentation/_build/html/_static/bootswatch-2.3.2/spruce/bootstrap.min.css +0 -9
- data/documentation/_build/html/_static/bootswatch-2.3.2/superhero/bootstrap.min.css +0 -9
- data/documentation/_build/html/_static/bootswatch-2.3.2/united/bootstrap.min.css +0 -9
- data/documentation/_build/html/_static/bootswatch-3.3.4/cerulean/bootstrap.min.css +0 -7
- data/documentation/_build/html/_static/bootswatch-3.3.4/cosmo/bootstrap.min.css +0 -7
- data/documentation/_build/html/_static/bootswatch-3.3.4/custom/bootstrap.min.css +0 -7
- data/documentation/_build/html/_static/bootswatch-3.3.4/cyborg/bootstrap.min.css +0 -7
- data/documentation/_build/html/_static/bootswatch-3.3.4/darkly/bootstrap.min.css +0 -7
- data/documentation/_build/html/_static/bootswatch-3.3.4/flatly/bootstrap.min.css +0 -7
- 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 +0 -288
- 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 +0 -7
- data/documentation/_build/html/_static/bootswatch-3.3.4/lumen/bootstrap.min.css +0 -7
- data/documentation/_build/html/_static/bootswatch-3.3.4/paper/bootstrap.min.css +0 -7
- data/documentation/_build/html/_static/bootswatch-3.3.4/readable/bootstrap.min.css +0 -7
- data/documentation/_build/html/_static/bootswatch-3.3.4/sandstone/bootstrap.min.css +0 -7
- data/documentation/_build/html/_static/bootswatch-3.3.4/simplex/bootstrap.min.css +0 -7
- data/documentation/_build/html/_static/bootswatch-3.3.4/slate/bootstrap.min.css +0 -7
- data/documentation/_build/html/_static/bootswatch-3.3.4/spacelab/bootstrap.min.css +0 -7
- data/documentation/_build/html/_static/bootswatch-3.3.4/superhero/bootstrap.min.css +0 -7
- data/documentation/_build/html/_static/bootswatch-3.3.4/united/bootstrap.min.css +0 -7
- data/documentation/_build/html/_static/bootswatch-3.3.4/yeti/bootstrap.min.css +0 -7
- 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/debug_app.png +0 -0
- data/documentation/_build/html/_static/debug_debug.png +0 -0
- data/documentation/_build/html/_static/debug_flag.png +0 -0
- data/documentation/_build/html/_static/debug_map.png +0 -0
- data/documentation/_build/html/_static/debug_path.png +0 -0
- data/documentation/_build/html/_static/doctools.js +0 -263
- data/documentation/_build/html/_static/dot.png +0 -0
- data/documentation/_build/html/_static/dotP.png +0 -0
- data/documentation/_build/html/_static/dotPC.png +0 -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/eclipse.png +0 -0
- data/documentation/_build/html/_static/emacs.png +0 -0
- data/documentation/_build/html/_static/file.png +0 -0
- data/documentation/_build/html/_static/jquery-1.11.1.js +0 -10308
- data/documentation/_build/html/_static/jquery.js +0 -4
- data/documentation/_build/html/_static/js/jquery-1.11.0.min.js +0 -4
- data/documentation/_build/html/_static/js/jquery-fix.js +0 -2
- data/documentation/_build/html/_static/keys.png +0 -0
- data/documentation/_build/html/_static/logo_tiny_32.ico +0 -0
- data/documentation/_build/html/_static/logo_tiny_48.png +0 -0
- data/documentation/_build/html/_static/minus.png +0 -0
- data/documentation/_build/html/_static/misra.png +0 -0
- data/documentation/_build/html/_static/notepad.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 +0 -63
- data/documentation/_build/html/_static/roboto.css +0 -112
- data/documentation/_build/html/_static/searchtools.js +0 -622
- data/documentation/_build/html/_static/syntax.html +0 -753
- data/documentation/_build/html/_static/syntax_collection_meta.html +0 -179
- data/documentation/_build/html/_static/underscore-1.3.1.js +0 -999
- data/documentation/_build/html/_static/underscore.js +0 -31
- data/documentation/_build/html/_static/up-pressed.png +0 -0
- data/documentation/_build/html/_static/up.png +0 -0
- data/documentation/_build/html/_static/vim.png +0 -0
- data/documentation/_build/html/_static/visualstudio-pro.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 +0 -808
- data/documentation/_build/html/changelog.html +0 -1178
- data/documentation/_build/html/commandline/commandline.html +0 -286
- data/documentation/_build/html/concepts/build_hierarchy.html +0 -205
- data/documentation/_build/html/concepts/concepts.html +0 -197
- data/documentation/_build/html/concepts/inject.html +0 -217
- data/documentation/_build/html/concepts/link_order.html +0 -246
- data/documentation/_build/html/concepts/prebuild.html +0 -206
- data/documentation/_build/html/concepts/the_main_project.html +0 -261
- data/documentation/_build/html/concepts/the_project_meta_file.html +0 -289
- data/documentation/_build/html/genindex.html +0 -153
- data/documentation/_build/html/ide/eclipse/eclipse.html +0 -187
- data/documentation/_build/html/ide/eclipse/how_to_convert_existing_cdt_workspace.html +0 -209
- data/documentation/_build/html/ide/eclipse/how_to_create_a_new_project_in_eclipse.html +0 -192
- data/documentation/_build/html/ide/eclipse/how_to_create_a_workspace_in_eclipse.html +0 -199
- data/documentation/_build/html/ide/eclipse/how_to_debug_in_eclipse.html +0 -199
- data/documentation/_build/html/ide/eclipse/how_to_install_eclipse_plugin.html +0 -197
- data/documentation/_build/html/ide/eclipse/how_to_use_bake_in_eclipse.html +0 -257
- data/documentation/_build/html/ide/ide_integrations.html +0 -186
- data/documentation/_build/html/ide/vs/how_to_create_vs_projects.html +0 -172
- data/documentation/_build/html/ide/vs/how_to_debug_in_vs.html +0 -186
- data/documentation/_build/html/ide/vs/how_to_used_bake_in_vs.html +0 -191
- data/documentation/_build/html/ide/vs/vs.html +0 -171
- data/documentation/_build/html/ide/vs/vs_install.html +0 -203
- data/documentation/_build/html/index.html +0 -247
- data/documentation/_build/html/install/install_bake.html +0 -280
- data/documentation/_build/html/internal.html +0 -218
- data/documentation/_build/html/known_issues.html +0 -174
- data/documentation/_build/html/license.html +0 -237
- data/documentation/_build/html/objects.inv +0 -0
- data/documentation/_build/html/performance/performance.html +0 -374
- data/documentation/_build/html/quickstart/quickstart.html +0 -237
- data/documentation/_build/html/search.html +0 -175
- data/documentation/_build/html/searchindex.js +0 -1
- data/documentation/_build/html/syntax/adapt_configs.html +0 -389
- data/documentation/_build/html/syntax/auto_adjustment.html +0 -190
- data/documentation/_build/html/syntax/derive_configs.html +0 -248
- data/documentation/_build/html/syntax/project_meta_syntax.html +0 -934
- data/documentation/_build/html/syntax/syntax.html +0 -198
- data/documentation/_build/html/syntax/variable_substitutions.html +0 -366
- data/documentation/_build/html/tips_and_tricks/bakeclean.html +0 -170
- data/documentation/_build/html/tips_and_tricks/dot.html +0 -187
- data/documentation/_build/html/tips_and_tricks/how_to_use_bake_with_cygwin.html +0 -215
- data/documentation/_build/html/tips_and_tricks/qac.html +0 -298
- data/documentation/_build/html/tips_and_tricks/the_bakery.html +0 -406
- data/documentation/_build/html/tips_and_tricks/the_clang.html +0 -202
- data/documentation/_build/html/tips_and_tricks/tips_and_tricks.html +0 -199
- data/documentation/_build/html/why_bake/why_bake.html +0 -242
|
@@ -1,109 +0,0 @@
|
|
|
1
|
-
Commandline
|
|
2
|
-
===========
|
|
3
|
-
|
|
4
|
-
How to get help
|
|
5
|
-
***************
|
|
6
|
-
|
|
7
|
-
.. code-block:: console
|
|
8
|
-
|
|
9
|
-
User@Host:~$ bake -h
|
|
10
|
-
|
|
11
|
-
The most important options
|
|
12
|
-
**************************
|
|
13
|
-
|
|
14
|
-
#. *-b* the build configuration name
|
|
15
|
-
|
|
16
|
-
#. *-m* the main project directory (default is current directory)
|
|
17
|
-
|
|
18
|
-
#. *-p* the project to build (if not specified, the main project will be built with all dependencies)
|
|
19
|
-
|
|
20
|
-
.. note::
|
|
21
|
-
|
|
22
|
-
All configs of the project will be built, which is usually just one config, but if you have more than one config of the project in the workspace, use a comma separator.
|
|
23
|
-
|
|
24
|
-
Examples
|
|
25
|
-
********
|
|
26
|
-
|
|
27
|
-
Building an application
|
|
28
|
-
-----------------------
|
|
29
|
-
|
|
30
|
-
.. code-block:: console
|
|
31
|
-
|
|
32
|
-
User@Host:~$ bake -b Debug
|
|
33
|
-
|
|
34
|
-
.. note::
|
|
35
|
-
|
|
36
|
-
It is possible to omit *-b*:
|
|
37
|
-
|
|
38
|
-
.. code-block:: console
|
|
39
|
-
|
|
40
|
-
User@Host:~$ bake Debug
|
|
41
|
-
|
|
42
|
-
Building from within an arbitrary directory
|
|
43
|
-
-------------------------------------------
|
|
44
|
-
|
|
45
|
-
.. code-block:: console
|
|
46
|
-
|
|
47
|
-
User@Host:~$ bake Debug -m w:/root/mainProj
|
|
48
|
-
|
|
49
|
-
Building just one specific project
|
|
50
|
-
-----------------------------------
|
|
51
|
-
Assuming the project name to build s myProj.
|
|
52
|
-
|
|
53
|
-
.. code-block:: console
|
|
54
|
-
|
|
55
|
-
User@Host:~$ bake Debug -m w:/root1/myProj -p myProj
|
|
56
|
-
|
|
57
|
-
Building specific projects with differnt roots
|
|
58
|
-
----------------------------------------------
|
|
59
|
-
Assuming mainProj has several configs really included in the build (which is uncommon), you can choose one of the configs.
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
.. code-block:: console
|
|
63
|
-
|
|
64
|
-
User@Host:~$ bake Debug -m w:/root1/myProj -p myProj,abc
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
Building a project which has more than one root
|
|
68
|
-
-----------------------------------------------
|
|
69
|
-
Assuming code has been checked out into two roots, the console supports ansi colors, you want to stop on first error and build only the project bspAbc.
|
|
70
|
-
|
|
71
|
-
.. code-block:: console
|
|
72
|
-
|
|
73
|
-
User@Host:~$ bake Debug -m w:/root1/myProj -w w:/root1 -w w:/root2 -r -a black -p bspAbc
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
Clean a project(s)
|
|
77
|
-
------------------
|
|
78
|
-
|
|
79
|
-
.. code-block:: console
|
|
80
|
-
|
|
81
|
-
User@Host:~$ bake Debug -m w:/root1/myProj -w w:/root1 -w w:/root2 -r -a black -p bspAbc -c
|
|
82
|
-
|
|
83
|
-
Build a single file(s)
|
|
84
|
-
----------------------
|
|
85
|
-
.. code-block:: console
|
|
86
|
-
|
|
87
|
-
User@Host:~$ bake Debug -p bspAbc -f main.cpp
|
|
88
|
-
User@Host:~$ bake Debug -f .asm
|
|
89
|
-
|
|
90
|
-
.. note::
|
|
91
|
-
|
|
92
|
-
All files matching the pattern will be compiled (no wildcards allowed)
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
roots.bake
|
|
96
|
-
**********
|
|
97
|
-
|
|
98
|
-
Workspace roots can be defined in a file called "roots.bake", which will be searched from main project directory to root folder.
|
|
99
|
-
Example:
|
|
100
|
-
|
|
101
|
-
.. code-block:: console
|
|
102
|
-
|
|
103
|
-
../..
|
|
104
|
-
C:/another/root # comments written like this
|
|
105
|
-
something/else
|
|
106
|
-
|
|
107
|
-
If -w and roots.bake are specified, they will be merged. First -w, then roots.bake.
|
|
108
|
-
|
|
109
|
-
If -w and roots.bake are not specified, the default workspace root is the parent directory of the main project.
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
The build hierarchy
|
|
2
|
-
===================
|
|
3
|
-
|
|
4
|
-
Build graph
|
|
5
|
-
***********
|
|
6
|
-
|
|
7
|
-
Depending on the contents of the Project.meta files, a build graph will be generated:
|
|
8
|
-
* An ExecutableConfig usually specifies files to compile, dependencies to other projects and linker stuff.
|
|
9
|
-
* A LibraryConfig usually specifies files to compile and archive.
|
|
10
|
-
* A CustomConfig usually defines a custom step.
|
|
11
|
-
|
|
12
|
-
Every config type can be equipped with pre and post steps like shell commands or makefiles.
|
|
13
|
-
|
|
14
|
-
All these steps will be combined to a build graph.
|
|
15
|
-
|
|
16
|
-
Example
|
|
17
|
-
*******
|
|
18
|
-
|
|
19
|
-
The main project has dependencies to the projects A, B and C:
|
|
20
|
-
|
|
21
|
-
.. image:: ../_static/bake_build_hierachy.png
|
|
22
|
-
:width: 100 %
|
|
23
|
-
:scale: 75 %
|
|
24
|
-
|
|
25
|
-
Steps are executed bottom-up. If one step fails, all steps above won't be executed.
|
|
26
|
-
|
|
27
|
-
If e.g.
|
|
28
|
-
* PreStepMain 2 fails
|
|
29
|
-
* at least one file of library B does not compile
|
|
30
|
-
then
|
|
31
|
-
* library B will not be created
|
|
32
|
-
* files of the main project will not be compiled
|
|
33
|
-
* main project will not be linked
|
|
34
|
-
* post step of main project will not be executed
|
|
@@ -1,65 +0,0 @@
|
|
|
1
|
-
Injection and inheritance of IncludeDir and Dependency
|
|
2
|
-
******************************************************
|
|
3
|
-
|
|
4
|
-
It is possible to inject and inherit "includes" and inject "dependencies".
|
|
5
|
-
|
|
6
|
-
Inherit IncludeDir
|
|
7
|
-
==================
|
|
8
|
-
|
|
9
|
-
.. code-block:: console
|
|
10
|
-
|
|
11
|
-
IncludeDir include, inherit: true
|
|
12
|
-
|
|
13
|
-
This is typically used to make include directories available to upper levels, e.g.:
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
.. code-block:: console
|
|
17
|
-
|
|
18
|
-
# in MyLib/Project.meta
|
|
19
|
-
LibraryConfig Lib {
|
|
20
|
-
...
|
|
21
|
-
IncludeDir include, inherit: true
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
# in main/Project.meta
|
|
25
|
-
ExecutableConfig Debug {
|
|
26
|
-
...
|
|
27
|
-
Dependency MyLib, config: Lib
|
|
28
|
-
# IncludeDir "MyLib/include" - not needed because this IncludeDir is inherited
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
Inject IncludeDir
|
|
32
|
-
=================
|
|
33
|
-
|
|
34
|
-
.. code-block:: console
|
|
35
|
-
|
|
36
|
-
IncludeDir "mock/include", inject: front
|
|
37
|
-
|
|
38
|
-
"front" is used for mocking IncludeDirs, e.g. if a library shall include a mocked class instead of the original one in UnitTest context.
|
|
39
|
-
|
|
40
|
-
.. code-block:: console
|
|
41
|
-
|
|
42
|
-
IncludeDir include, inject: back
|
|
43
|
-
|
|
44
|
-
"back" is used if the lower levels do not know by themselves what to include. So this has to be configured from the outside, typically in the main project.
|
|
45
|
-
|
|
46
|
-
Inject Dependency
|
|
47
|
-
=================
|
|
48
|
-
|
|
49
|
-
.. code-block:: console
|
|
50
|
-
|
|
51
|
-
Dependency MyLib, inject: front # or back
|
|
52
|
-
|
|
53
|
-
This is used if a component cannot have this dependency hard coded, because it shall not know the concrete implementation or the dependency is only used for unittesting.
|
|
54
|
-
|
|
55
|
-
Example:
|
|
56
|
-
|
|
57
|
-
.. code-block:: console
|
|
58
|
-
|
|
59
|
-
ExecutableConfig UnitTest {
|
|
60
|
-
...
|
|
61
|
-
Dependency config: Lib
|
|
62
|
-
Dependency googleTest, inject: front
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
In this example the config Lib depends on googleTest. If googleTest inherits an IncludeDir, this would be known by Lib.
|
|
@@ -1,91 +0,0 @@
|
|
|
1
|
-
The link order
|
|
2
|
-
==============
|
|
3
|
-
|
|
4
|
-
The link order depends on the order of library definitions and dependencies in the Project.meta files.
|
|
5
|
-
|
|
6
|
-
In general, if a library X depends on a library Y, the library X must be linked before Y.
|
|
7
|
-
|
|
8
|
-
Example:
|
|
9
|
-
********
|
|
10
|
-
|
|
11
|
-
.. code-block:: console
|
|
12
|
-
|
|
13
|
-
Project A:
|
|
14
|
-
|
|
15
|
-
Dependency B
|
|
16
|
-
Dependency C
|
|
17
|
-
|
|
18
|
-
.. code-block:: console
|
|
19
|
-
|
|
20
|
-
Project B:
|
|
21
|
-
|
|
22
|
-
Dependency D
|
|
23
|
-
|
|
24
|
-
.. code-block:: console
|
|
25
|
-
|
|
26
|
-
Project C:
|
|
27
|
-
|
|
28
|
-
Dependency D
|
|
29
|
-
|
|
30
|
-
.. code-block:: console
|
|
31
|
-
|
|
32
|
-
Project D:
|
|
33
|
-
|
|
34
|
-
The link order will be
|
|
35
|
-
|
|
36
|
-
- Objects of A
|
|
37
|
-
- B
|
|
38
|
-
- C
|
|
39
|
-
- D
|
|
40
|
-
|
|
41
|
-
Same example but with external libraries:
|
|
42
|
-
*****************************************
|
|
43
|
-
|
|
44
|
-
.. code-block:: console
|
|
45
|
-
|
|
46
|
-
Project A:
|
|
47
|
-
|
|
48
|
-
ExternalLibrary a1
|
|
49
|
-
Dependency B
|
|
50
|
-
ExternalLibrary a2
|
|
51
|
-
Dependency C
|
|
52
|
-
ExternalLibrary a3
|
|
53
|
-
|
|
54
|
-
.. code-block:: console
|
|
55
|
-
|
|
56
|
-
Project B:
|
|
57
|
-
|
|
58
|
-
ExternalLibrary b1
|
|
59
|
-
Dependency D
|
|
60
|
-
ExternalLibrary b2
|
|
61
|
-
|
|
62
|
-
.. code-block:: console
|
|
63
|
-
|
|
64
|
-
Project C:
|
|
65
|
-
|
|
66
|
-
ExternalLibrary c1
|
|
67
|
-
Dependency D
|
|
68
|
-
ExternalLibrary c2
|
|
69
|
-
|
|
70
|
-
.. code-block:: console
|
|
71
|
-
|
|
72
|
-
Project D:
|
|
73
|
-
|
|
74
|
-
ExternalLibrary d1
|
|
75
|
-
ExternalLibrary d2
|
|
76
|
-
|
|
77
|
-
The link order will be
|
|
78
|
-
|
|
79
|
-
- Objects of A
|
|
80
|
-
- a1
|
|
81
|
-
- B
|
|
82
|
-
- b1
|
|
83
|
-
- b2
|
|
84
|
-
- a2
|
|
85
|
-
- C
|
|
86
|
-
- c1
|
|
87
|
-
- D
|
|
88
|
-
- d1
|
|
89
|
-
- d2
|
|
90
|
-
- c2
|
|
91
|
-
- a3
|
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
Prebuild configurations for distributions
|
|
2
|
-
*****************************************
|
|
3
|
-
|
|
4
|
-
This is a useful feature if you want to make a part of workspace available for third party without changing the configuration.
|
|
5
|
-
|
|
6
|
-
There are two major use cases:
|
|
7
|
-
|
|
8
|
-
- Only a few projects shall be closed source (e.g. to hide some algorithms)
|
|
9
|
-
- Only a few projects shall be open source (e.g. if a supplier has integrate a library)
|
|
10
|
-
|
|
11
|
-
Both is possible with bake, but the current UI is optimized for the latter one.
|
|
12
|
-
|
|
13
|
-
Add in the Project.meta the following code:
|
|
14
|
-
|
|
15
|
-
.. code-block:: console
|
|
16
|
-
|
|
17
|
-
Prebuild {
|
|
18
|
-
Except main, config: Debug
|
|
19
|
-
Except newLib, config: Debug
|
|
20
|
-
Except setup, config: Release
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
It is possible to specify the Prebuild tags in all configurations, not only in the main configuration. Logically they will be merged.
|
|
24
|
-
|
|
25
|
-
In the example above, no configurations will be built - except those three. The prebuild output is used directly.
|
|
26
|
-
|
|
27
|
-
To reference a configuration of the same project, omit the project name, e.g.:
|
|
28
|
-
|
|
29
|
-
.. code-block:: console
|
|
30
|
-
|
|
31
|
-
Except config: Base
|
|
32
|
-
|
|
33
|
-
To reference all configuration of a project, omit the config name, e.g.:
|
|
34
|
-
|
|
35
|
-
.. code-block:: console
|
|
36
|
-
|
|
37
|
-
Except newLib
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
This prebuild behaviour must be explicitly turned on by using the following the command line argument:
|
|
41
|
-
|
|
42
|
-
.. code-block:: console
|
|
43
|
-
|
|
44
|
-
--prebuild
|
|
45
|
-
|
|
46
|
-
Note, that if objects files exist, the library will be built from existing object files (glob for \*.o in appropriate build folder). If only the archive exists, the archive will be used without building it.
|
|
47
|
-
|
|
48
|
-
Typical workflow
|
|
49
|
-
----------------
|
|
50
|
-
|
|
51
|
-
1. Compiling the workspace completely without prebuild feature.
|
|
52
|
-
2. Executing a distribution script which copies all relevant files to a distribution directory.
|
|
53
|
-
Make sure to add all header files of prebuild libraries if they are needed for other non-prebuild libraries.
|
|
54
|
-
You may use the dependency files in the output directory for that script.
|
|
55
|
-
3. In the distribution folder use "--prebuild" when compiling the workspace.
|
|
56
|
-
|
|
57
|
-
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
The main project
|
|
2
|
-
================
|
|
3
|
-
The concept of the main project is different to many other build systems like Eclipse CDT.
|
|
4
|
-
In these build systems everything which is needed for a project is configured in the project itself.
|
|
5
|
-
In bake the main project can predefine stuff for all subprojects.
|
|
6
|
-
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.
|
|
7
|
-
|
|
8
|
-
Projects are always built in context of the main project.
|
|
9
|
-
|
|
10
|
-
To build a project, you have to specify
|
|
11
|
-
|
|
12
|
-
* the main project
|
|
13
|
-
* the config of the main project which references the project to build
|
|
14
|
-
* the (sub)project to build if applicable
|
|
15
|
-
|
|
16
|
-
Advantages
|
|
17
|
-
**********
|
|
18
|
-
|
|
19
|
-
Reducing the number of build configurations (toolchain settings like debug or release flags can be set outside of the project)
|
|
20
|
-
Most projects do not have any compiler definitions anymore
|
|
21
|
-
Only flags which must be used or flags which must not be used have to be specified in the projects
|
|
22
|
-
Changing compiler definitions for all projects can be done easily in the main project build configuration
|
|
23
|
-
|
|
24
|
-
Example
|
|
25
|
-
*******
|
|
26
|
-
|
|
27
|
-
============================================== ==============================================
|
|
28
|
-
Project.meta of Main (Debug and Release) Project.meta of Sub (only one build config!)
|
|
29
|
-
============================================== ==============================================
|
|
30
|
-
.. literalinclude:: ../_static/Main.meta .. literalinclude:: ../_static/Lib.meta
|
|
31
|
-
============================================== ==============================================
|
|
32
|
-
|
|
33
|
-
.. note::
|
|
34
|
-
|
|
35
|
-
A main project must have a DefaultToolchain - but it's allowed to leave that definition empty.
|
|
36
|
-
|
|
37
|
-
Output directory
|
|
38
|
-
****************
|
|
39
|
-
|
|
40
|
-
A project in a specific build configuration can be build in different contexts.
|
|
41
|
-
That's why the output directory of a project cannot be simply the build configuration name of the project to avoid inconsistencies.
|
|
42
|
-
Therefore the output directory names are.
|
|
43
|
-
|
|
44
|
-
* Main project: $(MainConfigName) like in regular Eclipse CDT builds
|
|
45
|
-
* Subprojects: $(MainConfigName)_$(MainProjectName) instead of the config name of the subproject
|
|
@@ -1,72 +0,0 @@
|
|
|
1
|
-
The Project.meta file
|
|
2
|
-
=====================
|
|
3
|
-
|
|
4
|
-
What is the Project.meta file
|
|
5
|
-
*****************************
|
|
6
|
-
The `Project.meta` file is bakes configuration file.
|
|
7
|
-
|
|
8
|
-
* Every project has a Project.meta file in the project root directory.
|
|
9
|
-
* A Project.meta file contains one or more build configurations.
|
|
10
|
-
* A build configuration consists of toolchain settings, files to build, custom steps, etc.
|
|
11
|
-
|
|
12
|
-
Example
|
|
13
|
-
*******
|
|
14
|
-
|
|
15
|
-
============================================= =============================================
|
|
16
|
-
Project.meta file of Main project Project.meta file of Sub project
|
|
17
|
-
============================================= =============================================
|
|
18
|
-
.. literalinclude:: ../_static/PMetaMain.meta .. literalinclude:: ../_static/PMetaSub.meta
|
|
19
|
-
============================================= =============================================
|
|
20
|
-
|
|
21
|
-
Let's assume that Main and Sub are located in the same workspace root.
|
|
22
|
-
To build the executable, bake can be called from the Main directory.
|
|
23
|
-
|
|
24
|
-
.. code-block:: console
|
|
25
|
-
|
|
26
|
-
User@Host:~/my_project$ bake -b Debug
|
|
27
|
-
|
|
28
|
-
What happens now?
|
|
29
|
-
|
|
30
|
-
#. Reading Project.meta of Main
|
|
31
|
-
#. Reading Project.meta of dependencies (Sub)
|
|
32
|
-
#. Compiling sources of Sub, e.g.:
|
|
33
|
-
.. code-block:: console
|
|
34
|
-
|
|
35
|
-
User@Host:~$ g++ -c -Wall -g3 -Iinclude -I../Main/include -o Debug_Main/src/xy.o src/xy.cpp
|
|
36
|
-
|
|
37
|
-
* Wall is taken from the DefaultToolchain and -g3 is added by the toolchain of the Sub project.
|
|
38
|
-
|
|
39
|
-
* The include path to Main is automatically adjusted.
|
|
40
|
-
|
|
41
|
-
* The order of includes is the same as in Project.meta.
|
|
42
|
-
|
|
43
|
-
* g++, -c and -I are used, because GCC was specified in the DefaultToolchain.
|
|
44
|
-
|
|
45
|
-
#. Archiving the library, e.g.:
|
|
46
|
-
|
|
47
|
-
.. code-block:: console
|
|
48
|
-
|
|
49
|
-
User@Host:~$ ar -rc Debug_Main/libSub.a Debug_Main/src/xy.o
|
|
50
|
-
|
|
51
|
-
#. Compiling sources of Main, e.g.:
|
|
52
|
-
|
|
53
|
-
.. code-block:: console
|
|
54
|
-
|
|
55
|
-
User@Host:~$ g++ -c -Wall -Iinclude -o Debug/src/main.o src/main.cpp
|
|
56
|
-
|
|
57
|
-
#. Linking executable, e.g.:
|
|
58
|
-
|
|
59
|
-
.. code-block:: console
|
|
60
|
-
|
|
61
|
-
User@Host:~$ g++ -o Debug/Main.exe Debug/src/main.o ../Sub/Debug_Main/libSub.a -L../Sub/lib -la -lb
|
|
62
|
-
|
|
63
|
-
The library search paths and libraries are added in the specified order.
|
|
64
|
-
|
|
65
|
-
#. Executing the post step
|
|
66
|
-
|
|
67
|
-
.. code-block:: console
|
|
68
|
-
|
|
69
|
-
User@Host:~$ echo Main.exe built.
|
|
70
|
-
|
|
71
|
-
The variable was automatically substituted.
|
|
72
|
-
|